Age | Commit message (Collapse) | Author | Files | Lines |
|
arguments correctly. There's a string datatype, a devicemode
container with a possibly null devicemode, and a "user level"
structure, whatever that is.
svn path=/trunk/; revision=6659
|
|
while. Also convert to dissect_ndr_* functions instead of old-style
prs_* functions.
Converted devicemode dissection to ndr functions as well. There are
still a bunch of value_strings that can be written to decode some of
the constants here.
svn path=/trunk/; revision=6658
|
|
The old prs_DEVMODE function is still used by something else for the
moment.
svn path=/trunk/; revision=6607
|
|
svn path=/trunk/; revision=6589
|
|
svn path=/trunk/; revision=6587
|
|
svn path=/trunk/; revision=6586
|
|
svn path=/trunk/; revision=6578
|
|
Windows that cause compiler warnings.
svn path=/trunk/; revision=6129
|
|
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
svn path=/trunk/; revision=6117
|
|
The string in this rpc is not a devmode, but rather an object name.
svn path=/trunk/; revision=6092
|
|
definition of "nt_access_mask_fn_t".
svn path=/trunk/; revision=6059
|
|
- combine proto_tree_add_text() and proto_tree_append_text() calls in the
access mask dissector
- make the specific access bits dissector functions return void instead of
an offset
I think Samba has the create user reply wrong. There is perhaps a uint32
marked as unknown that shouldn't be there. Removing this parses all the
captures I have.
svn path=/trunk/; revision=6057
|
|
svn path=/trunk/; revision=6054
|
|
svn path=/trunk/; revision=5850
|
|
routines.
svn path=/trunk/; revision=5846
|
|
into two - one that stores request/reply frame numbers and another
that associates a text name with a policy handle.
Removed all calls to prs_policy_hnd() and converted to calls to
dissect_nt_policy_hnd().
svn path=/trunk/; revision=5772
|
|
svn path=/trunk/; revision=5768
|
|
Fixed incorrect format strings in numerous calls to val_to_str() as you can't use %s
Added %d format to end of numerous calls to val_to_str()
svn path=/trunk/; revision=5763
|
|
svn path=/trunk/; revision=5754
|
|
for a value_string that corresponds to that dissectors opnums. Pass
in -1 if no such table is available.
svn path=/trunk/; revision=5749
|
|
svn path=/trunk/; revision=5721
|
|
Fixed bug in printer notify subtree item display.
The flags field in rfnpcnex is a change id not a flags value.
svn path=/trunk/; revision=5691
|
|
Added true_false_string for printer attributes.
Display notify type and notify field name in subtree item when
dissecting notify options or notify data.
svn path=/trunk/; revision=5690
|
|
Some more updates for printer notification data types as I figure out
how it all hangs together.
svn path=/trunk/; revision=5641
|
|
A RFNPCNEX request contains a NOTIFY_OPTIONS_ARRAY_CTR instead of a
NOTIFY_OPTIONS_ARRAY.
svn path=/trunk/; revision=5639
|
|
svn path=/trunk/; revision=5632
|
|
Fixed calls to dissect_nt_policy_hnd() as ReplyOpenPrinter() opens a
handle and ReplyClosePrinter() closes one.
svn path=/trunk/; revision=5631
|
|
Use the di->levels field to pass info to notify options rather than
mucking about with the private_data fields which mysteriously doesn't
work.
Fixed some display bugs in notify data.
svn path=/trunk/; revision=5625
|
|
prs_werror().
Converted RFFPCNEX (FindFirstPrintChangeNotification) to Ronnie's NDR
routines.
Implemented RFNPCNEX (FindNextPrintChangeNotification). Print
notification data is dissected in a length/buffer format instead of
dissecting as the underlying type (string secdesc, devmode etc).
svn path=/trunk/; revision=5623
|
|
svn path=/trunk/; revision=5513
|
|
- implemented WritePrinter, DeletePrinterData
- fixed dissection of various printerdata routines to use a more
consistent field naming scheme and convert to ndr functions
svn path=/trunk/; revision=5509
|
|
svn path=/trunk/; revision=5454
|
|
add arguments to specify whether the policy handle is being
opened or closed, and don't set the "open frame" for the handle
unless it's being opened and don't set the "close frame" for the
handle unless it's being closed;
store the policy handle before fetching it, so that an open or
close is marked appropriately in the protocol tree on the first
pass;
if the policy handle has a name associated with it, put that
name into the top-level item for the policy handle.
In "packet-dcerpc-spoolss.c":
get rid of aun unused variable;
make "setjob_commands[]" static, as it's not used outside
"packet-dcerpc-spoolss.c";
put a "VALS()" call around the reference to "setjob_commands",
to squelch compiler warnings;
give the SPOOLSS return code field the appropriate
"value_string" array.
svn path=/trunk/; revision=5448
|
|
Converted enumjobs command to Ronnie's NDR dissection routines.
Implemented getjob, setjob, startpageprinter, endpageprinter commands using
NDR routines.
svn path=/trunk/; revision=5435
|
|
svn path=/trunk/; revision=5380
|
|
Put in a comment noting a problem in the code.
svn path=/trunk/; revision=5341
|
|
decoded properly.
Add printer name to COL_INFO field in ClosePrinter request.
svn path=/trunk/; revision=5322
|
|
"dissect_nt_sec_desc()".
Also, get rid of code to handle lengths of -1 in "dissect_nt_sec_desc()"
- we never pass it a length of -1, as security descriptors aren't sent
over the wire with NDR syntax.
svn path=/trunk/; revision=5317
|
|
another one in the COL_INFO field.
svn path=/trunk/; revision=5300
|
|
functions, from David Frascone.
svn path=/trunk/; revision=5288
|
|
PRINTER_INFO_2 and PRINTER_INFO_3 structures.
Added dissector for EnumJobs rpc - not quite finished yet.
svn path=/trunk/; revision=5231
|
|
frame number arguments, and elements in data structures, unsigned,
display them with "%u" rather than "%d", and use 0, rather than -1, as
"not known".
svn path=/trunk/; revision=5223
|
|
inside a Netlogon security descriptor.
Correctly dissect NT security descriptors as they appear inside an LSA
security descriptor (at least as those appear inside a Netlogon security
descriptor) - they get sent over the wire, apparently, as an opaque blob
from the point of view of DCE RPC, at least from one capture I've seen,
they do *not* get sent over the wire in DCE RPC NDR syntax.
svn path=/trunk/; revision=5212
|
|
"packet-dcerpc-nt.c", and registers "dcerpc_smb_init()" as an
initialization routine. Take the ett_ registration out of the latter
routine, and also take out the "do this only once" stuff.
Get rid of the initialization routines for netlogon, samr, and spoolss;
they just call "dcerpc_smb_init()", which is now an initialization
routine of its own.
The policy hash initialization should be done before every capture, so
it should be done in an initialization routine, and should not do any
"do this only once" stuff. It should also be called only once before
every capture, rather than 3 times.
The ett_ initialization should, however, be done at the same time all
other ett_ initialization is done - at protocol registration time - so
it should be done in a "proto_register_" routine.
This fixes a bug I saw wherein
1) the tree for Unicode strings was open by default
and
2) if you closed one and then exited, Ethereal would crash.
The problem is that "proto_register_subtree_array()" doesn't expand the
array, it just bumps the number of registered ett_ values; the array is
allocated in "proto_init()". As such, if you register ett_ values with
"proto_register_subtree_array()" *after* "proto_init()" is called - and,
even for the first capture, initialization routines are called after
"proto_init()" is called - you will get ett_ numbers that go past the
number of elements in the array.
Move the declaration of "ett_nt_unicode_string" to "packet-dcerpc-nt.h",
as it's exported from "packet-dcerpc-nt.c".
Get rid of the declaration of "dcerpc_smb_init()" in
"packet-dcerpc-nt.h", and make it static, as it's no longer called from
outside "packet-dcerpc-nt.c".
svn path=/trunk/; revision=5196
|
|
svn path=/trunk/; revision=5132
|
|
the structure.
Fixed an off by one but in displaying the device mode in a PRINTER_INFO_2
structure.
The devicemode in a devicemode container is not a deferred pointer but
rather occurs immediately after the pointer if it is non-NULL.
svn path=/trunk/; revision=5114
|
|
before.
Display which info level a getprinter response contains in COL_INFO.
Fixed some bugs in dissecting devicemodes - the device name and form name
live in a 64-byte buffer instead of a NULL terminated unicode string.
svn path=/trunk/; revision=5102
|
|
"dissect_nt_sec_desc()".
svn path=/trunk/; revision=5093
|
|
svn path=/trunk/; revision=5092
|
|
and storage of private data.
Fix memory leaks in form dissectors.
svn path=/trunk/; revision=5020
|