[Pkg-samba-maint] Bug#517760: samba: force group ceased to work in 3.3.0

Jacek Kawa jacek.kawa at gmail.com
Sun Mar 1 21:58:11 UTC 2009

Package: samba
Version: 2:3.3.0-4
Severity: normal

After upgrade, the share option: force group = +group 
seems to no longer have any effect on the final group assignment.


Samba 3.2.5 (or so I believe)

  basia-pc ( connect to service pub initially as user basia (uid=502, gid=100) (pid 16292)
[2009/02/17 22:00:49,  1] smbd/service.c:close_cnum(1405)

Samba 3.3.0:

  basia-pc ( connect to service pub initially as user basia (uid=502, gid=1006) (pid 2372)
[2009/02/19 22:26:44,  1] smbd/service.c:make_connection_snum(1103)

Where user basia:

uid=502(basia) gid=1006(basia) groups=1006(basia), ..., 100(users), ..., 1010(samba)

And share pub configuration:

	comment = Pub
	path = /pub
	valid users = @samba
	force group = +users
	read only = No
	create mask = 0660
	directory mask = 0770
	hide unreadable = Yes


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser              3.110               add and remove users and groups
ii  debconf [debconf-2.0 1.5.25              Debian configuration management sy
ii  libacl1              2.2.47-2            Access control list shared library
ii  libattr1             1:2.4.43-2          Extended attribute shared library
ii  libc6                2.9-3               GNU C Library: Shared libraries
ii  libcap2              2.16-2              support for getting/setting POSIX.
ii  libcomerr2           1.41.3-1            common error description library
ii  libcups2             1.3.9-14            Common UNIX Printing System(tm) - 
ii  libgnutls26          2.6.4-2             the GNU TLS library - runtime libr
ii  libkrb53             1.6.dfsg.4~beta1-6  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.15-1            OpenLDAP libraries
ii  libpam-modules       1.0.1-5             Pluggable Authentication Modules f
ii  libpam-runtime       1.0.1-5             Runtime support for the PAM librar
ii  libpam0g             1.0.1-5             Pluggable Authentication Modules l
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.0~git20080616-1 hierarchical pool based memory all
ii  libwbclient0         2:3.3.0-4           Samba winbind client library
ii  logrotate            3.7.7-3             Log rotation utility
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init scrip
ii  procps               1:3.2.7-11          /proc file system utilities
ii  samba-common         2:3.3.0-4           common files used by both the Samb
ii  update-inetd         4.31                inetd configuration file updater
ii  zlib1g               1:   compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf information:
  samba/tdbsam: false
* samba/generate_smbpasswd: true
* samba/run_mode: daemons

Jacek Kawa  **If you notice that a person is deceiving you,
              they must not be deceiving you very well.**

More information about the Pkg-samba-maint mailing list