ahh sorry make mistake
env.put(Context.PROVIDER_URL, "ldap://localhost:10389/ou=schema");
env.put(Context.SECURITY_PRINCIPAL, "uid=admin,ou=system");
but same problem I have.
but still can not found Attributes :(
code following
DirContext ctx = new InitialDirContext(env);
DirContext schemaRoot = ctx.getSchema("");
Attributes nisAttrs = schemaRoot.getAttributes("cn=nis");
--
View this message in context:
http://www.nabble.com/Got-more-than-one-attributeType-for-oid-of-%22uidNumber%22-tp21093034p21124261.html
Sent from the Apache Directory Project mailing list archive at Nabble.com.