javax.naming.NoPermissionException: [LDAP: error code 50 - 00000005: SecErr: DSID-03150464, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 ]; remaining name 'cn=Test\, Win NBKLLLL,OU=Testing,OU=POC,OU=Financial Solutions Advisors,OU=Utility,OU=NCG,OU=Accounts,OU=BAND,DC=corp3,DC=bankofamerica3,DC=com'

Oracle Community | Shashi Kiran | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Move User to OU is Failing in AD

    Oracle Community | 6 years ago | Shashi Kiran
    javax.naming.NoPermissionException: [LDAP: error code 50 - 00000005: SecErr: DSID-03150464, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 ]; remaining name 'cn=Test\, Win NBKLLLL,OU=Testing,OU=POC,OU=Financial Solutions Advisors,OU=Utility,OU=NCG,OU=Accounts,OU=BAND,DC=corp3,DC=bankofamerica3,DC=com'

    Root Cause Analysis

    1. javax.naming.NoPermissionException

      [LDAP: error code 50 - 00000005: SecErr: DSID-03150464, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 ]; remaining name 'cn=Test\, Win NBKLLLL,OU=Testing,OU=POC,OU=Financial Solutions Advisors,OU=Utility,OU=NCG,OU=Accounts,OU=BAND,DC=corp3,DC=bankofamerica3,DC=com'

      at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
    2. Java RT
      InitialContext.rename
      1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3049)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
      3. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
      4. com.sun.jndi.ldap.LdapCtx.c_rename(LdapCtx.java:703)
      5. com.sun.jndi.toolkit.ctx.ComponentContext.p_rename(ComponentContext.java:693)
      6. com.sun.jndi.toolkit.ctx.PartialCompositeContext.rename(PartialCompositeContext.java:251)
      7. com.sun.jndi.toolkit.ctx.PartialCompositeContext.rename(PartialCompositeContext.java:240)
      8. javax.naming.InitialContext.rename(InitialContext.java:424)
      8 frames
    3. com.thortech.xl
      tcUtilADTasks.moveUser
      1. com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.rename(Unknown Source)
      2. com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.moveObject(Unknown Source)
      3. com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.moveUser(Unknown Source)
      3 frames
    4. com.bofa.idm
      ADAdapters.moveUserToOU
      1. com.bofa.idm.adapter.ad.ADAdapters.moveUserToOU(ADAdapters.java:408)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. com.thortech.xl
      tcProvisioningOperations_b03yxm_EOImpl.retryTasks
      1. com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMOVEUSERTOOU.MOVEUSERTOOU(adpMOVEUSERTOOU.java:115)
      2. com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMOVEUSERTOOU.implementation(adpMOVEUSERTOOU.java:60)
      3. com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
      4. com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
      5. com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
      6. com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
      7. com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      8. com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      9. com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
      10. com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
      11. com.thortech.xl.ejb.beans.tcProvisioningOperations_b03yxm_EOImpl.retryTasks(tcProvisioningOperations_b03yxm_EOImpl.java:2344)
      11 frames
    7. Thor.API.Operations
      tcProvisioningOperationsClient.retryTasks
      1. Thor.API.Operations.tcProvisioningOperationsClient.retryTasks(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. Thor.API.Base
      SecurityInvocationHandler$1.run
      1. Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      1 frame
    10. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    11. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(Unknown Source)
      1 frame
    12. weblogic.security
      Security.runAs
      1. weblogic.security.Security.runAs(Security.java:41)
      1 frame
    13. Thor.API.Security
      weblogicLoginSession.runAs
      1. Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      1 frame
    14. Thor.API.Base
      SecurityInvocationHandler.invoke
      1. Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      1 frame
    15. Unknown
      $Proxy61.retryTasks
      1. $Proxy61.retryTasks(Unknown Source)
      1 frame
    16. com.thortech.xl
      ResourceProfileProvisioningTasksAction.retryTasks
      1. com.thortech.xl.webclient.actions.ResourceProfileProvisioningTasksAction.retryTasks(Unknown Source)
      1 frame
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    18. struts
      DispatchAction.dispatchMethod
      1. org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      1 frame
    19. com.thortech.xl
      tcAction.execute
      1. com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      2. com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      3. com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      3 frames
    20. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      4 frames
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    22. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      5 frames
    23. com.thortech.xl
      SecurityFilter.doFilter
      1. com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      1 frame
    24. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
      2 frames
    25. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    26. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(Unknown Source)
      1 frame
    27. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
      3 frames
    28. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      2 frames