javax.naming.NoPermissionException

[LDAP: error code 50 - Insufficient Access Rights]; remaining name 'uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain'

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20

  • Stack trace

    • javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2872) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2810) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616) at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1374) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:161) at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:146) at testEmbeddedLdap.main(testEmbeddedLdap.java:30)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,