aboutsummaryrefslogtreecommitdiff
path: root/instance/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'instance/config.py')
-rw-r--r--instance/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/instance/config.py b/instance/config.py
index af5fe9b9..81453d84 100644
--- a/instance/config.py
+++ b/instance/config.py
@@ -73,7 +73,7 @@ LOG_PATH = "./var/newspipe.log"
SELF_REGISTRATION = True
# Ldap, optional
-LDAP_ENABLED = True
+LDAP_ENABLED = False
LDAP_URI = "ldaps://ipa.internal.com:636"
LDAP_USER_BASE = "cn=users,cn=accounts,dc=ipa,dc=internal,dc=com"
LDAP_GROUP_BASE = "cn=groups,cn=accounts,dc=ipa,dc=internal,dc=com"
@@ -83,5 +83,5 @@ LDAP_USER_ATTRIB_MEMBEROF = "memberof"
LDAP_GROUP_DISPLAY_ATTRIB = "cn"
LDAP_BIND_DN = "uid=sampleuser,cn=users,cn=accounts,dc=ipa,dc=internal,dc=com"
LDAP_BIND_PASSWORD = "examplepassword"
-# Additional filter to restrict user lookup. If not equivalent to False, will be logical-anded to the user-match-attribute search filter.
+# Additional filter to restrict user lookup. If not equivalent to False (e.g., undefined), will be logical-anded to the user-match-attribute search filter.
LDAP_FILTER = "(memberOf=cn=newspipe-users,cn=groups,cn=accounts,dc=ipa,dc=internal,dc=com)"
bgstack15