- docker run -d --name openldap -p 1389:1389 bitnami/openldap:2.6.8
- docker ps
- openldap up and running
- docker exec -it openldap ldapsearch -H ldap://localhost:1389 -x -b dc=example,dc=org
- numEntries: 5
- ldapsearch -H ldap://localhost:1389 -x -b dc=example,dc=org
- ldapsearch: No such file or directory
- curl ldap://localhost:1389/dc=example,dc=org??sub
- numEntries: 5
沒有留言:
張貼留言