Various tidyups, show some more defaults, make a bit more current.

This commit is contained in:
Andrew Ruthven 2024-02-03 20:42:23 +13:00
parent 146ab4d068
commit b0d01264e0

View File

@ -680,28 +680,36 @@ $c->admin_email = 'calendar-admin@example.com';
// /* Use URI to set one or more LDAP servers to connect to for
// * redundancy. Also supports ldaps.
// * If no URI string is set, host and port can be used */
// 'uri' => 'ldaps://hostname:port ldap://hostname2:port2'
// 'uri' => 'ldaps://hostname:port ldap://hostname2:port2'
// 'host' => 'ldap.example.net', // host name of your LDAP Server
// 'port' => '389', // port
/* For the initial bind to be anonymous leave bindDN and passDN
* commented out */
// DN and password if required to bind to this server for initial queries
// 'bindDN' => 'cn=manager,cn=internal,dc=example,dc=net',
// 'bindDN' => 'cn=calendar-manager,ou=users,dc=example,dc=net',
// 'passDN' => 'xxxxxxxx',
// 'protocolVersion' => '3', // version of LDAP protocol to use
// 'optReferrals' => 0, // whether to automatically follow referrals
// // returned by the LDAP server
// 'networkTimeout' => 10, // timeout in seconds
// 'baseDNUsers' => 'dc=example,dc=net', // where to look at valid user
/* filter which must validate a user according to RFC4515, i.e.
* surrounded by brackets. Default is (objectClass=*) */
// 'filterUsers' => 'objectClass=kolabInetOrgPerson',
/* where to look for users */
// 'baseDNUsers' => 'ou=users,dc=example,dc=net',
/* filter which must validate a user according to RFC4515, i.e.
* surrounded by brackets. Default is (objectClass=*). You
* should check what objectClass is used for your user accounts */
// 'filterUsers' => 'objectClass=Person',
/* where to look for groups */
// 'baseDNGroups' => 'ou=divisions,dc=example,dc=net',
/* filter with same rules as filterUsers, and the same default. */
// 'filterGroups' => 'objectClass=groupOfUniqueNames',
/* filter with same rules as filterUsers, and the same default. You
* should check what is used for your groups. */
// 'filterGroups' => 'objectClass=groupOfNames',
/* /!\ "username" should be set and "modified" must be set
* used to create the user based on their ldap properties */
// 'user_mapping_field' => array(
@ -710,6 +718,7 @@ $c->admin_email = 'calendar-admin@example.com';
// "fullname" => "cn",
// "email" => "mail"
// ),
/* used to create the group based on the ldap properties */
// 'group_mapping_field' => array(
// "name" => "cn",