diff options
Diffstat (limited to 'instance')
-rw-r--r-- | instance/config.py | 3 | ||||
-rw-r--r-- | instance/sqlite.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/instance/config.py b/instance/config.py index e3362694..42e624cb 100644 --- a/instance/config.py +++ b/instance/config.py @@ -85,7 +85,8 @@ 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 (e.g., undefined), 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)" ) diff --git a/instance/sqlite.py b/instance/sqlite.py index de6aab23..1f8d6206 100644 --- a/instance/sqlite.py +++ b/instance/sqlite.py @@ -78,7 +78,8 @@ 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 (e.g., undefined), 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)" ) |