mirror of
https://github.com/YunoHost-Apps/diacamma_ynh.git
synced 2024-09-03 18:26:10 +02:00
24 lines
1.2 KiB
JSON
24 lines
1.2 KiB
JSON
|
{
|
||
|
"LANGUAGE_CODE":"__LANGUAGE__",
|
||
|
"USE_X_FORWARDED_HOST":true,
|
||
|
"FORCE_SCRIPT_NAME":"/__APP__",
|
||
|
"LDAP_SERVERS": [{"host": "127.0.0.1", "port": 389, "use_ssl": false, "get_info": "NONE"}],
|
||
|
"LDAP_ENGINE" : "OpenLDAP",
|
||
|
"LDAP_BIND_USER" : "cn=reader,dc=yunohost,dc=org",
|
||
|
"LDAP_BIND_PASSWORD" : "",
|
||
|
"LDAP_ATTRIBUTES_MAP" : {"username": "uid", "first_name": "cn", "last_name": "sn", "email": "mail"},
|
||
|
"LDAP_SEARCH_BASE" : "ou=users,dc=yunohost,dc=org",
|
||
|
"LDAP_USER_SEARCH_FILTER" : "(&(|(objectclass=posixAccount))(uid=%uid)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
|
||
|
"LDAP_USER_MODEL_USERNAME_FIELD" : "uid",
|
||
|
"LDAP_UNCHECK_USER_ACTIVE" : false,
|
||
|
"LDAP_USE_LDAP_GROUPS" : true,
|
||
|
"LDAP_USE_LDAP_GROUPS_FOR_ADMIN_STAFF_ONLY" : true,
|
||
|
"LDAP_SUPERUSER_GROUPS" : ["permission=cn=__APP__.admins,ou=permission,dc=yunohost,dc=org"],
|
||
|
"LDAP_STAFF_GROUPS" : [],
|
||
|
"LDAP_GROUPS_SEARCH_BASE" : "ou=groups,dc=yunohost,dc=org",
|
||
|
"LDAP_GROUPS_SEARCH_FILTER" : "(&(objectclass=top)(memberUid=*))",
|
||
|
"LDAP_GROUP_MEMBER_ATTRIBUTE" : "memberUid",
|
||
|
"LDAP_GROUPS_MAP" : {},
|
||
|
"LDAP_IGNORED_LOCAL_GROUPS" : [],
|
||
|
"AUTHENTICATION_BACKENDS" : ["django_auth_ldap3_ad.auth.LDAP3ADBackend"]
|
||
|
}
|