Samba サーバー (CentOS) でファイルを表示または作成できない

Samba サーバー (CentOS) でファイルを表示または作成できない

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

何が間違っているのでしょうか?

関連情報