Public bug reported:

Binary package hint: samba

Running x86_64 version of Ubuntu 10.04.2 LTS 
samba version: 2:3.4.7~dfsg-1ubuntu3.5

The force group option is not working.  If I specify a group to be
forced on a share, new files/directories created by users connecting to
this share do not get this group set.

smb.conf section:
[example]
  path = /srv/example
  read only = no
  guest ok = no
  valid users = +group1
  force group = +group1

If a user creates a new file/directory in this share, the UNIX group for
the new entry is the user's default UNIX group, not group1.

I see this error in the client log on the samba server:
[2011/04/28 01:02:45,  0] smbd/uid.c:309(change_to_user)
  PANIC: assert failed at smbd/uid.c(309): conn->force_group_gid != (gid_t)-1

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~dfsg-1ubuntu3.5
ProcVersionSignature: Ubuntu 2.6.32-31.61-generic 2.6.32.32+drm33.14
Uname: Linux 2.6.32-31-generic x86_64
NonfreeKernelModules: openafs
Architecture: amd64
Date: Thu Apr 28 01:15:43 2011
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US
 SHELL=/bin/bash
SambaServerRegression: No
SourcePackage: samba

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772158

Title:
  samba force group option fails

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to