AnsweredAssumed Answered

Multiple LDAP Domains Import

Question asked by chris.h.liu on Dec 7, 2017
Latest reply on Dec 19, 2017 by Gordon_Preston

We have more than 4 domains need to import CA CMDB with following commands. 

But the 3rd domains always failed with error message 'pdm_ldap_import: Method got_record in Ldap_Catcher failed ()' .

 

pdm_ldap_import -l "last_name='%%'" -c "userid=?"
pdm_ldap_import -n DomainB -l "last_name='%%'" -c "userid=?"

pdm_ldap_import -n DomainC -l "last_name='%%'" -c "userid=?"

pdm_ldap_sync
pdm_ldap_sync -n DomainB

pdm_ldap_sync -n DomainC

 

@NX_LDAP_DN=account1
@NX_LDAP_ENABLE=Yes
@NX_LDAP_ENABLE_AUTO=Yes
@NX_LDAP_HOST=ADServerA
@NX_LDAP_PORT=389
@NX_LDAP_PWD=xxxx
@NX_LDAP_SEARCH_BASE=dc=xx,dc=xx,dc=xx
@NX_LDAP_SERVICE_TYPE=Active Directory
@NX_LDAP_SYNC_ON_NULL=Yes
@NX_LDAP_USER_OBJECT_CLASS=person

 

@NX_LDAP_DOMAIN1=DomainB
@NX_LDAP_DN1=account2
@NX_LDAP_ENABLE_AUTO1=Yes
@NX_LDAP_ENABLE_GROUPS1=No
@NX_LDAP_GROUP_OBJECT_CLASS1=group
@NX_LDAP_HOST1=ADServerB
@NX_LDAP_PORT1=389
@NX_LDAP_PWD1=***
@NX_LDAP_SEARCH_BASE1=dc=xx,dc=xx
@NX_LDAP_SERVICE_TYPE1=Active Directory
@NX_LDAP_SYNC_ON_NULL1=Yes
@NX_LDAP_USER_OBJECT_CLASS1=person


@NX_LDAP_DOMAIN2=DomainC
@NX_LDAP_DN2=account3
@NX_LDAP_ENABLE_AUTO2=Yes
@NX_LDAP_ENABLE_GROUPS2=No
@NX_LDAP_GROUP_OBJECT_CLASS2=group
@NX_LDAP_HOST2=ADServerC
@NX_LDAP_PORT2=3268
@NX_LDAP_PWD2=xxxx
@NX_LDAP_SEARCH_BASE2=dc=xx,dc=xx
@NX_LDAP_SERVICE_TYPE2=Active Directory
@NX_LDAP_SYNC_ON_NULL2=Yes
@NX_LDAP_USER_OBJECT_CLASS2=person

 

Could you advise how to fix it ? thanks

Outcomes