8
« on: July 09, 2021, 10:18:52 AM »
Hi, Im looking want to start syncing AD contacts into MiCollab,
Currently the sync does not add contacts - this is the query &(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2))
I tried to change it to |(objectClass=user)(objectClass=contact)( !(userAccountControl:1.2.840.113556.1.4.803:=2))
i tested this query in AD and it returns enabled users and contacts, however when i entered in IDS i get this error in the log file, progress in IDS is at 0 % forever.
2021-07-08 18:07:11.138303500 File "/sbin/e-smith/ids-ad-sync", line 744, in <module>
2021-07-08 18:07:11.138526500 main(sys.argv)
2021-07-08 18:07:11.138553500 File "/sbin/e-smith/ids-ad-sync", line 741, in main
2021-07-08 18:07:11.138823500 performSync(connId, dryrun, ldapDebug=ldapDebug)
2021-07-08 18:07:11.138846500 File "/sbin/e-smith/ids-ad-sync", line 511, in performSync
2021-07-08 18:07:11.139027500 attrMappings, dryrun, True)
2021-07-08 18:07:11.139037500 File "/sbin/e-smith/ids-ad-sync", line 348, in performQuery
2021-07-08 18:07:11.139171500 queryResults = _performQueryHelper()
2021-07-08 18:07:11.139191500 File "/sbin/e-smith/ids-ad-sync", line 286, in _performQueryHelper
2021-07-08 18:07:11.139384500 userAttrs[adGuidKey] = str(uuid.UUID(bytes_le=userAttrs[adGuidKey]))
2021-07-08 18:07:11.139404500 File "/usr/lib64/python2.7/site-packages/ldap/cidict.py", line 27, in __getitem__
2021-07-08 18:07:11.139424500 return self.data[lower(key)]
2021-07-08 18:07:11.139465500 KeyError: 'objectguid'