outsourcing DCE/RPC to alternate programs - runtime config option

Jeremy Allison jra at samba.org
Thu Dec 9 21:34:21 GMT 2004


On Thu, Dec 09, 2004 at 03:26:36PM -0600, Anthony Liguori wrote:
> 
> Couple things to note.
> 
> 1) namedpipe_read and namedpipe_write's semantics aren't universally
> obeyed.  While testing, I found that Samba does not handle partial reads
> or partial writes.  

In what way ? Can you explain the failures here please ?

> 2) If any of the functions are not function in the module it falls back
> to using Samba's pipe code.
> 
> 3) pipe_create gets passed a connection_struct and a vuid.  These fields
> are meaningless to an external library without a lot of Samba
> knowledge.  Thoughts?

That's ok. Any library using this interface is part of Samba and will
understand these things.

> I tested it and it seems to work.  It executes the pipe as the
> appropriate user, reads and writes correctly.

Cool !

> I didn't write a header file either which I imagine is necessary because
> I was unsure of how such a thing should be licensed..  Could these
> modules be non-GPL?

Nope - must be GPL.

Jeremy.


More information about the samba-technical mailing list