[Pdns-users] Re: PowerDNS LDAP wildcard regression?

Norbert Sendetzky norbert at linuxnetworks.de
Sat May 27 19:23:06 UTC 2006


Hi Scott

Thanks for your bug report.

> A wildcard entry for *.members.simunex.com (and likewise
> *.groups.simunex.com, *.lists.simunex.com) is present in my LDAP directory.
> DNs are like below, of course:
>
> dn: dc=*,dc=members,dc=simunex,dc=com,ou=dns,dc=simunex,dc=com
>
> However, doing a search for an entry such as sbalmos.members.simunex.com
> gives an NXDOMAIN, while OpenLDAP reports errant escaping of the *, as
> below:
>
> May 21 03:02:35 flyingpig slapd[7740]: do_search: invalid dn
> (dc=\*,dc=members,dc=simunex,dc=com,ou=dns,dc=simunex,dc=com)

The dn components were escaped but this is counterproductive. The patch 
attached replaces a single line in the lookup_tree() code and should solve 
your problem.


Norbert
-- 
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldapbackend_2.9.20-1.diff
Type: text/x-diff
Size: 436 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20060527/7b54d520/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20060527/7b54d520/attachment.sig>


More information about the Pdns-users mailing list