Change of name forms and DIT structure rules when renaming an entry

Michael Ströder <[email protected]> Mon, 18 Aug 2008 15:18:31 +0200
Newsgroups gmane.ietf.ldapbis
Message-ID <[email protected]>
HI!

when displaying an input form for renaming an entry I'd like to let the=20
user search for possible new superior DNs. If applicable I'd like to=20
construct the search filter derived from applicable DIT structure rules.
So the question is how to find the structural object classes which are=20
allowed for superior entries.

X.501 (1993) section 12.6.5 says:
"Each object and alias entry is governed by a single DIT structure rule."

Currently I determine the governing structure rule by looking up the=20
best matching name form for 1. the structural object class and 2. the=20
current old RDN. Then I can derive the possible superior structure rules=20
and lookup the superior structural object classes via the accompanying=20
name forms.

But now I wonder what to do in case the user wants to change the RDN=20
together with a new superior DN in one rename operation? From my=20
understanding changing the RDN could lead to another governing structure=20
rule. Is that right?

Ciao, Michael.

P.S.: I'd appreciate interop testing over Internet regarding this...

--=20
Michael Str=F6der
E-Mail: [email protected]
http://www.stroeder.com