作者evilkiss (evilkiss)
看板Linux
標題[問題] 小弟在Samba設定上遇到點問題
時間Sun May 4 17:14:36 2014
我的測試還境是:
OS Version: Fedora 20
Samba Version: samba-4.1.6-1.fc20.i686
SELinux=disabled
也有重開機過了
但測試smbclient -L //192.168.1.3 -U evilkiss
總是得到:
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
Win7 也看不到該資料夾(Win7-PC ip : 192.168.1.2)
不知道有沒有人知道我哪裡沒做對??
testparm的結果如下(samba.conf是我參考多篇網路設定的結果)
-----------------開始------------------------------------
[root@Fedora-PC samba]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[share]"
Unknown parameter encountered: "share modes"
Ignoring unknown parameter "share modes"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
netbios name = MYSERVER
server string = Samba Server Version %v
map to guest = Bad Password
guest account = evilkiss
log file = /var/log/samba/log.%m
max log size = 50
server max protocol = SMB2
idmap config * : backend = tdb
guest ok = Yes
hosts allow = 127., 192.168.1., 192.168.56.1
cups options = raw
[homes]
comment = Home Directories
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No
[share]
path = /home/share
read only = No
create mask = 0777
directory mask = 0777
guest only = Yes
----------------------結束------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.229.164.41
※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1399194885.A.250.html
→ lantw44:防火牆? firewall-cmd --list-all 出現什麼? 05/05 01:03
→ lantw44:或是用 firewall-config 圖形界面也可以 05/05 01:04