Commit e56e1b92 authored by Thomas Fitzsimmons's avatar Thomas Fitzsimmons
Browse files

Mention binddn in LDAP credentials error message

* net/ldap.el (ldap-search-internal): Mention binddn in invalid
credentials error message.
parent a6d46519
2014-11-13 Thomas Fitzsimmons <fitzsim@fitzsim.org>
* net/ldap.el (ldap-search-internal): Mention binddn in invalid
credentials error message.
2014-11-13 Thomas Fitzsimmons <fitzsim@fitzsim.org>
* net/ldap.el (ldap-password-read): Validate password before
......
......@@ -667,7 +667,8 @@ an alist of attribute/value pairs."
;; Handle invalid credentials exit status specially
;; for ldap-password-read.
(if (eq status 49)
(error "Incorrect LDAP password")
(error (concat "Incorrect LDAP password or"
" bind distinguished name (binddn)"))
(error "Failed ldapsearch invocation: %s \"%s\""
ldap-ldapsearch-prog
(mapconcat 'identity proc-args "\" \""))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment