DCERPC dissecting and srvsvc_srv_get_get_info ...

Gerald Carter jerry at samba.org
Fri May 24 11:04:02 GMT 2002


On Fri, 24 May 2002, Richard Sharpe wrote:

> Hi,
> 
> I am trying to dissect some SRVSVC RPCs, and am running into a small 
> problem with the info 101 etc structs.
> 
> The structure goes like this ...
> 
>   LONG level
>   Ptr to structure
>   Structure {
>     LONG Platform ID
>     Ptr to name
>     LONG Version Major
>     LONG Version Minor
>     LONG Server Type
>     Ptr to Comment
>   }
>   [I see an extra LONG here]
>   UNISTR2 name
>   [and here]
>   UNISTR2 comment
> 
> However, there seems to be an additional LONG between the structure and 
> the UNISTR2 name and the two UNISTR2s above that I cannot account for.
>  
> Does anyone know what they are for?

Probably just a pointer value to determine if the UNISR2 is there.







cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list