Upgrading my home server from CentOS version 6 to 7, also gave an upgrade of Samba from version 3.6.9-169.el6_5 to version 4.6.2.
When doing this, I ported the /etc/samba/smb.conf
file directly, which worked fine for Samba shares to my PC.
However, my WD TV Media Player can't connect to the Samba shares, which otherwise worked fine before.
The active and relevant part of my smb.conf
file is this:
[global]
workgroup = MY
server string = %h
netbios name = MYSRV
hosts allow = 127. 192.168.12. 192.168.13.
auto services = global movie
guest ok = yes
guest account = movie
browseable = yes
wins support = yes
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
[movie]
comment = Movie all files
path = /media/movie
public = yes
writable = yes
valid users = @users, movie, nobody
create mask = 0644
directory mask = 0755
printable = no
The CentOS 6 server with Samba version 3.6.9-169.el6_5 gives this output from smbstatus
after successful connecting to the shares:
Samba version 3.6.9-169.el6_5
PID Username Group Machine
-------------------------------------------------------------------
3158 movie nobody 192.168.13.57 (192.168.13.57)
3153 movie nobody mymh7 (192.168.13.57)
Service pid machine Connected at
-------------------------------------------------------
barn 3158 192.168.13.57 Sun Mar 25 12:57:37 2018
IPC$ 3149 mymh7 Sun Mar 25 12:56:51 2018
movie 3158 192.168.13.57 Sun Mar 25 12:57:37 2018
IPC$ 3153 mymh7 Sun Mar 25 12:57:36 2018
IPC$ 3150 mymh7 Sun Mar 25 12:56:51 2018
No locked files
The CentOS 7 server with Samba version 4.6.2 gives this output from smbstatus
after failing to connect to the shares:
Samba version 4.6.2
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
7268 movie nobody mymh7 (ipv4:192.168.13.57:41824) NT1 - -
7267 movie nobody 192.168.13.57 (ipv4:192.168.13.57:56874) NT1 - -
7266 movie nobody 192.168.13.57 (ipv4:192.168.13.57:56873) NT1 - -
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
IPC$ 7266 192.168.13.57 Sun Mar 25 12:01:58 PM 2018 CEST - -
IPC$ 7267 192.168.13.57 Sun Mar 25 12:01:58 PM 2018 CEST - -
IPC$ 7268 mymh7 Sun Mar 25 12:02:01 PM 2018 CEST - -
Any ideas of what can be wrong, or suggestions for what I should try?