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 was created so it could be used with this other repo to perform tests with any Confluence version.
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.
- Support for TLS (snake oil cert on build)
- Initialized with data from Futurama
- ~124MB images size (~40MB compressed)
docker pull aruizca/confluence-test-ldap
docker run --privileged -d -p 389:389 aruizca/confluence-test-ldap
- 389
- 636
- /etc/ldap/slapd.d
- /etc/ldap/ssl
- /var/lib/ldap
- /run/slapd
In Confluence "General Configuration" go to "User Directories" section. There select "Add Directory" and choose "LDAP".
ℹ️ Only the settings that require modification are shown:
- Directory Type: OpenLDAP
- Hostname: ldap (or whatever hostname used by the container)
- Username: cn=admin,dc=planetexpress,dc=com
- Password: password
- Base DN: dc=planetexpress,dc=com
- User Name Attribute: uid
- Group Object Class: Group
- Group Object Filter: (objectclass=Group)
- Group Members Attribute: member
Admin | Secret |
---|---|
cn=admin,dc=planetexpress,dc=com | password |
Attribute | Value |
---|---|
objectClass | inetOrgPerson |
cn | Hubert J. Farnsworth |
sn | Farnsworth |
description | Human |
displayName | Professor Farnsworth |
employeeType | Owner |
employeeType | Founder |
givenName | Hubert |
jpegPhoto | JPEG-Photo (630x507 Pixel, 26780 Bytes) |
[email protected] | |
[email protected] | |
ou | Office Management |
title | Professor |
uid | professor |
userPassword | professor |
Attribute | Value |
---|---|
objectClass | inetOrgPerson |
cn | Philip J. Fry |
sn | Fry |
description | Human |
displayName | Fry |
employeeType | Delivery boy |
givenName | Philip |
jpegPhoto | JPEG-Photo (429x350 Pixel, 22132 Bytes) |
[email protected] | |
ou | Delivering Crew |
uid | fry |
userPassword | fry |
Attribute | Value |
---|---|
objectClass | inetOrgPerson |
cn | John A. Zoidberg |
sn | Zoidberg |
description | Decapodian |
displayName | Zoidberg |
employeeType | Doctor |
givenName | John |
jpegPhoto | JPEG-Photo (343x280 Pixel, 26438 Bytes) |
[email protected] | |
ou | Staff |
title | Ph. D. |
uid | zoidberg |
userPassword | zoidberg |
Attribute | Value |
---|---|
objectClass | inetOrgPerson |
cn | Hermes Conrad |
sn | Conrad |
description | Human |
employeeType | Bureaucrat |
employeeType | Accountant |
givenName | Hermes |
[email protected] | |
ou | Office Management |
uid | hermes |
userPassword | hermes |
Attribute | Value |
---|---|
objectClass | inetOrgPerson |
cn | Turanga Leela |
sn | Turanga |
description | Mutant |
employeeType | Captain |
employeeType | Pilot |
givenName | Leela |
jpegPhoto | JPEG-Photo (429x350 Pixel, 26526 Bytes) |
[email protected] | |
ou | Delivering Crew |
uid | leela |
userPassword | leela |
Attribute | Value |
---|---|
objectClass | inetOrgPerson |
cn | Bender Bending Rodríguez |
sn | Rodríguez |
description | Robot |
employeeType | Ship's Robot |
givenName | Bender |
jpegPhoto | JPEG-Photo (436x570 Pixel, 26819 Bytes) |
[email protected] | |
ou | Delivering Crew |
uid | bender |
userPassword | bender |
Attribute | Value |
---|---|
objectClass | Group |
cn | confluence-administrators |
member | cn=Hubert J. Farnsworth,ou=people,dc=planetexpress,dc=com |
member | cn=Hermes Conrad,ou=people,dc=planetexpress,dc=com |
Attribute | Value |
---|---|
objectClass | Group |
cn | confluence-users |
member | cn=Turanga Leela,ou=people,dc=planetexpress,dc=com |
member | cn=Philip J. Fry,ou=people,dc=planetexpress,dc=com |
member | cn=Bender Bending Rodríguez,ou=people,dc=planetexpress,dc=com |
member | cn=Amy Wong+sn=Kroker,ou=people,dc=planetexpress,dc=com |
member | cn=John A. Zoidberg,ou=people,dc=planetexpress,dc=com#member: cn=Turanga Leela,ou=people,dc=planetexpress,dc=com |