Skip to content

Commit

Permalink
Use a different OpenLDAP docker image for testing
Browse files Browse the repository at this point in the history
because openshift/openldap-2441-centos7 reports 404
  • Loading branch information
atodorov committed Oct 24, 2023
1 parent 911b6dc commit 2ffd286
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 7 additions & 2 deletions docker-compose.testing
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ version: '2'
services:
openldap_server:
container_name: openldap_server
image: openshift/openldap-2441-centos7
image: bitnami/openldap
restart: always
ports:
- 389:389
- 636:636
environment:
- LDAP_PORT_NUMBER=389
- LDAP_ADMIN_USERNAME=Manager
- LDAP_ADMIN_PASSWORD=admin
- LDAP_ROOT=dc=example,dc=com
- LDAP_USER_DC=People

db:
container_name: db
Expand Down
7 changes: 4 additions & 3 deletions testing/ldap.ldif
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dn: ou=People,dc=example,dc=com
ou: People
objectClass: organizationalUnit
# b/c will be created when OpenLDAP initializes
# dn: ou=People,dc=example,dc=com
# ou: People
# objectClass: organizationalUnit

dn: uid=ldap_atodorov,ou=People,dc=example,dc=com
cn: ldap_atodorov
Expand Down

0 comments on commit 2ffd286

Please sign in to comment.