CA Service Management

Expand all | Collapse all

Contact supervisor details update with SD LDAP SYNC (reloader)

Jump to Best Answer
  • 1.  Contact supervisor details update with SD LDAP SYNC (reloader)

    Posted 02-05-2016 08:40 AM

    Hi guys, how are you?
    We’re looking a way to enhanced provisioning account between AD y SDM. Right now the environment is ready for create contacts in to SDM that exists in AD but don’t SDM side.
    Our necessity is mapping the “Manager” AD account to SDM “Supervisor” field.
    So, based on this articleRE: Contact supervisor details update with SD LDAP SYNC i can't reach to mapping "Manager" value to an auxiliar field, for test purposes are mapping to "middle_name" field.


    Then this look our MOD file placed in /site/mods/majic/ folder.

    //----------------------------------------------------------------------------------
    OBJECT ldap LDAP {
        ATTRIBUTES LDAP_Entry{
         middle_name        manager                STRING ;
        } ;
    } ;
    //----------------------------------------------------------------------------------

     

    After to restart SDM service and executing pdm_ldap__sync this field still empty.

    What can be wrong?

     

    Hari.Saligommula

    Brian_Mathato

    Lindsay_Estabrooks

    Thank you in advance.



  • 2.  Re: Contact supervisor details update with SD LDAP SYNC (reloader)

    Posted 02-05-2016 09:04 AM

    Hi,

     

    Just a thought, you may be hitting a character limit. The ldap_dn attribute on the SD side is 512 characters. Check the length of middle_name, it may be too short for your ldap_dn values.



  • 3.  Re: Contact supervisor details update with SD LDAP SYNC (reloader)

    Posted 02-05-2016 09:14 AM

    Hi gbruneau, yes, i was verified that the "middle_name" lenght is enough to supports "ldap_dn" value.

    Regards!



  • 4.  Re: Contact supervisor details update with SD LDAP SYNC (reloader)
    Best Answer

    Posted 02-05-2016 09:36 AM

    Hi Eduardo,

     

    Since middle_name is already defined in ldap.maj you need to use a modify statement in ldap.mod.

     

    Here's an example from the wiki.

    How to integrate CA SDM with LDAP - CA Service Management - 14.1 - CA Technologies Documentation

     

    //
    // Map CA SDM userid attribute to ADAM Userid
    //
    MODIFY ldap userid cn ;
    MODIFY ldap middle_name middleName ;
    OBJECT ldap LDAP {
    ATTRIBUTES LDAP_Entry{
    contact_num employeeNumber STRING ;
    };
    } ;