You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fork has been customized to accomodate this Docker image to be used out of the box as a testing user external directory for Atlassian Confluence. Mainly by introducing the confluence-users and confluence-administrators user groups.
Also the ldap admin password has changed so that it is easier to remember.
This image provides an OpenLDAP Server for testing LDAP applications, i.e. unit tests. The server is initialized with the example domain planetexpress.com with data from the Futurama Wiki.
Parts of the image are based on the work from Nick Stenning docker-slapd and Bertrand Gouny docker-openldap.
The Flask extension flask-ldapconn use this image for unit tests.
Features
Support for TLS (snake oil cert on build)
Initialized with data from Futurama
~124MB images size (~40MB compressed)
Usage
docker pull aruizca/confluence-test-ldap
docker run --privileged -d -p 389:389 aruizca/confluence-test-ldap
Exposed ports
389
636
Exposed volumes
/etc/ldap/slapd.d
/etc/ldap/ssl
/var/lib/ldap
/run/slapd
Confluence settings to sync LDAP repo
In Confluence "General Configuration" go to "User Directories" section. There select "Add Directory" and choose "LDAP".
ℹ️ Only the settings that require modification are shown:
Server Settings
Directory Type: OpenLDAP
Hostname: ldap (or whatever hostname used by the container)
Username: cn=admin,dc=planetexpress,dc=com
Password: password
LDAP Schema
Base DN: dc=planetexpress,dc=com
User Schema Settings
User Name Attribute: uid
Group Schema Settings
Group Object Class: Group
Group Object Filter: (objectclass=Group)
Membership Schema Settings
Group Members Attribute: member
LDAP structure
dc=planetexpress,dc=com
Admin
Secret
cn=admin,dc=planetexpress,dc=com
password
ou=people,dc=planetexpress,dc=com
cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com