Searching with an LDAP filter
- Set the dn you wish to search through
- e.g., ou=Employees,dc=mycompaniesdomain,dc=com
- Set the filter
- e.g., (&(objectclass=inetorgperson)(uid=myfirstname.mylastname))
- 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.