Ethereal-dev: [Ethereal-dev] SAMR updates

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

From: "Ronnie Sahlberg" <sahlberg@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2002 00:38:11 +1100
Hi list

updates for samr
and a bugfix in dissect_ndr_pointer()
(should not check referent id for aliases for unique pointers)


the other changes made to dissect_ndr_pointer() are to make it possible to
hand a generic int value to the dissector for the pointer object in a
similar way
as hf_index values are passed through the pointer layer.
Currently only the function dissect_ndr_nt_UNICODE_STRING in
packet-dcerpc-samr.c
use this feature.
The changes to dissect_ndr_nt_UNICODE_STRING were to take advantage of this
feature so
it can know how many additional levels in the tree (above itself) it should
proto_item_append_str() some nice data.

Guy, Todd, see samrtest   in the beginning of the file where the first
ENUM_DOMAINS reply is.
Example of what the patch does and why.

There will be a major effort now to find and fix the remaining bugs in SAMR
as well as prettifying it.


Attachment: dcerpc.patch
Description: Binary data