NOTE: This tutorial assumes Kanboard is already installed and running. If it isn't, follow one of these tutorials to install it
Linux: https://youtu.be/
Windows: https://youtu.be/on_8FD3DRKk
What is Kanboard?
Kanboard is project management software that focuses on the Kanban methodology. -https://github.com/kanboard/kanboard
Active Directory Setup
Open Active Directory Users and Computers
Expand the domain > Users
Right Click Users > New > User
Create a read only account to use for LDAP binding
First Name: Read
Last Name: Only
User logon name: readonly_svc
Click Next
Set the user's password and confirm it
Uncheck User must change password on next logon
Check User cannot change password
Check Password never expires > Click Next
Click Finish
Right Click Users > New > Group
Give the group a name (ie DevTeam) and click OK
Right Click the newly created group > Properties
Select the Members tab > Click Add...
Add users that will be allowed access Kanboard
Click OK
Configuring Kanboard for LDAP
Navigate to the PHP install directory in File Explorer
Edit php.ini in a text editor
Find the ldap extension and make sure it is enabled by removing the # at the start of the line
extension=ldap
Save the changes to php.ini
Restart the Apache HTTPD service
Navigate to the Kanboard installation directory
Edit config.php in a text editor
Edit the following fields to configure the LDAP connection
define('LDAP_AUTH', true);
define('LDAP_SERVER', 'ldap://i12bretro.local:389');
define('LDAP_BIND_TYPE', 'proxy');
define('LDAP_USERNAME', 'readonly_svc@i12bretro.local');
define('LDAP_PASSWORD', 'Read0nly!!');
define('LDAP_USER_BASE_DN', 'CN=Users,DC=i12bretro,DC=local');
define('LDAP_USER_FILTER', '(&(objectClass=user)(sAMAccountName=%s)(memberof=cn=DevTeam,CN=Users,dc=i12bretro,dc=local))');
define('LDAP_USER_ATTRIBUTE_USERNAME', 'sAMAccountName');
Save the changes to config.php
Open a browser and navigate to the Kanboard URL
Attempt logging in with a valid LDAP user name and password
Documentation: https://docs.kanboard.org/en/latest/admin_guide/ldap_authentication.html