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/winbind/wb_samba3_cmd.c | |
parent | f3c25bc6a5f23a248f832fa58c59c16522ac255b (diff) | |
download | samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.tar.gz samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.tar.xz 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/winbind/wb_samba3_cmd.c')
-rw-r--r-- | source4/winbind/wb_samba3_cmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c index 679a2a2335c..54b1dcc39c7 100644 --- a/source4/winbind/wb_samba3_cmd.c +++ b/source4/winbind/wb_samba3_cmd.c @@ -61,11 +61,11 @@ static NTSTATUS wb_samba3_append_info3_as_txt(TALLOC_CTX *mem_ctx, } s3call->response->data.auth.info3.logon_time = - nt_time_to_unix(info3->base.last_logon); + nt_time_to_unix(info3->base.logon_time); s3call->response->data.auth.info3.logoff_time = - nt_time_to_unix(info3->base.last_logoff); + nt_time_to_unix(info3->base.logoff_time); s3call->response->data.auth.info3.kickoff_time = - nt_time_to_unix(info3->base.acct_expiry); + nt_time_to_unix(info3->base.kickoff_time); s3call->response->data.auth.info3.pass_last_set_time = nt_time_to_unix(info3->base.last_password_change); s3call->response->data.auth.info3.pass_can_change_time = @@ -102,7 +102,7 @@ static NTSTATUS wb_samba3_append_info3_as_txt(TALLOC_CTX *mem_ctx, fstrcpy(s3call->response->data.auth.info3.logon_srv, info3->base.logon_server.string); fstrcpy(s3call->response->data.auth.info3.logon_dom, - info3->base.domain.string); + info3->base.logon_domain.string); ex = talloc_strdup(mem_ctx, ""); NT_STATUS_HAVE_NO_MEMORY(ex); |