diff options
author | Jim McDonough <jmcd@samba.org> | 2007-05-29 21:50:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:53:04 -0500 |
commit | 0ab01a99a8fc6b90fd449f14131b64240862351b (patch) | |
tree | 5c59743258330aa25259b4f9a23b29d3883444fc /source4/torture/rpc | |
parent | 4690d5c5531fe2f68eb2dfb75874fb6a110031a7 (diff) | |
download | samba-0ab01a99a8fc6b90fd449f14131b64240862351b.tar.gz samba-0ab01a99a8fc6b90fd449f14131b64240862351b.tar.bz2 samba-0ab01a99a8fc6b90fd449f14131b64240862351b.zip |
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)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |