diff options
author | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-04-03 05:43:59 +0000 |
---|---|---|
committer | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-04-03 05:43:59 +0000 |
commit | 41a3a3da2cd79a0499401a1a266a0c6ef0f6bddf (patch) | |
tree | 009e2f604ae7d1249631077024491a1d8da7a1be /packet-dcerpc-samr.c | |
parent | 24935a5ebd783e9a8ace0304c9542cf746fd2b8c (diff) |
When dissecting specific rights, pass a name string down so the
proto item says "foo specific rights" instead of just "specific
rights".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7401 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-samr.c')
-rw-r--r-- | packet-dcerpc-samr.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/packet-dcerpc-samr.c b/packet-dcerpc-samr.c index 877b4c726f..5f3a9ab9e6 100644 --- a/packet-dcerpc-samr.c +++ b/packet-dcerpc-samr.c @@ -3,7 +3,7 @@ * Copyright 2001,2003 Tim Potter <tpot@samba.org> * 2002 Added all command dissectors Ronnie Sahlberg * - * $Id: packet-dcerpc-samr.c,v 1.82 2003/03/11 22:51:51 guy Exp $ + * $Id: packet-dcerpc-samr.c,v 1.83 2003/04/03 05:43:58 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1140,7 +1140,7 @@ samr_dissect_connect2_rqst(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_connect); + specific_rights_connect, "SAMR connect"); return offset; } @@ -1161,7 +1161,7 @@ samr_dissect_connect4_rqst(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_connect); + specific_rights_connect, "SAMR connect"); return offset; } @@ -1350,7 +1350,7 @@ samr_dissect_open_domain_rqst(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_domain); + specific_rights_domain, "SAMR domain"); offset = dissect_ndr_pointer_cb( tvb, offset, pinfo, tree, drep, dissect_ndr_nt_SID, @@ -1470,7 +1470,7 @@ samr_dissect_create_alias_in_domain_rqst(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_alias); + specific_rights_alias, "SAMR alias"); return offset; } @@ -2011,7 +2011,7 @@ samr_dissect_create_user2_in_domain_rqst(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_user); + specific_rights_user, "SAMR user"); return offset; } @@ -2030,7 +2030,7 @@ samr_dissect_create_user2_in_domain_reply(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access_granted, - specific_rights_user); + specific_rights_user, "SAMR user"); offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_samr_rid, NULL); @@ -4518,7 +4518,7 @@ samr_dissect_open_group_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_group); + specific_rights_group, "SAMR group"); offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_samr_rid, &rid); @@ -4573,7 +4573,7 @@ samr_dissect_open_alias_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_alias); + specific_rights_alias, "SAMR alias"); offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_samr_rid, &rid); @@ -4657,7 +4657,7 @@ samr_dissect_create_group_in_domain_rqst(tvbuff_t *tvb, int offset, offset = dissect_nt_access_mask( tvb, offset, pinfo, tree, drep, hf_samr_access, - specific_rights_group); + specific_rights_group, "SAMR group"); return offset; } |