summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-06 00:17:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:42 -0500
commit2d95d738877cec6870223f4418cfecf4c2a01467 (patch)
treef92685e1e386290b904b5712f51113855f868d33
parent3b0e38f195bd44d29d2033654055b2ea1be3eb62 (diff)
downloadsamba-2d95d738877cec6870223f4418cfecf4c2a01467.tar.gz
samba-2d95d738877cec6870223f4418cfecf4c2a01467.tar.bz2
samba-2d95d738877cec6870223f4418cfecf4c2a01467.zip
r24971: Test more combinations for resetting the account expiry.
Andrew Bartlett (This used to be commit 8844f4796c76c103ce4eaff477c615e74c655e68)
-rw-r--r--source4/torture/rpc/samr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 8d3164967a..a5b171a773 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -390,6 +390,10 @@ static BOOL test_SetUserInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
TEST_USERINFO_INT(17, acct_expiry, 5, acct_expiry, __LINE__, 0);
TEST_USERINFO_INT(21, acct_expiry, 21, acct_expiry, __LINE__,
SAMR_FIELD_ACCT_EXPIRY);
+ TEST_USERINFO_INT(21, acct_expiry, 5, acct_expiry, __LINE__,
+ SAMR_FIELD_ACCT_EXPIRY);
+ TEST_USERINFO_INT(21, acct_expiry, 17, acct_expiry, __LINE__,
+ SAMR_FIELD_ACCT_EXPIRY);
TEST_USERINFO_INT(4, logon_hours.bits[3], 3, logon_hours.bits[3], 1, 0);
TEST_USERINFO_INT(4, logon_hours.bits[3], 5, logon_hours.bits[3], 2, 0);