r23231: Fix make test on build farm for 64-bit hosts. There's no reason this should
authorJim McDonough <jmcd@samba.org>
Tue, 29 May 2007 21:50:17 +0000 (21:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:53:04 +0000 (14:53 -0500)
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

index 3de6daa90e42d425b04e81769d36ac6659d0d79c..d5a00557cf5df6ca0d5e0d12dc23520bf1c666d5 100644 (file)
@@ -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;