Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use bitnami/openldap image during testing #258

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use a different OpenLDAP docker image for testing
because openshift/openldap-2441-centos7 reports 404
  • Loading branch information
atodorov committed Oct 24, 2023
commit 2ffd2861034b6321356caac8d291adb3b5da86b4
9 changes: 7 additions & 2 deletions docker-compose.testing
Original file line number Diff line number Diff line change
@@ -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
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
Loading