User Tools

Site Tools


infrastructure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
infrastructure [2021-01-17 22:59] – mrksinfrastructure [2023-03-14 15:55] (current) – mrks
Line 244: Line 244:
 === Searches === === Searches ===
  
 +  * Find LDAP servers of a domain: <code>nslookup -type=srv _ldap._tcp.DOMAINNAME</code>
   * Search within base DN: <code>ldapsearch -h example.com -b ",dc=example,dc=com" "cn=MY_IDENTIFIER"</code>   * Search within base DN: <code>ldapsearch -h example.com -b ",dc=example,dc=com" "cn=MY_IDENTIFIER"</code>
   * Search the whole database: <code>ldapsearch -h example.com "cn=MY_IDENTIFIER"</code>   * Search the whole database: <code>ldapsearch -h example.com "cn=MY_IDENTIFIER"</code>
infrastructure.1610920759.txt.gz · Last modified: by mrks