mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
zzz moar conf fixes ...
This commit is contained in:
parent
2b85035f3e
commit
5d25dfacc7
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ AUTHENTICATION_BACKENDS = (
|
||||||
'django.contrib.auth.backends.ModelBackend',
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
)
|
)
|
||||||
AUTH_LDAP_SERVER_URI = "ldap://localhost:389"
|
AUTH_LDAP_SERVER_URI = "ldap://localhost:389"
|
||||||
AUTH_LDAP_USER_SEARCH = LDAPSearch("uid=YNH_APP_ARG_ADMIN,ou=users,dc=yunohost,dc=org", ldap.SCOPE_SUBTREE, "(uid=%(user)s)")
|
AUTH_LDAP_USER_SEARCH = LDAPSearch("uid={{ admin }},ou=users,dc=yunohost,dc=org", ldap.SCOPE_SUBTREE, "(uid=%(user)s)")
|
||||||
AUTH_LDAP_USER_ATTR_MAP = {
|
AUTH_LDAP_USER_ATTR_MAP = {
|
||||||
"username": "uid",
|
"username": "uid",
|
||||||
"first_name": "givenName",
|
"first_name": "givenName",
|
||||||
|
|
Loading…
Reference in a new issue