The moose likes Security and the fly likes Access Permission Error in LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Access Permission Error in LDAP " Watch "Access Permission Error in LDAP " New topic
Author

Access Permission Error in LDAP

Ginnakunta Laxmi Narayan
Ranch Hand

Joined: Jun 16, 2004
Posts: 35
When I am trying to add an entry using Java Class, I am getting following error:

javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'cn=Dennis Ritchie,ou=Consulting, dc=uni02,dc=unisys,dc=com'

Hopes somebody help me...

Thanks
Narayan
Ginnakunta Laxmi Narayan
Ranch Hand

Joined: Jun 16, 2004
Posts: 35
Got the Solution
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11945
Could you perhaps share the solution with the rest of us?


Author of Test Driven (Manning Publications, 2007) [Blog] [HowToAskQuestionsOnJavaRanch]
Ginnakunta Laxmi Narayan
Ranch Hand

Joined: Jun 16, 2004
Posts: 35
In the slapd.conf file, i had included the following lines to give the access permissions to modify the nodes in the LDAP directory.

access to *
by self write
by users write
by anonymous write
 
IntelliJ Java IDE
 
subject: Access Permission Error in LDAP
 
Threads others viewed
Apache DS : LDIF import not working
Getting javax.naming.AuthenticationException while connecting to LDAP server from java code
LDAP: Add Users
LDAP on websphere app server 7 problem
How to Import a file
developer file tools