This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP: Add Users

 
Balaji Soundarajan
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to add the user in LDAP through Java API. But i am getting the following error when executing the createSubcontext(entryDN, entry); method.

Error:

Error Details :

AddUser: error adding entry.javax.naming.PartialResultException: [LDAP: error code 10 - 0000202B: RefErr: DSID-031006E0, data 0, 1 access points
ref 1: 'testtesttest.com'
remaining name 'uid=TesUser1,DC=testtesttest, dc=com'


Please find the code for your reference.


Please do the needful.

Regards,
-Balaji.S


[EDIT: cleaned up some references to company specific information and possible passwords]
 
Balaji Soundarajan
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error Details :

AddUser: error adding entry.javax.naming.PartialResultException: [LDAP: error code 10 - 0000202B: RefErr: DSID-031006E0, data 0, 1 access points
ref 1: 'testtesttest.com'
remaining name 'uid=TesUser1,DC=testtesttest, dc=com'


[EDIT: cleaned up some references to company specific information]
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags when posting code. It will highlight your code and make it much easier to read. It probably will also increase the number of people helping you. You can edit your post with the button.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic