[Qian] Sorry, I am new to LDAP, can you please let me know how to
figure out which way I am using for DN format? By some ldap commands?
BTW, I installed and setup LDAP in a default way, so I guess the DN
format should be "uid=ghenry,ou=Users,dc=example,dc=com" because when
I login my machine with uid, it works, but if I login with common
name, it fails.