From 1281583d6ee6d3997884a5dfcaa379218168b777 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 28 May 2020 17:54:27 +0200 Subject: [PATCH] Update config.json.example --- conf/config.json.example | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/conf/config.json.example b/conf/config.json.example index 4122137..9a2032c 100644 --- a/conf/config.json.example +++ b/conf/config.json.example @@ -32,11 +32,15 @@ }, "ldap": { "url": "ldap://127.0.0.1:389", - "bindDn": "ou=users,dc=yunohost,dc=org", - "bindCredentials": "", - "searchBase": "dc=internal,dc=example,dc=com", - "searchFilter": "(&(objectcategory=person)(objectclass=user)(|(sAMAccountName={{username}})(mail={{username}})))", + "bindDn": null, + "bindCredentials": null, + "searchBase": "ou=users,dc=yunohost,dc=org", + "searchFilter": "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=codimd.main,ou=permission,dc=yunohost,dc=org))", + "usernameField": "cn", "useridField": "uid" - } + } } -} \ No newline at end of file +} + + +