bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64089: Acknowledgement (30.0.50; `ldap-search' errors out with `wron


From: Jens Schmidt
Subject: bug#64089: Acknowledgement (30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t)
Date: Fri, 16 Jun 2023 00:11:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

With the following patch things work as expected:

(ldap-search "(uid=<uid>)"
              "ldap://<host>"
              '("mail")
              nil
              t)
=> ((("dn" "cn=<NAME>,L=<REGION>,DC=<DOMAIN>,DC=COM") ("mail" "<name>@<domain>.com")))

I tried to make the patch as conservative as possible and intentionally do not check syntax of the dn line if its parsing is not required.

Attachment: 0001-Fix-parsing-of-dn-line-if-WITHDN-is-non-nil.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]