samba4 syncpasswords
Publié : 20 août 2020 - 14:43
Hello,
I recently experienced an issue with password synchronization between samba4 and a remote LDAP.
I used your script syncpwd.py which did work for a while. Then one month ago someone join a new DC to the domain and it crashed the syncpasswords service with the following error:
Thu Aug 20 11:09:10 2020: pid[13433]: ldb.LdbError(12) => (LDAP error 12 LDAP_UNAVAILABLE_CRITICAL_EXTENSION - <0000202C: Unable to unmarshall cookie as a ldapControlDirSyncCookie structure at ../source4/dsdb/samdb/ldb_modules/dirsync.c:1269> <>)
Thu Aug 20 11:09:10 2020: pid[13433]: Wait before connect - sleep(1)
Thu Aug 20 11:09:11 2020: pid[13433]: Connecting to 'ldapi:///var/lib/samba/private/ldap_priv/ldapi'
I tried to delete, re create the ldb cache, but it still crashes.
I recently posted on the samba list whitout success. I also tried to increase samba loglevel but had not much information.
So i was wondering if any of you ever experienced such a behavior?
I recently experienced an issue with password synchronization between samba4 and a remote LDAP.
I used your script syncpwd.py which did work for a while. Then one month ago someone join a new DC to the domain and it crashed the syncpasswords service with the following error:
Thu Aug 20 11:09:10 2020: pid[13433]: ldb.LdbError(12) => (LDAP error 12 LDAP_UNAVAILABLE_CRITICAL_EXTENSION - <0000202C: Unable to unmarshall cookie as a ldapControlDirSyncCookie structure at ../source4/dsdb/samdb/ldb_modules/dirsync.c:1269> <>)
Thu Aug 20 11:09:10 2020: pid[13433]: Wait before connect - sleep(1)
Thu Aug 20 11:09:11 2020: pid[13433]: Connecting to 'ldapi:///var/lib/samba/private/ldap_priv/ldapi'
I tried to delete, re create the ldb cache, but it still crashes.
I recently posted on the samba list whitout success. I also tried to increase samba loglevel but had not much information.
So i was wondering if any of you ever experienced such a behavior?