adding ldap_errno and ldap_error, useful for debugging and more verbose error message