summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorRaphael Michel <mail@raphaelmichel.de>2018-07-22 12:23:49 +0200
committerRaphael Michel <mail@raphaelmichel.de>2018-07-23 09:11:55 +0200
commitfef3ac527c398d179de57361bf27476c504cc061 (patch)
tree9076229158b18a7e5a05610abd2701bbc268c2ff /application/config/config.php
parentf494eee4a3f9b0eb09f6f9d46fb2e6be40a116e6 (diff)
LDAP: Allow optional filtering of allowed users
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 03f3cb74b..e120beaf6 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -600,6 +600,9 @@ if (extension_loaded("ldap")) {
// 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))",
);
}