Re: Getting CIFS ACLs larger than CIFSMaxBufSize
Sreekanth G <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>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 > > [email protected] > > 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/ -)----- [email protected] > OnLineBook -- http://ubiqx.org/cifs/ -)----- [email protected] > _______________________________________________ linux-cifs-client mailing list [email protected] https://lists.samba.org/mailman/listinfo/linux-cifs-client