From e3ee5bf836fefe71ce05fe84151945de40fed92a Mon Sep 17 00:00:00 2001
From: Dominique Stender <oldaric.gw2@gmail.com>
Date: Tue, 22 Nov 2022 10:56:52 +0100
Subject: [PATCH] added kanboard example config

---
 example_configs/kanboard.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 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..f5e0229
--- /dev/null
+++ b/example_configs/kanboard.md
@@ -0,0 +1,27 @@
+# configuration for Kanboard
+## add these to the kanboard `config.php`
+---
+
+define('LDAP_AUTH', true);
+define('LDAP_SERVER', 'ldap://YOUR_LDAP_SERVER: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=lldap_kanboard,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', '');
+define('LDAP_USER_ATTRIBUTE_LANGUAGE', '');