Update went smoothly but there is an issue with samba.
I know that service names where changed so I enabled and started smb and nmb. I went to Dolphin to check if shares are visible in network and I came across an issue: it asked me for user and password… while the share was always open for guest and possible to modify (all permissions granted) so systems were never asking for anything or allowed for choosing guest and empty password. I tried to enter “guest” as user manually and leave password blank but it wasn’t accepted.
Clearly aside deamons there are some other changes that we must be aware off and change our configs accordingly…
I see smb.conf.pacnew and compared it with my old conf.
So far I see only this dfferentce:
map to guest = bad user
map to guest = Bad Password
However that’s nothing new.
Here is my smb.conf
[global] workgroup = WORKGROUP dns proxy = no log file = /var/log/samba/%m.log max log size = 1000 client max protocol = NT1 server role = standalone server passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes map to guest = bad user usershare allow guests = yes name resolve order = lmhosts bcast host wins security = user guest account = nobody usershare path = /var/lib/samba/usershare usershare max shares = 100 usershare allow guests = yes usershare owner only = yes group = sambashare force create mode = 0070 force directory mode = 0070 wide links = yes follow symlinks = yes
I can’t even test it, because Dolphin throws “no access” constantly once I closed the creditial window. smb and nmb restart, Dolphin restart, nothing helps. I would probably have restart system to check it out again. This is ridiculous. I love Plasma but the worst samba implementation is in Plasma.
On other computers I also lost access, because “I’m not the owner”, which is weird, because I still have usershare allow guests = yes and other lines needed for easy guest access.
I’m browsing samba documentation and cannot find what has changed
I would suspect usershare owner only = yes but it is explained as:
This parameter controls whether the pathname exported by a user defined shares must be owned by the user creating the user defined share or not. If set to True (the default) then smbd checks that the directory path being shared is owned by the user who owns the usershare file defining this share and refuses to create the share if not. If set to False then no such check is performed and any directory path may be exported regardless of who owns it.
So still, not this one. Previously shares were working ok and this update changed something and yet I cannot see anything that would create that issue. Here are release notes:
Any idea how to make samba usable again?