Improve badPwdCount, lastLogon and logonCount updates
metze at samba.org
Fri Jul 8 14:10:06 UTC 2016
>>> REASON: Exception: Exception: Traceback (most recent call last):
>>> py", line 364, in test_restore_user
>>> self.assertAttributesEqual(obj, attr_orig, obj_restore,
>>> py", line 88, in assertAttributesEqual
>>> % (str(attrs_orig.difference(attrs_rest)),
>>> AssertionError: Actual object does not have expected attributes,
>>> missing from expected (set(['pwdLastSet'])), extra (set())
>>> I'm sure I can figure it out - presumably pwdLastSet moved from
>>> common code to a special case - but any clues give me more time to
>>> review your other patches ;-)
>> So are we expecting pwdLastSet to be there and it's not or
>> the other way?
> s.difference(t) s - t new set with elements in s but
> not in t
> It seems pwdLastSet isn't restored, but it expected it to be restored.
> I'm going to validate the test against Windows. Currently hitting what
> I assume is the minPwdLen issue that seems common across all our tests.
I found and fixed the problems.
I'm running a private autobuild with this.
I think we need a dbcheck update that removes secret attributes from
can you have a look and implement that?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the samba-technical