小弟在Samba設定上遇到點問題 - Linux

By Mason
at 2014-05-04T17:14
at 2014-05-04T17:14
Table of Contents
我的測試還境是:
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
----------------------結束------------------------------
--
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
----------------------結束------------------------------
--
Tags:
Linux
All Comments

By Elizabeth
at 2014-05-05T03:36
at 2014-05-05T03:36

By Daph Bay
at 2014-05-06T20:16
at 2014-05-06T20:16
Related Posts
X240 網卡無法動作

By Poppy
at 2014-05-03T19:14
at 2014-05-03T19:14
compile kernel

By Anonymous
at 2014-05-03T12:51
at 2014-05-03T12:51
關於crontab設定問題

By Dorothy
at 2014-05-02T18:57
at 2014-05-02T18:57
Linux C多執行緒的疑問!?

By Leila
at 2014-05-02T11:30
at 2014-05-02T11:30
usb安裝+碰上還原卡

By Anonymous
at 2014-05-02T07:33
at 2014-05-02T07:33