Some interop notes

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jun 8 14:28:49 UTC 2017


On Thu, Jun 08, 2017 at 03:46:12PM +0200, Moritz Bechler via samba-technical wrote:
> Hi,
> 
> I've been recently adding SMB2 support to our fork of jcifs. I started
> out very aggressively compounding related requests and noticed two
> instances where samba errs out on these (the MS impl doesn't and as far
> as I am reading the spec these should be perfectly legal):
> 
> - SMB2_SESSION_SETUP + SMB2_TREE_CONNECT fails (SESSION_SETUP) with
> INTERNAL_ERROR (while it should/would be possible at least for the final
> request). This can only happen if multiple session are established as
> samba only starts granting multiple credits later. Source of this seems
> (debugging samba seems kind of non-trivial, can't get any meaningful
> breakpoint to work even in single process mode) to be the SMB2_CREATE

single-process mode, this sounds like you're using the ntvfs file
server in source4/. We'd much prefer that you use source3/smbd for
this work. Or does this happen in source3/smbd also?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list