[Pkg-samba-maint] Bug#767629: samba: Upgrade to 2:4.1.13 causes previously working force user/group to fail

Barry Pearce barryspearce at hotmail.com
Sat Nov 1 14:49:03 UTC 2014


Package: samba
Version: 2:4.1.13+dfsg-2
Severity: important



smb is configured to user users in smbpasswd and all shares use force user and force group to nobody/nogroup to ensure files are shareable by anyone.

Two shares exhibting odd behaviour now.

[barry]
   comment = Barry's Files
   path = /data/barry
   guest ok = no
   browseable = yes
   read only = no
   force user = nobody
   force group = nogroup
   valid users = barry

[repo]
   comment = Shared Files
   path = /data/share
   guest ok = no
   browseable = yes
   read only = yes
   force user = nobody
   force group = nogroup
   write list = barry

Previously this worked correctly (before the package upgrade to 2:4.1.13 (was previously 2:4.1.11).
Correct behaviour allows use barry to have write access to both shares.

After the upgrade the [barry] share offers NO write access. The [repo] allows creation of files, but not files within newly created directories. 

Disk permissions havent changed and are chown -R nobody.nogroup with write permission on all directories. Newly created directories are writable by nobody.



-- System Information:
|1|wG157mFBEBkfa64UPxq3HH8Mpdw=|635YNxOruj8GMzV+OLt7sl6J3YU= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPzn0WB+nQd7UwgcDJAKo2a34u705YlYZs7vjuQXXaJ+wiVO15vsjrjctMd6jwsOgZdS+jaT7xAih1rZe4+ncXk=
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                              3.113+nmu3
ii  dpkg                                 1.17.13
ii  libasn1-8-heimdal                    1.6~rc2+dfsg-8
ii  libbsd0                              0.7.0-2
ii  libc6                                2.19-12
ii  libcomerr2                           1.42.12-1
ii  libhdb9-heimdal [heimdal-hdb-api-8]  1.6~rc2+dfsg-8
ii  libkdc2-heimdal                      1.6~rc2+dfsg-8
ii  libkrb5-26-heimdal                   1.6~rc2+dfsg-8
ii  libldb1                              1:1.1.17-1
ii  libpam-modules                       1.1.8-3.1
ii  libpam-runtime                       1.1.8-3.1
ii  libpopt0                             1.16-10
ii  libpython2.7                         2.7.8-11
ii  libroken18-heimdal                   1.6~rc2+dfsg-8
ii  libtalloc2                           2.1.1-2
ii  libtdb1                              1.3.1-1
ii  libtevent0                           0.9.21-1
ii  lsb-base                             4.1+Debian13+nmu1
ii  multiarch-support                    2.19-12
ii  procps                               2:3.3.9-8
ii  python                               2.7.8-1
ii  python-dnspython                     1.12.0-1
ii  python-ntdb                          1.0-5
ii  python-samba                         2:4.1.13+dfsg-2
pn  python2.7:any                        <none>
ii  samba-common                         2:4.1.13+dfsg-2
ii  samba-common-bin                     2:4.1.13+dfsg-2
ii  samba-dsdb-modules                   2:4.1.13+dfsg-2
ii  samba-libs                           2:4.1.13+dfsg-2
ii  tdb-tools                            1.3.1-1
ii  update-inetd                         4.43

Versions of packages samba recommends:
ii  attr               1:2.4.47-2
ii  logrotate          3.8.7-1
ii  samba-vfs-modules  2:4.1.13+dfsg-2

Versions of packages samba suggests:
ii  bind9          1:9.9.5.dfsg-4.3
ii  bind9utils     1:9.9.5.dfsg-4.3
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.6.p5+dfsg-3.1
pn  smbldap-tools  <none>
pn  winbind        <none>

-- no debconf information



More information about the Pkg-samba-maint mailing list