Re: SMB Trans Vs SMB Write / SMB Read

Shirish Pargaonkar <[email protected]>
Newsgroups gmane.linux.file-systems.cifs,gmane.network.samba.internals
Message-ID <[email protected]>
OK.  I was thinking why should named pipe concern itself with how a blob has
arrived i.e.
either via smbtrans or via smbwrite?
For example, in case of QNmPipeInfo, if the blob can contain necessary info
such as
function name (0x26) and Infolevel (0x1), named pipe should have a response
ready
to be read.

On Thu, Sep 24, 2009 at 12:57 AM, Volker Lendecke <[email protected]
> wrote:

>  On Wed, Sep 23, 2009 at 02:20:49PM -0500, Shirish Pargaonkar wrote:
> > In Samba, can a QNmPipeInfo functionality be implemented using SMB Write
> and
> > SMB Read
> > instead of SMB Trans with command QNmPipeInfo?
> >
> > I can send DCE RPC bind using SMB Write and read the bind ack using SMB
> Read
> > instead
> > of SMB Trans TransactNmPipe.
> > I was wondering if similar could be done to implement various named pipe
> > functions such as
> > SetNmPHandState, QNmPHandState, and WaitNamedPipe by sending an
> appropriate
> > blob.
>
> Hmmm. Not that I know of. Those transfer extra metadata that
> is not really inline.
>
> Volker
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkq7CkoACgkQbsgDfmnSbrYnrQCeONWrEuPzIJeEjs9ApMnM9OMP
> zhAAoJPwHljiDgkHDb6ZZpfOrAvpJwjK
> =1nmb
> -----END PGP SIGNATURE-----
>
>

_______________________________________________
linux-cifs-client mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/linux-cifs-client
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.