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

slapd-dnssrv bug with "not present" positive statement



Hi,

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"?

Thanks,
-- 
"Everything has three factors: politics, money, and the right way to do it.
 In that order."  -- Gary Donahue