> For the complete documentation index, see [llms.txt](https://notes.dado1513.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.dado1513.dev/tools/ldapsearch.md).

# ldapsearch

```bash
ldapsearch -x -H ldap://10.10.11.248 -s base namingcontexts
```

```bash
ldapsearch -x -H ldap://10.10.11.248 -b "dc=monitored,dc=htb"
```

```bash
ldapsearch -H ldaps://company.com:636/ -x -s base -b '' "(objectClass=*)" "*" +
```
