LDAP client configuration (Ansible Semaphore config.json
):
{
"ldap_enable": true,
"ldap_needtls": false,
"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"
}
}
Docker file for LDAP server (docker-compose.yml
):
version: '2'
services:
openldap:
image: docker.io/bitnami/openldap:2.6
ports:
- '1389:1389'
- '1636:1636'
environment:
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
- LDAP_USERS=user01,user02
- LDAP_PASSWORDS=password1,password2
- BITNAMI_DEBUG=true
- LDAP_LOG_LEVEL=9
volumes:
- './cert2:/opt/bitnami/openldap/certs'
- 'openldap_data:/bitnami/openldap'
volumes:
openldap_data:
driver: local
Hello, thank you for the information!
I configured my config.json accordingly. Sadly the problem still persists. Now I don't get any error printouts in to the semaphore console while semaphore is running.
Any suggestions?