Disable SMB2 for 3.6?
jra at samba.org
Thu Jul 7 10:13:28 MDT 2011
On Thu, Jul 07, 2011 at 11:01:10AM -0400, simo wrote:
> On Thu, 2011-07-07 at 16:54 +0200, Volker Lendecke wrote:
> > On Thu, Jul 07, 2011 at 04:48:52PM +0200, Stefan (metze) Metzmacher wrote:
> > > > In response to a user bug report I've discovered a deep
> > > > architectural flaw in our SMB2 server: The credential
> > > > handling is not cleanly done in a central place but spread
> > > > out over way too many places. The symptom is that a
> > > > secondary tcon happens to be called as the user who has
> > > > issued the last SMB2 request, not as root as it has been
> > > > done in SMB1. This breaks quite some assumptions deep inside
> > > > our code. Finding such an architectural flaw at this late
> > > > stage in the release process scares me to death. So I would
> > > > strongly recommend that we disable compiling SMB2 in by
> > > > default and only enable it as highly experimental for 3.6.0.
> > >
> > > This patch should fix the problem:
> > > http://gitweb.samba.org/?p=metze/samba/wip.git;a=commitdiff;h=f2806cca536de82739
> > It might fix it, but the fact that this went undetected for
> > so long makes this non-shippable IMO.
> SMB2 is one of the key features of 3.6.0, if it is not ready it is a
> blocker for the release IMO.
Agreed. We need to evaluate the scope of the problem and fix it before
we ship 3.6, but this code does need to be part of the 3.6.0 feature set.
More information about the samba-technical