From 0ab01a99a8fc6b90fd449f14131b64240862351b Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 29 May 2007 21:50:17 +0000 Subject: r23231: Fix make test on build farm for 64-bit hosts. There's no reason this should be any different for 64-bit hosts, but we probably are lucking out on other fields here as well. The "fields_present" field shouldn't just be copied from usrmgr traces, because it indicates which fields should be set, and in this case, we were setting the kickoff time (NOT the expired time) to some random date. (This used to be commit 69270178e5b5b069cc7bcd04d04cf8ec29512da2) --- source4/torture/rpc/samba3rpc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture') diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 3de6daa90e..d5a00557cf 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -582,6 +582,7 @@ static BOOL create_user(TALLOC_CTX *mem_ctx, struct smbcli_state *cli, qui.out.info->info21.force_password_change = 0; qui.out.info->info21.account_name.string = NULL; qui.out.info->info21.rid = 0; + qui.out.info->info21.acct_expiry = 0; qui.out.info->info21.fields_present = 0x81827fa; /* copy usrmgr.exe */ u_info.info21 = qui.out.info->info21; -- cgit