Use the user's own DN to bind
Allow returning a key instead of a value from ldap_attr_get()
Correct typo when returning ldap_attr_get error
Assume that we're using ldap if LDAP_CONTROL_BIND_DN is set at all.