[Pkg-samba-maint] Bug#849921: problem with locking in samba 4.2.14
Jan Korbel
debian at teptin.net
Mon Jan 2 10:05:07 UTC 2017
Package: samba
Version: 4.2.14+dfsg-0+deb8u2
After samba jessie upgrade from 4.2.10+dfsg-0+deb8u3 to
4.2.14+dfsg-0+deb8u2 we have problem with locking files. There are some
FoxPro files/database on share and it works fine on 4.2.10. With newer
version we have permission error on second and others clients - with
same configuration.
smb.cfg:
[global]
netbios name = XXXX-server
workgroup = XXXX
server string = XXXX fileserver
dns proxy = no
log file = /var/log/samba/samba.log
max log size = 0
syslog = 1
log level = 1
vfs objects = full_audit
full_audit:success = connect disconnect link lock mkdir mknod rename rmdir sendfile symlink unlink write
full_audit:failure = connect disconnect link lock mkdir mknod rename rmdir sendfile symlink unlink write pwrite
full_audit:prefix = samba-audit %u|%I|%m|%S
full_audit:facility = local5
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare max shares = 0
usershare allow guests = no
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
domain master = yes
preferred master = yes
[share]
path = /mnt/data/share
browseable = yes
writable = yes
inherit acls = yes
nt acl support = no
create mask = 0700
force create mode = 0700
directory mask = 0770
force directory mode = 0770
Tried some cfg changes like oplocks, kernel oplocks, veto oplock files in "global" or "share", nothing changed.
Only one known solution is samba downgrade.
Except samba packages, all others are from stable and up-to-date.
Any hints? Thanks.
J.K.
Installed packages:
hi libsmbclient:amd64 2:4.2.10+dfsg-0+deb8u3 amd64 shared library for communication with SMB/CIFS servers
hi python-samba 2:4.2.10+dfsg-0+deb8u3 amd64 Python bindings for Samba
hi samba 2:4.2.10+dfsg-0+deb8u3 amd64 SMB/CIFS file, print, and login server for Unix
hi samba-common 2:4.2.10+dfsg-0+deb8u3 all common files used by both the Samba server and client
hi samba-common-bin 2:4.2.10+dfsg-0+deb8u3 amd64 Samba common files used by both the server and the client
hi samba-dsdb-modules 2:4.2.10+dfsg-0+deb8u3 amd64 Samba Directory Services Database
hi samba-libs:amd64 2:4.2.10+dfsg-0+deb8u3 amd64 Samba core libraries
hi samba-vfs-modules 2:4.2.10+dfsg-0+deb8u3 amd64 Samba Virtual FileSystem plugins
hi smbclient 2:4.2.10+dfsg-0+deb8u3 amd64 command-line SMB/CIFS clients for Unix
More information about the Pkg-samba-maint
mailing list