diff options
author | Simo Sorce <idra@samba.org> | 2011-10-21 16:10:43 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-10-24 19:19:28 +0200 |
commit | 8870daeb8d93e45320eb5bcfa58544d520dc7c69 (patch) | |
tree | 918faedfbb2b5f4b618323ee822590b78b4c2d50 /source4/torture | |
parent | f3c25bc6a5f23a248f832fa58c59c16522ac255b (diff) | |
download | samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.tar.gz samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.tar.bz2 samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.zip |
idl: Improve MS-PAC IDL
Change some misleading variable names to reflect the actual function.
Add missing field name/types previously marked as unkown.
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samsync.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index fd1fbbff1f..b92eb21985 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -684,8 +684,8 @@ static bool samsync_handle_user(struct torture_context *tctx, TALLOC_CTX *mem_ct TEST_STRING_EQUAL(user->logon_script, info3->base.logon_script); - TEST_TIME_EQUAL(user->last_logon, info3->base.last_logon); - TEST_TIME_EQUAL(user->acct_expiry, info3->base.acct_expiry); + TEST_TIME_EQUAL(user->last_logon, info3->base.logon_time); + TEST_TIME_EQUAL(user->acct_expiry, info3->base.kickoff_time); TEST_TIME_EQUAL(user->last_password_change, info3->base.last_password_change); TEST_TIME_EQUAL(info->info21.force_password_change, info3->base.force_password_change); @@ -696,8 +696,8 @@ static bool samsync_handle_user(struct torture_context *tctx, TALLOC_CTX *mem_ct /* This copes with the two different versions of 0 I see */ /* with NT4 sp6 we have the || case */ if (!((user->last_logoff == 0) - || (info3->base.last_logoff == 0x7fffffffffffffffLL))) { - TEST_TIME_EQUAL(user->last_logoff, info3->base.last_logoff); + || (info3->base.logoff_time == 0x7fffffffffffffffLL))) { + TEST_TIME_EQUAL(user->last_logoff, info3->base.logoff_time); } TEST_INT_EQUAL(rids->count, info3->base.groups.count); |