ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] [packet-dcerpc-lsa.c] POLICY_AUDIT_LOG_INFO fix

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jean-Baptiste Marchand <Jean-Baptiste.Marchand@xxxxxx>
Date: Sun, 27 Jun 2004 17:47:13 +0200
Hello,

the attached patch (based on Samba4 lsa.idl) fixes the dissection of the
POLICY_AUDIT_LOG_INFO information level used by the
LsarQueryInformationPolicy(2) operations.

Jean-Baptiste Marchand
-- 
Jean-Baptiste.Marchand@xxxxxx
HSC - http://www.hsc.fr/
Index: packet-dcerpc-lsa.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-lsa.c,v
retrieving revision 1.95
diff -u -r1.95 packet-dcerpc-lsa.c
--- packet-dcerpc-lsa.c	5 Jun 2004 02:40:22 -0000	1.95
+++ packet-dcerpc-lsa.c	27 Jun 2004 15:44:36 -0000
@@ -723,6 +723,11 @@
         offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
                                      hf_lsa_pali_next_audit_record, NULL);
 
+	/* unknown */
+
+        offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
+                                     hf_lsa_unknown_long, NULL);
+
 	proto_item_set_len(item, offset-old_offset);
 	return offset;
 }