There is unfortunately no standard or conventional way I know of with today's
LDAPv2 servers. This is something we are addressing in the LDAPv3 design.
My suggestion is that there be a DN-valued attribute "namingContexts" in the
ROOT DSE, which can be read by requesting this attribute when doing a
baseObject search of the empty DN. The values of namingContexts returned in
the search result will be the base names of subtrees which that server masters
or shadows.
Mark Wahl