Re: Empty suffix database vs. rootDSE
Quanah Gibson-Mount <[email protected]> Mon, 19 Apr 2010 08:55:56 -0700
| Newsgroups | gmane.network.openldap.general |
|---|---|
| Message-ID | <EE5C374FD2DD534D2421E5C1@[192.168.1.2]> |
--On Monday, April 19, 2010 4:16 AM +0200 [email protected] wrote: > I've noticed that if a producer is rooted at the empty suffix, searches > for the rootDSE (base="", scope="base"), return an entry consisting in the > rootDSE entry plus the producer's contextCSN. > > I've tracked this down to backend_operational(): at some point, when the > entry is almost ready, selects the database that serves the empty DN, and > calls that database's be_operational() helper; here syncprov_operational() > adds the contextCSN. > > Is this intended? I'm asking because indeed this is the only way we can > get the contextCSN for that database; searches with base="" and scope > other than "base" would return the database's entries but no entry with > empty dn. I doubt it is intended, and it likely should behave the same as all other scenarios. --Quanah -- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration