Browse Source

Merge branch 'master' of 13e7git:lugcash2

Conflicts:
	cash/views.py
master
Frederic 11 years ago
parent
commit
2baad10662
  1. 1
      lugcash2/settings.py

1
lugcash2/settings.py

@ -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"
}

Loading…
Cancel
Save