From 7c2bf746f2790e724b56bb1b05614bd1cd6df2f4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 20 Feb 2015 19:42:27 -0500 Subject: Lowercase LDAP usernames by default for authentication --- docs/ldap-authentication.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') diff --git a/docs/ldap-authentication.markdown b/docs/ldap-authentication.markdown index 0428d8e0..2428194d 100644 --- a/docs/ldap-authentication.markdown +++ b/docs/ldap-authentication.markdown @@ -76,6 +76,15 @@ define('LDAP_ACCOUNT_FULLNAME', 'displayname'); // Name of an attribute of the user account object which should be used as the email of the user. define('LDAP_ACCOUNT_EMAIL', 'mail'); + +// Name of an attribute of the user account object which should be used as the id of the user. +// Example for ActiveDirectory: 'samaccountname' +// Example for OpenLDAP: 'uid' +define('LDAP_ACCOUNT_ID', 'samaccountname'); + +// By default Kanboard lowercase the ldap username to avoid duplicate users (the database is case sensitive) +// Set to true if you want to preserve the case +define('LDAP_USERNAME_CASE_SENSITIVE', false); ``` ### LDAP bind type -- cgit v1.2.3