[linux-cifs-client] Getting CIFS ACLs larger than CIFSMaxBufSize

Sreekanth G gsreekanth at gmail.com
Sat May 2 15:29:19 GMT 2009


The linux cifs client doesn't seem to handle NT_STATUS_BUFFER_TOO_SMALL,
it just sends the initial negotiated buffer size as max data count for
trans2. So, if the server
has more data than the client requested, it would fail. Why is this not
handled
in linux cifs client?

On Sat, May 2, 2009 at 7:44 PM, Christopher R. Hertel <crh at ubiqx.mn.org>wrote:

> Security descriptors are retrieved using NT Transaction messages.
> Transactions are capable of transferring more data than will fit within the
> CIFS MaxBufferSize limit.  They do this by making multiple round trips.
>
> When you receive the first Trans response it will tell you how much space
> you need in order to retrieve the whole thing.
>
>
> http://blogs.technet.com/networking/archive/2009/01/15/smb-and-the-red-herring.aspx
>
> Sreekanth G wrote:
> > I am trying to figure out how does linux cifs client handles the
> situation
> > when the server has data for security descriptor larger than the
> > CIFSMaxBufSize.
> > In this case, the remaining data is lost?
> >
> >
> > Thanks
> > Sreekanth
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > linux-cifs-client mailing list
> > linux-cifs-client at lists.samba.org
> > https://lists.samba.org/mailman/listinfo/linux-cifs-client
>
> --
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development,
> uninq.
> ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list