RFC rawpipe
Andreas Schneider
asn at samba.org
Tue May 31 05:46:31 UTC 2016
On Monday, 30 May 2016 11:10:51 CEST Noel Power wrote:
> On 30/05/16 09:47, Volker Lendecke wrote:
> > On Mon, May 30, 2016 at 10:32:19AM +0200, Andreas Schneider wrote:
> >> We already have that. Take a look at spoolssd, spoolss is only available
> >> over named pipes. smbd accepts the named_pipe and redirects all traffic
> >> to an external named pipe interface.
> >>
> >> make_external_rpc_pipe() creates a named pipe proxy.
> >
> > Ok, I was just told on irc that WSP is RPC. Then you are of course
> > right. I thought this is not DCERPC, but raw transport.
>
> I am a little confused (too many references to bits of the code I don't
> know enough about) however WSP is does *not* use rpc, it uses arbitrary
> binary messages transported using SMB Pipe protocol. The purpose of the
> little infrastructure I proposed (based my Metze's comments) is just to
> provide some simple support of such a raw pipe and allow a service using
> a rawpipe to easily integrate a server loop.
>
> WRT to 'make_external_rpc_pipe()' I am pretty sure that is already used
> 'behind the scenes' e.g. when you specifiy the service pipe by
> rpc_server:$pipename = external
>
> in smb.conf
>
> note: in my implementation I use the external version of the pipe for
> WSP, I put in support for internal for completeness.
>
> however the comments about about spools seem to make me think I have
> missed something but I don't know, have I?
>
> thanks
> Noel
Metze should comment here, he put more thoughts into this. So wait for him :)
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list