sys_setgroups in samba-3.3.X fails, cause a panic

Jeremy Allison jra at samba.org
Fri Aug 7 15:24:45 MDT 2009


On Fri, Aug 07, 2009 at 11:18:03PM +0200, Volker Lendecke wrote:
> On Fri, Aug 07, 2009 at 03:33:55PM -0400, David Collier-Brown wrote:
> > This is a common problem with non-Linux OSs, and can result in an
> > improper denial of access to someone's files.  The right answer is to
> > fix Solaris et all (and I have a bug open and a putative workaround),
> > but that causes binary-compatibility concerns. 
> > On Solaris and ZFS, the native SMB server has infinite groups, but there
> > is no
> > current fix for the underlying OS.
> 
> Wait a second -- they are doing stuff in the kernel that
> alternative implementations of the SMB protocol are not
> allowed to do? Good for SUN that they are not a dominant SMB
> server, otherwise we'd have some addresses to file
> complaints ....

Yes Dave, what are the syscalls used to allow a userspace
server to do the same thing ?

If this is not yet available I'm going to have some complaints
to make to Oracle....

Jeremy.


More information about the samba-technical mailing list