%20%E3%81%A7%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%BE%E3%81%9F%E3%81%AF%E4%BD%9C%E6%88%90%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84.png)
CentOS 7 と Samba を使用してファイル サーバーをセットアップしようとしています。サーバーに接続でき、サーバー上にセットアップした共有フォルダーを開くことができます。ただし、コンテンツを表示できず、新しいファイルやフォルダーを作成することもできません。コンテンツを表示しようとすると、Windows 10 ではフォルダーが空であると表示されます (実際は空ではありません)。共有フォルダーの 1 つに新しいファイルまたはフォルダーを作成しようとすると、フォルダーを所有するアカウントの資格情報を入力しても、アクセス拒否メッセージが表示されます。
smb.conf でアカウントを有効なユーザーとして設定してみましたが、うまくいきませんでした。smb.conf で guest ok をオンに切り替えてもうまくいきませんでした。
私の設定ファイルは次のとおりです:
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
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 = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
[programming]
path = /srv/samba/programming
read only = no
guest ok = yes
[video]
path = /srv/samba/video
read only = no
guest ok = yes
何が間違っているのでしょうか?