Yeah we added this feature to comply with expected JNDI behavoir in conjunction with RFC 2713. JNDI certainly is a funny beast.
On 4/2/07, Stefan Zoerner <firstname.lastname@example.org> wrote:
Ole Ersoy wrote:
> In this case I just need the entry
> "cn=test, cn=test1, cn=test2, ou=system"
> to exist, before attempting to store a DataGraph,
> and I discovered that ApacheDS
> lets me do
I tried it out. It seems to be a JNDI feature. Your code creates an
entry like that in ApacheDS 1.5 (and some other directory servers, not
The object classes which are missing in the createSubcontext call are
probably automatically added by the LDAP provider of JNDI, making this a
perfectly legal entry within the schema, if javaContainer from RFC 2713
is present in the schema. If, not, your createSubcontext command will
likely fail (schema violation).
So it is not an error in the schema subsystem, but a funny default
behavior of JNDI, which I did not know before. Strange API ...
Greetings from Hamburg,