diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-08-28 11:45:08 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-08-28 11:45:08 +0000 |
commit | 15942a9944124b6b8fd79300c28add7260731f39 (patch) | |
tree | 6d42c0f32f0c521e3e63c363d1bb715b6a1bb842 /epan/dissectors/packet-dcerpc-svcctl.c | |
parent | f4dfb4ed4ad82659977e3985661641fc8d566c3a (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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22703 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-svcctl.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-svcctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc-svcctl.c b/epan/dissectors/packet-dcerpc-svcctl.c index 49fb39f525..361eeb2416 100644 --- a/epan/dissectors/packet-dcerpc-svcctl.c +++ b/epan/dissectors/packet-dcerpc-svcctl.c @@ -186,7 +186,7 @@ svcctl_dissect_OpenSCManager_reply(tvbuff_t *tvb, int offset, pol_name = "Unknown OpenSCManagerW() handle"; } if(!pinfo->fd->flags.visited){ - dcerpc_smb_store_pol_name(&policy_hnd, pinfo, pol_name); + dcerpc_store_polhnd_name(&policy_hnd, pinfo, pol_name); } if(hnd_item) @@ -272,7 +272,7 @@ svcctl_dissect_OpenSCManagerW_reply(tvbuff_t *tvb, int offset, pol_name = "Unknown OpenSCManagerW() handle"; } if(!pinfo->fd->flags.visited){ - dcerpc_smb_store_pol_name(&policy_hnd, pinfo, pol_name); + dcerpc_store_polhnd_name(&policy_hnd, pinfo, pol_name); } if(hnd_item) @@ -303,7 +303,7 @@ svcctl_dissect_CloseServiceHandle_rqst(tvbuff_t *tvb, int offset, tvb, offset, pinfo, tree, drep, hf_svcctl_hnd, &policy_hnd, NULL, FALSE, TRUE); - dcerpc_smb_fetch_pol(&policy_hnd, &pol_name, NULL, NULL, + dcerpc_fetch_polhnd_data(&policy_hnd, &pol_name, NULL, NULL, NULL, pinfo->fd->num); if (check_col(pinfo->cinfo, COL_INFO) && pol_name) |