aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-26 19:45:00 +0100
committerGravatar Joe Banks <[email protected]>2024-07-26 19:45:00 +0100
commit3c8d87f66024687439ff40ca664a16135a57ba3f (patch)
treed5bf1bef36f9d91ba106bb5bd793fc80fcc77736
parentDocument installing the LDAP group of dependencies and enabling LDAP (diff)
Add new flag for enabling LDAP functionality
-rw-r--r--arthur/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/arthur/config.py b/arthur/config.py
index 692957a..80e4825 100644
--- a/arthur/config.py
+++ b/arthur/config.py
@@ -34,6 +34,8 @@ class Config(
#
# FreeIPA accesses are generated off this information
+ enable_ldap: bool = False
+
ldap_host: pydantic.AnyUrl
ldap_bind_user: str = "uid=kingarthur,cn=users,cn=accounts,dc=box,dc=pydis,dc=wtf"
ldap_bind_password: pydantic.SecretStr