CA Service Management

 View Only
  • 1.  SDM Sync the enabled/disabled contacts in AD

    Posted Jun 26, 2019 10:01 AM
    Hi all,

    I need the SDM synchronize the enabled/disabled contacts in AD to be Active/inactive in SDM

    any idea's 

    Regards,


    ------------------------------
    Eng. Mohanad Bakr
    Professional Services Manager
    Future Systems
    ------------------------------


  • 2.  RE: SDM Sync the enabled/disabled contacts in AD
    Best Answer

    Posted Jun 26, 2019 02:50 PM
    By default, the pdm_ldap_import and pdm_ldap_sync utilities do not take into account whether the AD account is inactive or active. The workaround I use is to:
    1. Uninstall the ldap_user_object_class option in Options Manager.
    2. Execute these 2 commands to add options to the NX.ENV (restart SDM to take effect)

    pdm_options_mgr -c -a pdm_option.inst -a option.inst -s LDAP_FILTER_PREFIX -v "(&(objectClass=user)(sn=*)(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2))"
    pdm_options_mgr -c -a pdm_option.inst -a option.inst -s LDAP_FILTER_SUFFIX -v ")"

    Suggest you do this in a test environment first.
    Run the commands again with the -t option to update the NX.env.tpl file so that changes are not lost if you later run a pdm_configure.

    ------------------------------
    Lindsay Estabrooks
    Principal Consultant
    IT-EDU Consultants
    ------------------------------



  • 3.  RE: SDM Sync the enabled/disabled contacts in AD

    Posted Jul 02, 2019 08:39 AM
    Many Thanks Lindsay Estabrooks
    its working perfectly

    Regards,


    ------------------------------
    Professional Services Manager
    Future Systems
    ------------------------------