O
ozgwei
I'm not familiar with LDAP except using JNDI to look up EJB homes and
data sources.
Now I have a task to create a People entry and put it in a group in
Java.
The entry should be:
dn: uid=user-id, ou=People, dc=company, dc=com
uid: user-id
givenName: given-name
objectClass: top
objectClass: person
objectClass: organizationPerson
objectClass: inetorgperson
sn: surname
cn: something
userPassword: password
And the new entry should be put into a group:
dn: cn=group-name, ou=People, ou=somename, dc=company, dc=com
All these dn, cn, sn, ou, dc things look strange to me as a novice.
Would anyone please kindly show me how to accomplish this in J2SE?
Thanks.
data sources.
Now I have a task to create a People entry and put it in a group in
Java.
The entry should be:
dn: uid=user-id, ou=People, dc=company, dc=com
uid: user-id
givenName: given-name
objectClass: top
objectClass: person
objectClass: organizationPerson
objectClass: inetorgperson
sn: surname
cn: something
userPassword: password
And the new entry should be put into a group:
dn: cn=group-name, ou=People, ou=somename, dc=company, dc=com
All these dn, cn, sn, ou, dc things look strange to me as a novice.
Would anyone please kindly show me how to accomplish this in J2SE?
Thanks.