summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-07-23 10:47:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-07-23 10:47:22 +0200
commit1925f37b96713bffa30c021944c4bc3031e5f1f6 (patch)
treee3c0ecb5363d25d92e6a01f519ad2ba9cce2f057 /application/config/config.php
parent95e600519a98e593540e6ed41570e4915dba862a (diff)
parentfef3ac527c398d179de57361bf27476c504cc061 (diff)
Merge branch 'raphaelm-patch-1' into dev
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 4f4e868f0..e120beaf6 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -596,7 +596,13 @@ if (extension_loaded("ldap")) {
),
// Please note that php-ldap converts attributes to lowercase
"userid_field" => "uidnumber", // This has to be a unique integer
- "username_field" => "uid" // This is the value the user supplies on the login form
+ "username_field" => "uid", // This is the value the user supplies on the login form
+ // Optional parameters
+ // "bind_rdn" => "uid=search-user,cn=users,dc=example,dc=com", // This is the user used to authenticate for searches
+ // "bind_password" => "***", // This is the password for the search user
+ // You can optionally filter the LDAP users who are allowed to log in using any valid LDAP filter. %s will be replaced
+ // by the user name.
+ // "filter" => "(&(uid=%s)(memberOf=cn=FileBinUsers,cn=groups,dc=example,dc=com))",
);
}