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