r24971: Test more combinations for resetting the account expiry.
[kai/samba.git] / source4 / torture / rpc / samr.c
index 8d3164967a1f1a71e2e8d0d52bd418ae6087384c..a5b171a773d6860f5d432dfe30bece9ee277ed5c 100644 (file)
@@ -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);