torture/samr: Re-open the user when checking for ACB_AUTOLOCK
authorAndrew Bartlett <abartlet@samba.org>
Mon, 25 Nov 2013 04:23:53 +0000 (17:23 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 15:12:45 +0000 (17:12 +0200)
commit3f8f9972f491228b2bbe8880cc139387e9332b09
treeb70005823b90866813785c2ceae557ac1bbe7369
parent5a2eae4229192c8bc009ec8c8d30f372ff4d32e5
torture/samr: Re-open the user when checking for ACB_AUTOLOCK

This flag appears to be cached from the open, so the test incorrectly
indicated that the flag was not set over SAMR.

Andrew Bartlett

Change-Id: I2f1f017191dddb6c2ac496712064fa1b6b48be53
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/rpc/samr.c