1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00

add first ldap support

This commit is contained in:
liberodark 2018-11-23 17:09:23 +01:00
parent 615ff5b2f7
commit 2fdd814674

View file

@ -74,14 +74,14 @@
"apiKey": "change this" "apiKey": "change this"
}, },
"ldap": { "ldap": {
"url": "ldap://change_this", "url": "ldap://localhost:389",
"bindDn": null, "bindDn": null,
"bindCredentials": null, "bindCredentials": null,
"searchBase": "change this", "searchBase": "ou=users,dc=yunohost,dc=org",
"searchFilter": "change this", "searchFilter": "(&(|(objectclass=posixAccount))(uid=%uid))",
"searchAttributes": ["change this"], "searchAttributes": ['displayName', 'mail'],
"usernameField": "change this e.g. cn", "usernameField": "cn",
"useridField": "change this e.g. uid", "useridField": "uid",
"tlsOptions": { "tlsOptions": {
"changeme": "See https://nodejs.org/api/tls.html#tls_tls_connect_options_callback" "changeme": "See https://nodejs.org/api/tls.html#tls_tls_connect_options_callback"
} }