NamedPipe DCE/RPC struct split

Jeremy Allison jra at samba.org
Mon Jan 14 10:09:18 GMT 2002


On Tue, Jan 15, 2002 at 01:22:26AM +1000, Mike McCormack wrote:
> 
> Simple Technical Question: 
> 
> Will the Samba Team consider accepting a patch that gives access 
> (via Samba) to NBT Named Pipes though a unix domain socket as a 
> standard feature of Samba?

Of course. The idea is to split off the named pipe handling
so that support for any specific pipe is loaded dynamicaly
at runtime. This includes the current "built-in" pipes that
Samba handles.

The way this is intended to work is that smbd will scan a directory
containing named pipe .so's and attempt to load them in and
initialise them in turn. Each .so will get the opportunity
to register a name, which will be the name of the pipe it will
handle.

Then incoming data willbe marshalled by the RPC code in smbd
until a complete RPC request is received, then this will be
passed to the relevent .so. A full RPC reply will then be
handed back to the RPC code in smbd for return to the client.

Two things though. This functionality will not make it into
2.2.x to keep that codebase stable, this will be a 3.0.x
feature - which is moving more and more to a "plug-in" style
of architecture.

Secondly, all such pipe .so's MUST be GPL code, as they will
be linking directly to Samba.

Hope this helps,

	Jeremy.




More information about the samba-technical mailing list