diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-19 16:26:07 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-19 16:26:07 -0700 |
commit | be2ac5f1c936f17e2879636ac9e913f0e4c4ad02 (patch) | |
tree | ec9d553677c62cf729c8405cc0820e275dc925d9 /config.default.php | |
parent | 4b1bb1e83b0e76dcaf00a45d3a447fc020dbd5c0 (diff) |
Add multiple LDAP binding type
Diffstat (limited to 'config.default.php')
-rw-r--r-- | config.default.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config.default.php b/config.default.php index 6206f37e..89ba033e 100644 --- a/config.default.php +++ b/config.default.php @@ -55,10 +55,14 @@ define('LDAP_PORT', 389); // By default, require certificate to be verified for ldaps:// style URL. Set to false to skip the verification. define('LDAP_SSL_VERIFY', true); -// LDAP username to connect with. NULL for anonymous bind (by default). +// LDAP bind type: "anonymous", "user" (use the given user/password from the form) and "proxy" (a specific user to browse the LDAP directory) +define('LDAP_BIND_TYPE', 'anonymous'); + +// LDAP username to connect with. null for anonymous bind (by default). +// Or for user bind type, you can use a pattern: %s@kanboard.local define('LDAP_USERNAME', null); -// LDAP password to connect with. NULL for anonymous bind (by default). +// LDAP password to connect with. null for anonymous bind (by default). define('LDAP_PASSWORD', null); // LDAP account base, i.e. root of all user account |