From eb7f4cb0e24f48bd4a093846ad228f2534a44410 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 16 Oct 1997 16:01:25 +0000 Subject: smb.h : id_info_1 has a pointer at the front of it. so does return credentials, and so does the client credentials. these are all from the sam logon. auth_level is 16 bytes not 32 and is actually called a switch_level. smbparse.c : smb_io_unihdr() - uni_max_len and uni_str_len are 16 bytes not 32. this may have a knock-on effect on smb_in_unihdr2() but we'll see... (This used to be commit ce36bfb3e4ad4b72a9f9759a3c49d2a73175d249) --- source3/include/smb.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/smb.h b/source3/include/smb.h index 03cdc78e03..e4c2823a19 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -431,6 +431,7 @@ typedef struct clnt_info typedef struct clnt_info2 { DOM_CLNT_SRV login; + uint32 ptr_cred; DOM_CRED cred; } DOM_CLNT_INFO2; @@ -454,8 +455,9 @@ typedef struct arc4_owf_info /* DOM_ID_INFO_1 */ typedef struct id_info_1 { + uint32 ptr_id_info1; /* pointer to id_info_1 */ UNIHDR hdr_domain_name; /* domain name unicode header */ - uint32 param; /* param control */ + uint32 param_ctrl; /* param control */ DOM_LOGON_ID logon_id; /* logon ID */ UNIHDR hdr_user_name; /* user name unicode header */ UNIHDR hdr_workgroup_name; /* workgroup name unicode header */ @@ -471,9 +473,10 @@ typedef struct id_info_1 typedef struct sam_info { DOM_CLNT_INFO2 client; + uint32 ptr_rtn_cred; /* pointer to return credentials */ DOM_CRED rtn_cred; /* return credentials */ uint16 logon_level; - uint32 auth_level; /* undocumented */ + uint16 switch_value; union { -- cgit