# Docker LDAP Role This Ansible role provides a streamlined implementation of an LDAP server with TLS support. It leverages Docker Compose to deploy a pre-configured OpenLDAP server and phpLDAPadmin for easy management. --- ## 🚀 **Features** - **Secure LDAP with TLS**: - Automatically configures TLS certificates for secure communication. - Provides configurable support for LDAPS on port 636. - **phpLDAPadmin Integration**: - Includes a Dockerized phpLDAPadmin setup for easy user and group management. - **Healthcheck Support**: - Ensures that the LDAP service is healthy and accessible using `ldapsearch`. -- ## Maintanance ### Show Config ```bash docker exec -it openldap bash -c "ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b 'cn=config'" ``` ```bash docker exec -it openldap bash -c "ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b 'cn=config' -s base '(objectClass=*)'" ``` ```bash docker exec -it openldap bash -c "ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b 'cn=config' -s base '(objectClass=olcModuleList)'" ``` ## install ### MemberOf ```bash ldapmodify -Y EXTERNAL -H ldapi:/// <