#前提・実現したいこと
Windows10のSMB1.0/CIFSを利用しない状態で、エクスプローラーのネットワークにCentOS7.4+Samba4で構築したNFSを表示させたい
ネット検索で調べた範囲では、SMB1.0/CIFSを有効にする方法しか見つけられませんでしたが、
当方が所有するReadyNAS RN528X(Debain+Samba)は、ネットーワーク上に表示されているので、
何かSambaの設定を変更することで可能ではと試行錯誤しています
#発生している問題・エラーメッセージ
現状エクスプローラーで、\サーバー名\で接続と各種操作は可能になっていますが、
ネットーワーク上にはサーバーが表示されません。
ReadyNAS RN528XのSamba.confに記述があり、自分で構築したSamba.confに無い設定を検索して見ましたが、
どの項目がネットワーク表示を可能にしているか?見つけることが出来ませんでした。
試したこと
#SELinuxはDisable
#/etc/sysconfig/iptablesに下記追加
-A INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
#/etc/samba/smb.confは下記の様に記述
global]
min protocol = SMB2
unix charset = UTF-8
dos charset = CP932
mangled names = no
workgroup = WORKGORUP
netbios name = サーバー名
server string = Samba
security = user
passdb backend = tdbsam
hosts allow = 127.0.0.1 192.168.100.0/28
hosts deny = all
wins support = no domain master = no local master = no preferred master = no os level = 0 map to guest = Never unix extensions = no bind interfaces only = yes printing = bsd disable spoolss = yes
[data]
comment = Commit User Only
path = /Samba/data
vfs objects = streams_xattr oplocks = no kernel oplocks = no level2 oplocks = no wide links = no browsable = yes valid users = ユーザー名 writable = yes write list = ユーザー名 guest ok = no create mode = 0600 directory mode = 0700
※現在は、1ユーザーのみで試験運用しながら確認中です。
#補足情報(ReadyNAS RN528XのSamba.conf)
ReadyNAS RN528Xと自分で構築したSamba NFSは同じユーザー名でのログイン設定にしています。
#Samba.conf
[global]
include = /etc/frontview/samba/smb.conf.defaults
dos charset = CP1252
hostname lookups = 0
map to guest = never
oplocks = 1
realm =
security = user
template homedir = /home/%U
workgroup = WORKGROUP
smb encrypt = enabled
include = /etc/frontview/samba/smb.conf.%a
include = /etc/frontview/samba/smb.conf.overrides
include = /etc/frontview/samba/Shares.conf
include = /etc/frontview/samba/Shares.conf.%G
include = /etc/frontview/samba/addons/addons.conf
include = /run/usb/samba/Shares.conf
#/etc/frontview/samba/smb.conf.defaults
client max protocol = SMB3
dbwrap_tdb_mutexes:* = yes
delete readonly = 1
delete veto files = 1
dfree cache time = 15
disable spoolss = 1
dos filemode = 1
ea support = 1
fruit:copyfile = yes
fruit:encoding = native
fruit:locking = netatalk
guest account = guest
inherit acls = 1
invalid users = root
force unknown acl user = 1
host msdfs = 1
load printers = 0
log level = 0 auth:2
map acl inherit = 0
map archive = 0
map readonly = 0
max log size = 512
min receivefile size = 0
name resolve order = lmhosts host wins bcast
ntlm auth = ntlmv1-permitted
obey pam restrictions = 1
passdb backend = tdbsam
passwd program = "/usr/bin/passwd %u"
printcap name = /dev/null
rpc_server:mdssvc = embedded
smb2 leases = 1
server max protocol = SMB3
server string = "%h"
store dos attributes = 1
strict allocate = 0
unix charset = UTF-8
unix extensions = 0
unix password sync = 1
use sendfile = 1
username map = /etc/frontview/samba/usermap.conf
veto files = /Network Trash Folder/Temporary Items/
vfs objects = acl_xattr snapper btrfs
winbind expand groups = 1
winbind max clients = 6000
winbind use default domain = 1
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。