CVS update: samba4/source/librpc/idl

Richard Sharpe rsharpe at richardsharpe.com
Wed Nov 19 18:29:48 GMT 2003


On Wed, 19 Nov 2003 tridge at samba.org wrote:

> 
> Date:	Wed Nov 19 09:15:20 2003
> Author:	tridge
> 
> Update of /home/cvs/samba4/source/librpc/idl
> In directory dp.samba.org:/tmp/cvs-serv5136
> 
> Added Files:
> 	srvsvc.idl 
> Log Message:
> srvsvc IDL and test code from metze. Thanks!
> 
> 
> Revisions:
> srvsvc.idl		NONE => 1.1
> 	http://www.samba.org/cgi-bin/cvsweb/samba4/source/librpc/idl/srvsvc.idl?rev=1.1

Hmmm, the IDL for NetrShareEnum seems wrong. For example, Ethereal, which 
dissects this correctly, and follows MSDN in its naming conventions, has 
it as:

/*
 * IDL long NetrShareEnum(
 * IDL      [in] [string] [unique] wchar_t *ServerName,
 * IDL      [in] [out] [ref] SHARE_ENUM_STRUCT *share,
 * IDL      [in] long MaxLen,
 * IDL      [out] long Entries,
 * IDL      [in] [out] [unique] long *ResumeHandle
 * IDL );
 */

while the above change has it as:

/******************/
	/* Function: 0x24 */
	WERROR srvsvc_NetShareEnum(
		[in]   unistr *server_unc,
		[in,out]   srvsvc_NetShareCtr ctr,
		[in]   uint32 preferred_len,
		[out]   uint32 total,
		[in,out]   uint32 *resume_handle
		);

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




More information about the samba-technical mailing list