3 // Warning: Don't change this file! It only holds the default config values for this addon.
4 // Instead overwrite these config values in config/addon.config.php in your Friendica directory
8 // ldap_server (String)
9 // ldap hostname server - required
10 // Example: ldap_server = host.example.com
13 // ldap_binddn (String)
14 // admin dn - optional - only if ldap server dont have anonymous access
15 // Example: ldap_binddn = cn=admin,dc=example,dc=com
18 // ldap_bindpw (String)
19 // admin password - optional - only if ldap server dont have anonymous access
22 // ldap_searchdn (String)
23 // dn to search users - required
24 // Example: ldap_searchdn = ou=users,dc=example,dc=com
25 'ldap_searchdn' => '',
27 // ldap_userattr (String)
28 // attribute to find username - required
29 // Example: ldap_userattr = uid
30 'ldap_userattr' => '',
32 // ldap_group (String)
33 // DN of the group whose member can auth on Friendica - optional
36 // ldap_autocreateaccount (Boolean)
37 // To create Friendica account if user exists in ldap
38 // Requires an email and a simple (beautiful) nickname on user ldap object
39 // active account creation - optional - default true
40 'ldap_autocreateaccount' => true,
42 // ldap_autocreateaccount_emailattribute (String)
43 // attribute to get email - optional - default : 'mail'
44 'ldap_autocreateaccount_emailattribute' => 'mail',
46 // ldap_autocreateaccount_nameattribute (String)
47 // attribute to get nickname - optional - default : 'givenName'
48 'ldap_autocreateaccount_nameattribute' => 'givenName',