s4:dsdb/tests: use more useful userAccountControl/pwdLastSet values in the urgent_rep...
authorStefan Metzmacher <metze@samba.org>
Tue, 31 May 2016 22:18:05 +0000 (00:18 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Jun 2016 03:00:16 +0000 (05:00 +0200)
commit05fec3ef4bdd39d865a1946d2d0165126730138c
tree386f0d04ddbb0a50b60b0be6edff7e0f118db713
parentc38a7176810d3d9cf06618c5a530347b53503d77
s4:dsdb/tests: use more useful userAccountControl/pwdLastSet values in the urgent_replication test

Using UF_SMARDCARD_REQUIRED has some side effects, so we better use
UF_DONT_EXPIRE_PASSWD which doesn't trigger additional actions.

Setting pwdLastSet to "1" is not allowed, only "-1" is able to change
an existing value of "0".

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9654

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/urgent_replication.py