Semaphore Docs


Configuration file contains following LDAP parameters:
"ldap_binddn": "cn=admin,dc=example,dc=org",
"ldap_bindpassword": "adminpassword",
"ldap_server": "localhost:1389",
"ldap_searchdn": "ou=users,dc=example,dc=org",
"ldap_searchfilter": "(&(objectClass=inetOrgPerson)(uid=%s))",
"ldap_mappings": {
"dn": "",
"mail": "uid",
"uid": "uid",
"cn": "cn"
"ldap_enable": true,
"ldap_needtls": false,
ldap_mappings used to convert LDAP fields to following Semaphore fields:
  • ldap_mappings.uid — user login.
  • ldap_mappings.mail — user email.
  • — user name.
Use ldapwhoami tool and check if your binddn works:
-H ldap://\
-D "CN=/your/ldap_binddn/value/in/config/file"\
It will ask interactively for the password and should return code 0 and echo out the DN as specified.
Please read Troubleshooting section if you have issues with LDAP.