BUG: https://bugzilla.samba.org/show_bug.cgi?id=14868
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14881
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
a169e013e66bab15e594ce49b805edebfcd503cf)
res = ldb_system.search(userdn, attrs=['unicodePwd'])
self.assertTrue('unicodePwd' in res[0])
+ # force replication here to flush any pending preloads (this
+ # was a racy test).
+ self.force_replication()
+
newpass = userpass + '!'
# Forcing replication should blank out password (when changed)