From 80fc94c4db9917a5444538bc0375882d49bd427a Mon Sep 17 00:00:00 2001 From: MrOnak Date: Tue, 22 Nov 2022 12:13:27 +0100 Subject: [PATCH] example_configs: Add Kanboard --- example_configs/kanboard.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 example_configs/kanboard.md diff --git a/example_configs/kanboard.md b/example_configs/kanboard.md new file mode 100644 index 0000000..2c4ce7f --- /dev/null +++ b/example_configs/kanboard.md @@ -0,0 +1,33 @@ +# configuration for Kanboard + +add these to the Kanboard `config.php` + +Make sure you adapt the constant `LDAP_SERVER` to the correct LDAP endpoint. + +You also might have to change `dc=example,dc=com` to whatever your LLDAP is handling, and maybe change the `kanboard_users` group name used in `LDAP_USER_FILTER` to identify users of a valid group of yours. + +``` +define('LDAP_AUTH', true); +define('LDAP_SERVER', 'ldap://lldap-server.com:3890'); +define('LDAP_SSL_VERIFY', true); +define('LDAP_START_TLS', false); + +define('LDAP_USERNAME_CASE_SENSITIVE', false); +define('LDAP_USER_CREATION', true); + +define('LDAP_BIND_TYPE', 'user'); +define('LDAP_USERNAME', 'uid=%s,ou=people,dc=example,dc=com'); +define('LDAP_PASSWORD', null); + +define('LDAP_USER_BASE_DN', 'ou=people,dc=example,dc=com'); + +define('LDAP_USER_FILTER', '(&(uid=%s)(memberof=cn=kanboard_users,ou=groups,dc=example,dc=com))'); +define('LDAP_USERNAME_CASE_SENSITIVE', false); + +define('LDAP_USER_ATTRIBUTE_USERNAME', 'uid'); +define('LDAP_USER_ATTRIBUTE_FULLNAME', 'cn'); +define('LDAP_USER_ATTRIBUTE_EMAIL', 'mail'); +define('LDAP_USER_ATTRIBUTE_GROUPS', 'memberof'); +define('LDAP_USER_ATTRIBUTE_PHOTO', 'jpegPhoto'); +define('LDAP_USER_ATTRIBUTE_LANGUAGE', ''); +```