CA Service Management

  • 1.  Avoid ldap ObjectClass Contact

    Posted Feb 09, 2017 10:39 AM

    Hi, please your help.

     

    pdm_ldap_import and pdm_ldap_syn are importing Active Directory Contacts and Users. Is there any way to avoid this and make ldap integration to ignore objectClass contact objects.

     

    Defining ldap option to objectclass Person is not working because contact are also a person objectClass in Active Directory.

     

    Regards,



  • 2.  Re: Avoid ldap ObjectClass Contact

    Posted Feb 10, 2017 02:55 AM

    Hi

    you may have to play with those ldap object attributes or eventually define your own custom one in your AD for more control.

    Personally I don't use the pdm_ldap as we have our own in house solution but the below filter against a MS AD give generally a good result to me:

       (&(objectCategory=person)(objectClass=user))

     

    Hope this help

    /J



  • 3.  Re: Avoid ldap ObjectClass Contact
    Best Answer

    Posted Feb 10, 2017 10:53 AM

    Thanks for your help. I found this resolution detail in another thread in this community. Your suggestion works, but it is necessary to set in NX.env using @NX_LDAP_FILTER_PREFIX and the @NX_LDAP_FILTER_SUFFIX variables.

     

     Filter contacts from AD with pdm_ldap_import.

     

    Best Regards.

    JOHN



  • 4.  Re: Avoid ldap ObjectClass Contact

    Posted Feb 10, 2017 11:16 AM

    sorry  in fact i did assume you was already using the ldap option

    Good to hear that you did come across a solution

    /J