instead of just displaying it as some hex string.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4937
f5534014-38df-0310-8fa8-
9805f1628bb7
* Copyright 2001, Tim Potter <tpot@samba.org>
* 2002 structure and command dissectors by Ronnie Sahlberg
*
* Copyright 2001, Tim Potter <tpot@samba.org>
* 2002 structure and command dissectors by Ronnie Sahlberg
*
- * $Id: packet-dcerpc-netlogon.c,v 1.6 2002/03/13 10:52:22 sahlberg Exp $
+ * $Id: packet-dcerpc-netlogon.c,v 1.7 2002/03/13 11:19:16 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "packet-dcerpc-nt.h"
#include "packet-dcerpc-netlogon.h"
#include "smb.h" /* for "NT_errors[]" */
#include "packet-dcerpc-nt.h"
#include "packet-dcerpc-netlogon.h"
#include "smb.h" /* for "NT_errors[]" */
+#include "packet-smb-common.h"
static int proto_dcerpc_netlogon = -1;
static int hf_netlogon_rc = -1;
static int proto_dcerpc_netlogon = -1;
static int hf_netlogon_rc = -1;
{
guint32 len;
dcerpc_info *di;
{
guint32 len;
dcerpc_info *di;
di=pinfo->private_data;
if(di->conformant_run){
/*just a run to handle conformant arrays, nothing to dissect */
di=pinfo->private_data;
if(di->conformant_run){
/*just a run to handle conformant arrays, nothing to dissect */
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
hf_netlogon_lsa_sd_size, &len);
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
hf_netlogon_lsa_sd_size, &len);
- proto_tree_add_item(tree, hf_netlogon_lsa_sd_data, tvb, offset, len, FALSE);
+
+ dissect_nt_sec_desc(tvb, pinfo, offset, tree, len);
+ offset += len;
+/* proto_tree_add_item(tree, hf_netlogon_lsa_sd_data, tvb, offset, len, FALSE);