Skip to content
Merged
Changes from all commits
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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ Run OpenLDAP docker image:

docker run --name my-openldap-container --detach osixia/openldap:1.2.2

This start a new container with OpenLDAP running inside. Let's make the first search in our LDAP container:
Do not forget to add the port mapping for both port 389 and 689 if you wish to access the ldap server from another machine.

docker run -p 389:389 -p 689:689 --name my-openldap-container --detach osixia/openldap:1.2.2

Either command starts a new container with OpenLDAP running inside. Let's make the first search in our LDAP container:

docker exec my-openldap-container ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin

Expand Down