Samba help urgently needed

I have an openSuse 42.1 server having 4.7.0-1-default kernel. Two machines are connected to the server, the first one being openSuse 42.2 having 4.4.104-18.44-default kernel, and the second one being openSuse Leap 15.0 having 4.12.14-lp150.12.48-default kernel.
Yesterday, I upgraded the second machine (Leap 15.0) with the above mentioned (new) kernel, and file sharing via samba does not work any more between the server and the Leap 15.0. The latter is allowed to open files in read-only mode. Also no copy/paste is allowed. On the other hand, the file sharing between the server and said first machine (openSuse 42.2) works fine; well no upgrades have been done.
Help to resolve the matter is urgently needed, since my work is on hold for two days.
Thanks all of you for helpful tips and hints.

Share the smb.conf for the affected machines. That might help others to advise further.

smb.conf of the server:


# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2012-05-02
[global]
    workgroup = INVENTIO
    netbios name = INVENTIO_SRV
    passdb backend = smbpasswd
    encrypt passwords = yes
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    guest ok = No
    usershare allow guests = No

# Added by JK, 2012-09-02
# dostop do mreznih imenikov in varnostnih kopij
[dokumenti]
    comment = Dokumenti
    inherit acls = Yes
    path = /home/mreza/dokumenti
    read only = No
    create mask = 0664
    force create mode = 0664
    directory mask = 0775
    force directory mode = 0775
    force user = mreza
    valid users = @users
    writable = Yes

[shramba]
    comment = Shramba
    inherit acls = Yes
    path = /home/mreza/shramba
    read only = No
    create mask = 0664
    force create mode = 0664
    directory mask = 0775
    force directory mode = 0775
    force user = mreza
    valid users = @users
    writable = Yes

[tmp]
    comment = Zacasni imenik na strezniku
    inherit acls = Yes
    path = /home/mreza/tmp
    read only = No
    force user = mreza
    valid users = @users
    writable = Yes

[backup]
    comment = Varnostne kopije dokumentov in shrambe
    inherit acls = Yes
    path = /local/backup
    read only = Yes
    guest ok = No
    force user = mreza
    valid users = @users
    writable = No

# [homes]
#    comment = Home Directories
#    valid users = %S, %D%w%S
#    browseable = No
#    read only = No
#    inherit acls = Yes
# [profiles]
#    comment = Network Profiles Service
#    path = %H
#    read only = No
#    store dos attributes = Yes
#    create mask = 0600
#    directory mask = 0700
# [users]
#    comment = All users
#    path = /home
#    read only = No
#    inherit acls = Yes
#    veto files = /aquota.user/groups/shares/
# [groups]
#    comment = All groups
#    path = /home/groups
#    read only = No
#    inherit acls = Yes
# [printers]
#    comment = All Printers
#    path = /var/tmp
#    printable = Yes
#    create mask = 0600
#    browseable = No
# [print$]
#    comment = Printer Drivers
#    path = /var/lib/samba/drivers
#    write list = @ntadmin root
#    force group = ntadmin
#    create mask = 0664
#    directory mask = 0775

and smb.conf of the client:


# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
    workgroup = INVENTIO
    passdb backend = tdbsam
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    usershare allow guests = No
    security = domain
[homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes
[profiles]
    comment = Network Profiles Service
    path = %H
    read only = No
    store dos attributes = Yes
    create mask = 0600
    directory mask = 0700
[users]
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/
[groups]
    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes
[printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No
[print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775

There was an update in the kernel that only version 3 of samba is supported by default, or you have to enable explizit in your fstab by adding vers=1.0 to your mount line…
https://linuxsecurity.com/advisories/opensuse/opensuse-2019-0203-1-important-the-linux-kernel

  • smb3: Improve security, move default dialect to SMB3 from old CIFS
    (bsc#1051510).

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/cifs?id=eef914a9eb5eb83e60eb498315a491cd1edc13a1

Many thanks. It works now.

Good to know.

For others who are interested…
https://lists.opensuse.org/opensuse-updates/2019-02/msg00094.html