Hi,

you need to add the LDAP user account and set up the Write permission on the
appropriate LDAP branch. How to do that, it depends on which LDAP server you
are using - iPlanet, Critical Path, Siemens or whatever. Each of these has
its own management console and you will have to discuss the administration
documentation.

Marek

-----Original Message-----
From: Rajinder Sandhu [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 7:38 AM
To: [EMAIL PROTECTED]
Subject: offtopic : LDAP


hi all,

i am try to add an LDAP entry .
dn = uid=pop,ou=People,o=sunquest.com

it is throwing an exception (see below).

can anybody guide to how to set this 'add privilage' ??

cheers!!
raj

javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
'add' privilege to add the entry 'uid=mewilcox,ou=People,o=sunquest.com'.
]; remaining name 'uid=mewilcox,ou=People,o=sunquest.com'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2744)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2682)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2488)
        at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:334)
        at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:293)
        at
com.sun.jndi.toolkit.ctx.ComponentContext.p_bind(ComponentContext.java:595)
        at
com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContex
t.java:182)
        at
com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContex
t.java:172)Exception occuredjavax.naming.NoPermissionException: [LDAP: error
code 50 - Insufficient 'add' privilege to add the entry
'uid=mewilcox,ou=People,o=sunquest.com'.
]; remaining name 'uid=mewilcox,ou=People,o=sunquest.com'

        at javax.naming.InitialContext.bind(InitialContext.java:358)
        at crap.JNDIAdd.main(JNDIAdd.java:30)


thank you

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to