summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2015-01-16 17:08:48 +0100
committerFrancois Ferrand <thetypz@gmail.com>2015-01-16 17:13:36 +0100
commit969d60ab416c075db27f7a0247f0c48ab519afa6 (patch)
tree5612bf783866291a24f7c5af913cbd584f7b7137 /config.default.php
parentfd22b955751075e4a69df9c1d24995f15b991be7 (diff)
Add Json API to create LDAP user.
This allows setting up permissions before the LDAP users actually connect to Kanboard, and even importing the permissions from other tools.
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.default.php b/config.default.php
index ed1d5fd8..c9a5d8a7 100644
--- a/config.default.php
+++ b/config.default.php
@@ -74,6 +74,11 @@ 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');
+
// Enable/disable Google authentication
define('GOOGLE_AUTH', false);