multiple pipes over a single smb conn in samba3

Jeremy Allison jra at samba.org
Tue Jan 25 18:11:00 GMT 2005


On Tue, Jan 25, 2005 at 05:22:02PM +0100, Volker Lendecke wrote:
> Hi!
> 
> Attached find a patch to trunk that extracts the pipe handling from the
> cli_state structure. Target use find in rpcclient/cmd_test.c.
> 
> For the internal API change to be made to each and every call in rpc_client see
> the diff in cli_lsarpc.c.
> 
> With this patch winbind for me still works as does normal rpcclient and the
> 'testme' command of rpcclient.
> 
> The goal of this is to have winbind only open a single connection to a DC
> instead of 3 (and sometimes more, no idea why...).
> 
> Worth it? BTW, the changes in cli_pipe.c are only about 500 lines of patch.

Yeah, go for it ! :-)


More information about the samba-technical mailing list