GNU bug report logs - #64089
30.0.50; `ldap-search' errors out with `wrong-type-argument listp' when called WITHDN == t

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Thu, 15 Jun 2023 21:29:02 UTC

Severity: normal

Fixed in version 30.0.50

Done: Filipp Gunbin <fgunbin <at> fastmail.fm>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 64089 <at> debbugs.gnu.org (full text, mbox):

From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
To: 64089 <at> debbugs.gnu.org
Subject: Re: 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
[Message part 1 (text/plain, inline)]
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.

[0001-Fix-parsing-of-dn-line-if-WITHDN-is-non-nil.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.