Ethereal-dev: [Ethereal-dev] patch for packet-dcerpc-srvsvc.c: NetServerDiskEnum [resend]

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

From: Eric Wedel <ewedel@xxxxxxxxxxx>
Date: Fri, 21 Nov 2003 13:32:52 -0800
[That last one was a bit mangled, let's try again.]

Hi..
 
Just tripped over NetServerDiskEnum, which doesn't seem to be displaying
quite properly.  Used the sample code for NetServerDiskEnum at MSDN:
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/net
mgmt/netserverdiskenum.asp
to check this.
 
The attached patch fixes the reply display only.  Looks good against win2k
(sp3) and NT4 (sp6) machines.  Please check this in.
 
The patch only addresses the NetServerDiskEnum reply, as it is the more
interesting one.  But the request seems a little broken too, specifically it
is not at all clear from either the win32 API or captures that the
DISK_ENUM_CONTAINER parameter is an in/out.  Seems more likely to me that it
is [out] only.
 
Anybody know any more about the request format, or have any interesting
captures of it?
 
regards, Eric



*********************************************************************
This e-mail and any attachment is confidential. It may only be read, copied and used by the intended recipient(s). If you are not the intended recipient(s), you may not copy, use, distribute, forward, store or disclose this e-mail or any attachment. If you are not the intended recipient(s) or have otherwise received this e-mail in error, you should destroy it and any attachment and notify the sender by reply e-mail or send a message to sysadmin@xxxxxxxxxxx
*********************************************************************

Attachment: eth0916.pat
Description: Binary data