Samba Linux Suse Enterprise 15 - アクセスが拒否されました

Samba Linux Suse Enterprise 15 - アクセスが拒否されました

設定しようとしています。サンバLinux SuSE enterprise 15環境でLinux共有をWindowsにマップしようとすると、ログインポップアップが表示され、ログインするたびに返されますAccess Denied

以下は私のsmb.confです。デフォルトのsmbで始まり、次に変更します。

  • Unix文字セットの追加
  • 強制ユーザー
  • ゲストに地図のコメントを残してください。
[global]
    workgroup = WORKGROUP
    passdb backend = tdbsam
    unix charset = UTF-8
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    #map to guest = Bad User
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    usershare allow guests = Yes
[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
[testShare]
       #Shared Directory
       path = /home/oracle/messages
       #writable
       writable = yes
       #allow guest user
       guest ok = yes
       #guest only
       guest only = yes
       #fully accessed 
       create mode = 0777
       #fully accessed 
       directory mode = 0777
       #forceuser
       force user = HoeghSoaDev77

また、Linuxでユーザーを作成しました。サンバ。どんな提案がありますか?

> cat /ect/passwd

HoeghSoaDev77:x:xxxx:xxx::/home/HoeghSoaDev77:/bin/bash

> sudo pdbedit -L -v

[sudo] password for oracle:
---------------
Unix username:        HoeghSoaDev77

ベストアンサー1

これは「共有」共有ですか? 「ゲスト専用」アプローチは、「グローバル」からゲストアクセスをオフにしたため、決して機能しません。

おすすめ記事