[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4610) slapd-dnssrv bug with "not present" positive statement



Full_Name: Phil Pennock
Version: 2.3.24
OS: Gentoo GNU/Linux x86
URL: 
Submission from: (NULL) (82.161.24.81)


Feedback on the experimental slapd-dnssrv database.

I have a domain which doesn't do much any more, and which has some
default SRV records (globnix.org, if you want to test):

*._tcp                          SRV     0 0     0 .
*._udp                          SRV     0 0     0 .

According to RFC 2782 (DNS SRV):

        A Target of "." means that the service is decidedly not
        available at this domain.

If I elsewhere use slapd with the dnssrv database and issue:
$ ldapsearch -b 'dc=globnix,dc=org' -s base +

then I get:

# search result
search: 2
result: 10 Referral
text: DNS SRV generated referrals
ref: ldap://:0

This looks like insufficient checking of the results before constructing
a response; shouldn't that issue a "no such object"?