From 969d60ab416c075db27f7a0247f0c48ab519afa6 Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Fri, 16 Jan 2015 17:08:48 +0100 Subject: 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. --- config.default.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.default.php') 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); -- cgit v1.2.3