|
|
|
@ -185,6 +185,7 @@ AUTH_LDAP_USER_DN_TEMPLATE = "uid=%(user)s,ou=People,dc=lug-saar,dc=spc"
@@ -185,6 +185,7 @@ AUTH_LDAP_USER_DN_TEMPLATE = "uid=%(user)s,ou=People,dc=lug-saar,dc=spc"
|
|
|
|
|
AUTH_LDAP_USER_ATTR_MAP = {"first_name": "givenName", "last_name": "sn", "email": "mail"} |
|
|
|
|
AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=group,dc=lug-saar,dc=spc", ldap.SCOPE_SUBTREE) |
|
|
|
|
AUTH_LDAP_GROUP_TYPE = PosixGroupType() |
|
|
|
|
AUTH_LDAP_FIND_GROUP_PERMS = True |
|
|
|
|
AUTH_LDAP_USER_FLAGS_BY_GROUP = { |
|
|
|
|
"is_staff": "cn=cashstaff,ou=group,dc=lug-saar,dc=spc" |
|
|
|
|
} |
|
|
|
|