Current Position:Home > Urgent help:Populate Manager field in AD process from

Urgent help:Populate Manager field in AD process from

Update:10-11Source: network consolidation
Advertisement
Hi All,
I have been trying to populate AD Manager field in process from. I have a custom pre pop adapter that fetches DN from the AD. The DN fetched has an escape character which i am removing it in custom code.
The pre pop adapter populates Manager Name filed with a value similar to CN=userlastname, userfirstname,CN=Users,DC=dummy,DC=com.
We have a requirement that the CN should be lastname, firstnamame. I will not be able to use the escape characters while provisioning. Any suggestions as how to implement this would be of great help.
Also when i try to provision with DN=CN=userlastname userfirstname,CN=Users,DC=dummy,DC=com i get the following error message.
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <================= End Stack Trace =======================>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <====================================================>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : createUser : Attribute Mapping Error encountered
Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
        0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
]>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <====================================================
>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <================= Start Stack Trace =======================>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : createUser>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
        0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
]>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <Description : Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
        0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
]>
<Sep 14, 2011 5:40:34 AM PDT> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.exception.InvalidDataException: Error in attribute conversion operation:[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152395, #1:
        0: 000020B5: DSID-03152395, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager)
at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.createObject(Unknown Source)
at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.createUser(Unknown Source)
at com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks.createADorADAMUser(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCREATEUSER.CREATEUSER(adpADCSCREATEUSER.java:163)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADCSCREATEUSER.implementation(adpADCSCREATEUSER.java:61)
at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2936)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:554)
at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(tcORC.java:850)
at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(tcORC.java:1163)
at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(tcOrderItemInfo.java:508)
at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(tcOrderItemInfo.java:153)
at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(tcUDProcess.java:192)
at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:682)
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:397)
at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.setProcessFormDatax(Unknown Source)
at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl.setProcessFormDatax(tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl.java:353)
Please help.

The Best Answer

Advertisement
Two ideas:
First, are you using the latest AD Connector? If not you might look at the bugs fixed because there are a couple related to commas.
Second, LDAP error 19 is coming from AD and is a constraint violation. You might check if there are any constraints on the AD field in the schema. You also have to make sure that the manager DN that you are trying to use is actually where you say it is before you can set it on a subordinate.
Hope that helps.
  • Urgent help:Populate Manager field in AD process from Update:10-11

    Hi All, I have been trying to populate AD Manager field in process from. I have a custom pre pop adapter that fetches DN from the AD. The DN fetched has an escape character which i am removing it in custom code. The pre pop adapter populates Manager

  • How to populate manager field of user while recon Update:11-30

    Hi, I want to populate Manager field while recon. In recon i am getting manager's employee number for particular user so i have to fetch name for that number and i have to map to manager field for that particular user in oim how can i acheive this, i

  • Populate Manager Field on Recon Update:11-30

    Hi, the manager attribute in the user-search-profile of the console is empty after each recon using DBAT connector to a non-dba_users table (by the way, the DBUM connector to a dba_users table DOES populate the manager field using the scheduled jobs)

  • Generic service to populate fields in HCM Processes and Forms Update:11-30

    Dear Friends,   I am developing generic service to populate some fields in HCM Processes and Forms. Please let me know whether i need to develop a single service for each field in the form or is better to write one generic service for all the form fi

  • Manager field in AD is not populating Update:10-11

    Hi guys, I have installed AD connector in OIM 11gR2 and provisioning is working fine. But the manager field is not getting populated. Please let me know how to populate manager field also in AD.Please check how are you populating manager field in the

  • Generating Manager field in OID by using Pre-populate Adapter Update:11-30

    Hi All, I created a pre-populate Adapter that uses First name and Last name of user and add the manager field to OID during provisioning. But during provisioning i am getting Naming Exception. This is what i found in JBoss application server. 09:30:5

  • How to populate text fields with data present in a table Update:10-11

    Hi, The page i'm building has got a select list for the primary key column and text fields corresponding to rest of the columns in the table. upon selecting some value from the list, the data corresponding to that row should get populated in the resp

  • In Sales Order form populate charges field after saving the Sales Order Update:10-11

    Can we populate Charges field in Sales Order form after saving the sales Order automatically. The charges to be calculated based on the amount entered and the item selected in Sales Order. In the Manual process it is done by hitting the Actions Butto

  • How to populate the field Discount Percent (DIS) in the outbound S1ORDEXC? Update:10-11

    Hello all, I am working with the Spec2000 to send out the IDOC S1ORDEXC. Does anyone know how to populate the field Discount Percent (DIS)? This field length of Discount Percent is 2 characters, but our customer discount in the Princing Conditions (S

  • How to populate custom fields for Outbound delivery header (LIKP) Update:10-11

    Hi All, I have added one field in the structure LIKP using APPEND structure. Now want to populate this field from a batch program. I have delivery number. Is there any API or BAPI. I already tried using the FM BAPI_OUTB_DELIVERY_CHANGE by populating