Debugging LDAP Entries and Syntax

If you are having problems getting LDAP/Active Directory authentication working, the easiest way to debug the problem is from the command-line. Both Linux and Windows systems provide a variety of utilities to help you identify the correct syntax to use in various portions of your LDAP configuration entries.