Skip to content

Commit 2ffd286

Browse files
committed
Use a different OpenLDAP docker image for testing
because openshift/openldap-2441-centos7 reports 404
1 parent 911b6dc commit 2ffd286

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

docker-compose.testing

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ version: '2'
33
services:
44
openldap_server:
55
container_name: openldap_server
6-
image: openshift/openldap-2441-centos7
6+
image: bitnami/openldap
77
restart: always
88
ports:
99
- 389:389
10-
- 636:636
10+
environment:
11+
- LDAP_PORT_NUMBER=389
12+
- LDAP_ADMIN_USERNAME=Manager
13+
- LDAP_ADMIN_PASSWORD=admin
14+
- LDAP_ROOT=dc=example,dc=com
15+
- LDAP_USER_DC=People
1116

1217
db:
1318
container_name: db

testing/ldap.ldif

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
dn: ou=People,dc=example,dc=com
2-
ou: People
3-
objectClass: organizationalUnit
1+
# b/c will be created when OpenLDAP initializes
2+
# dn: ou=People,dc=example,dc=com
3+
# ou: People
4+
# objectClass: organizationalUnit
45

56
dn: uid=ldap_atodorov,ou=People,dc=example,dc=com
67
cn: ldap_atodorov

0 commit comments

Comments
 (0)