This repo provides an example cluster using OpenLDAP as an authentication backend.
- 2 OpenSearch nodes (Port: 9200)
- OpenSearch Dashboards (Port: 5601)
- OpenLDAP
- PhpLDAPAdmin (Port: 8080)
Clone this repository and navigate to the cloned repo using a terminal.
In the root directory of this project run docker-compose down && docker-compose up
to start a cluster.
Login to PhpLDAPAdmin using the admin account.
- Username: cn=admin,dc=example,dc=org
- Password: changethis
You can make changes in the directory as the admin
This repo comes with some default accounts listed in directory.ldif
When logging into OpenSearch Dashboards you can use the common name (cn), but you need to use the distinguished name (dn) when logging into PhpLDAPAdmin
dn: cn=jroe,ou=People,dc=example,dc=org
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
cn: jroe
userpassword: password
givenname: Jane
sn: Roe
mail: [email protected]
uid: 1001
dn: cn=jdoe,ou=People,dc=example,dc=org
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
cn: jdoe
userpassword: password
givenname: John
sn: Doe
mail: [email protected]
uid: 1002
dn: cn=psantos,ou=People,dc=example,dc=org
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
cn: psantos
userpassword: password
givenname: Paulo
sn: Santos
mail: [email protected]
uid: 1003