diff --git a/src/guide/ldap_commands.md b/src/guide/ldap_commands.md index 2a05164..c371d63 100644 --- a/src/guide/ldap_commands.md +++ b/src/guide/ldap_commands.md @@ -7,7 +7,9 @@ ldapadd -x -D cn=admin,dc=doncom,dc=com -W -f file.ldif ```shell ldapsearch -x -LLL -H ldap://localhost -D "cn=admin,dc=doncom,dc=com" -W -b "dc=doncom,dc=com" ``` - +```shell +ldapsearch -x -LLL -H ldap://localhost -D "cn=admin,dc=doncom,dc=com" -w davidtomas -b "dc=doncom,dc=com" "(objectClass=*)" +``` --- # 🆕 ADD A NEW USER @@ -19,3 +21,6 @@ ldapadd -x -D cn=admin,dc=doncom,dc=com -W -f file.ldif ```shell ldapsearch -x -LLL -H ldap://localhost -D "cn=admin,dc=doncom,dc=com" -W -b "dc=doncom,dc=com" ``` +```shell +ldapsearch -x -LLL -H ldap://localhost -D "cn=admin,dc=doncom,dc=com" -w davidtomas -b "dc=doncom,dc=com" "(objectClass=*)" +```