For some reason my LDAP search doesn't seem to be returning all the attributes available for a given DN.
Using the folling code:
DirContext ctx = new InitialDirContext(mEnv);
DirContext obj = (DirContext)ctx.lookup(dn);
Attributes attrs = obj.getAttributes(new CompositeName(""));
(Where mEnv is a valid Properties class, and dn is a valid DN)
I'm getting back just 7 attributes ("cn", "orclpassword", "objectclass", "mail", "authpassword;orclcommonpwd", "userpassword", "sn"), whereas I can see in Oracle Directory Manager that there are many more (including "orclIsEnabled" and "pwdaccountlockedtime")
Is anyone able to shed any light on the "missing" attributes.
(Note: my experience with LDAP is pretty limited)
Thanks :-)