diff --git a/docker-compose.testing b/docker-compose.testing index 1e6cafe..4f8bce0 100644 --- a/docker-compose.testing +++ b/docker-compose.testing @@ -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 diff --git a/testing/ldap.ldif b/testing/ldap.ldif index f540a2b..e760ebd 100644 --- a/testing/ldap.ldif +++ b/testing/ldap.ldif @@ -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