Mention binddn in LDAP credentials error message
* net/ldap.el (ldap-search-internal): Mention binddn in invalid credentials error message.
This commit is contained in:
parent
a6d46519f5
commit
e56e1b924d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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 "\" \""))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue