diff --git a/conf/config.json.example b/conf/config.json.example index 8442e68..7582500 100644 --- a/conf/config.json.example +++ b/conf/config.json.example @@ -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" }