diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-08-28 11:45:08 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-08-28 11:45:08 +0000 |
commit | 8fde3b7561ce61061c6d9ae8149c1ea916fdd7cb (patch) | |
tree | 6d42c0f32f0c521e3e63c363d1bb715b6a1bb842 /epan/dissectors/packet-smb2.c | |
parent | 659b175cd799288e125f633ccc0d5dcf4d05f16c (diff) |
rename dcerpc_smb_store_pol_name to dcerpc_store_polhnd_name
rename dcerpc_smb_fetch_pol to dcerpc_fetch_polhnd_data and also make
it take an additional parameter to return the "type" of the policy
handle, if such a type was stored.
extend the pol_value structure used to track policy handles to also
store a type to represent what created the policy handle
types could be USER/ALIAS/CONNECT/... etc handles returned from the
SAMR interface
add a new helper function dcerpc_store_polhnd_type()
track policy handles between request/responses for dcerpc
update the samr.cnf file to make the samr dissectors for
SetSecurity/QuerySecurity dissect the specific bits for the security
descriptor correctly based on whether the policy handle refers to a
CONNECT/DOMAIN/USER/ALIAS or GROUP
svn path=/trunk/; revision=22703
Diffstat (limited to 'epan/dissectors/packet-smb2.c')
-rw-r--r-- | epan/dissectors/packet-smb2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c index 5009f0237d..8615a41a23 100644 --- a/epan/dissectors/packet-smb2.c +++ b/epan/dissectors/packet-smb2.c @@ -941,7 +941,7 @@ dissect_smb2_fid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset } else { fid_name = se_strdup_printf("File: "); } - dcerpc_smb_store_pol_name(&policy_hnd, pinfo, + dcerpc_store_polhnd_name(&policy_hnd, pinfo, fid_name); } break; @@ -957,7 +957,7 @@ dissect_smb2_fid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset /* put the filename in col_info */ - if (dcerpc_smb_fetch_pol(&policy_hnd, &fid_name, &open_frame, &close_frame, pinfo->fd->num)) { + if (dcerpc_fetch_polhnd_data(&policy_hnd, &fid_name, NULL, &open_frame, &close_frame, pinfo->fd->num)) { if(fid_name){ if(hnd_item){ proto_item_append_text(hnd_item, " %s", fid_name); |