I want to use the command pdm_ldap_import to import users from LDAP to CA Service Desk Contacts but importing only LDAP users of a particular LDAP group, is this possible?
CA Service Desk 17.1 and higher
In order to get only the LDAP users of a particular LDAP group, let say by example EEM_PLTF_USERS, you can use the variable @NX_LDAP_FILTER_PREFIX in your NX.env file (see additional information section) and deinstall the option in option manager related to NX_LDAP_USER_OBJECT_CLASS variable.
So, having by example following NX_LDAP_SEARCH_BASE set:
@NX_LDAP_SEARCH_BASE=CN=Users,DC=Unicenter,DC=ServicePlus,DC=ServiceDesk
You need following filter variables set:
@NX_LDAP_FILTER_PREFIX=(&(objectClass=person)(|(memberOf=CN=EEM_PLTF_USERS, OU=EEM,OU=XXXX,DC=Unicenter,DC=ServicePlus,DC=ServiceDesk))
@NX_LDAP_FILTER_SUFFIX=)
and following variable deinstalled (through option manager)
! @NX_LDAP_USER_OBJECT_CLASS=Deinstalled ...
Please, test this in your Test environment first.