diff options
author | Günther Deschner <gd@samba.org> | 2009-05-08 00:30:11 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-05-26 09:39:01 +0200 |
commit | a5b1061abf9df853416fb99207a653f0d1957bb4 (patch) | |
tree | e0bff48bc0998a66116b1a2d586a70488a2cc482 /source4 | |
parent | d1d89d2380e2b833091249dca9ace5d5a86df950 (diff) | |
download | samba-a5b1061abf9df853416fb99207a653f0d1957bb4.tar.gz |
s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for Samba3.
I don't get this, why would the account suddenly get ACB_PWNOTREQ ?
Guenther
(cherry picked from commit 310031274d8b0fdf15a5e33fccfd7b6cb81c8a50)
(cherry picked from commit 7dee64aa3544057bc4d436974441052bc863fb3e)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/samr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 3132dddc653..fd4e496eb9e 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -3410,7 +3410,10 @@ static bool test_user_ops(struct dcerpc_pipe *p, printf("QuerUserInfo level 5 failed, it returned 0x%08x when we expected flags of 0x%08x\n", info->info5.acct_flags, expected_flags); - ret = false; + /* FIXME: GD */ + if (!torture_setting_bool(tctx, "samba3", false)) { + ret = false; + } } if (info->info5.rid != rid) { printf("QuerUserInfo level 5 failed, it returned %u when we expected rid of %u\n", |