Skip to content

Commit

Permalink
Update ldap_commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrl39 authored May 25, 2024
1 parent d763d66 commit 4178f25
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/guide/ldap_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=*)"
```

0 comments on commit 4178f25

Please sign in to comment.