Searching with an LDAP filter

  1. Set the dn you wish to search through
    1. e.g., ou=Employees,dc=mycompaniesdomain,dc=com
  2. Set the filter
    1. e.g., (&(objectclass=inetorgperson)(uid=myfirstname.mylastname))
      1. inetorgperson is an LDAP standard "object", btw, there are a bunch of others
Btw: one can also -- quick and dirty -- dump the whole LDAP db to a ldif file, and do a text search on that.


Popular posts from this blog

Openvpn and unbound combined break dig command

Stress Linux system: stress-ng

Google Nexus 4: permanent back panel glass repair for less than a penny