Follow the url to learn LDAP Query Basics