Commit dd25fbab authored by Bengfort's avatar Bengfort
Browse files

TG-281 setup docker ldap service

parent d8cf9c70
version: '2'
services:
ldap:
container_name: ldap
image: osixia/openldap
ports:
- "389:389"
command: [--copy-service]
volumes:
- ./tests.ldif:/container/service/slapd/assets/config/bootstrap/ldif/data.ldif
dn: cn=alice,dc=example,dc=org
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
cn: alice
uid: alice
userPassword: password
uidNumber: 1000
gidNumber: 1000
givenName: Alice
sn: Adams
homeDirectory: /home/alice
dn: cn=bob,dc=example,dc=org
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
cn: bob
uid: bob
userPassword: password
uidNumber: 1001
gidNumber: 50
givenName: Robert
sn: Barker
homeDirectory: /home/bob
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment