Re: (ITS#3696) Determining server configuration at run-time (RFE)

daveh@ci.com.au wrote:
>On Mon, 2 May 2005, Pierangelo Masarati wrote:
>
>
>
>>A trivial solution to the first request is being applied to HEAD: I've
>>added a boolean-valued "monitorIsShadow" to the database entries in
>>"cn=Monitor". [...]
>>
>>
>
>Well, that sure generated some discussion :-)
>
>Yes, the above will do nicely; when I get a moment I'll grab HEAD and
>try it out.
>
>
I haven't committed it yet; I was trying to see if the whole improvement
can be added at once, but I'm running out of time :) In any case, I'll
commit at least the short improvement.
>My immediate problem is that given an arbitrary DN, I want to know who
>is the master for it; being able to query the local servers for their
>configurations, once, will go a long way.
>
>
Mmmmh, in this case you need to do some extra work, because you need to
compare the DN with the namingContexts served by the DSA to find the
most specific suffix and see what database to query for the isShadow
datum. But this is slipping off-topic here.
p.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497