Ole Ersoy a écrit :
Supposedly we added a feature that allows us to do ctx.createSubcontext("cn=test")... without attributes (There's an RFC for this I think). The server just adds the necessary ObjectClass for us. It runs fine in my tests.
Well, ADS 1.5.1-SNAPSHOT does not allows that? The pb is that JNDI createSubContext applied to LDAP not ony bind to the server *but* also create an entry, which must be valid. As you used a cn in the DN, this cn *must* be presebt as an attribute. This is the reason wh you must use the createSubContext( Name, Attributes ) and not the other one.
Yes, the server does have to be run besides the test. I have to look at the other setup stuff to figure out how to get around that.
Yeah, this would be better. Look at what we have in server-ubit (but core-unit would be better and faster)
