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

Mason avatar
By Mason
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
----------------------結束------------------------------

--
Tags: Linux

All Comments

Elizabeth avatar
By Elizabeth
at 2014-05-05T03:36
防火牆? firewall-cmd --list-all 出現什麼?
Daph Bay avatar
By Daph Bay
at 2014-05-06T20:16
或是用 firewall-config 圖形界面也可以

X240 網卡無法動作

Poppy avatar
By Poppy
at 2014-05-03T19:14
版本 ubuntu 13.0 換新的 lenovo x240 抓不到有線和無線網路卡.. 看起來要重編 kernel. 去找 lenovo 的官網嗎?? 有沒有人有經驗的?? 還是乾脆升級?? - ...

compile kernel

Anonymous avatar
By Anonymous
at 2014-05-03T12:51
我是使用ubuntu 12.10 然後下載了3.7.2的source code 在compile 完以後 輸入了sudo kpkg -i linux-image-3.7.2_3.7.2-10.00.Custom_i386.deb 結果卻出現了error的情況 上面是寫 dpkg:error proc ...

關於crontab設定問題

Dorothy avatar
By Dorothy
at 2014-05-02T18:57
search 一下 google 發現可以這樣使用 0 0 * * * bash -c [$((($(date +%s)/86400) % 2)) -eq 0] andamp;andamp; apps/temp/maxx.sh andgt; /apps/temp/maxx.log 2andgt;andam ...

Linux C多執行緒的疑問!?

Leila avatar
By Leila
at 2014-05-02T11:30
※ [本文轉錄自 C_and_CPP 看板 #1JOU9vFQ ] 作者: BIAO (超越自己) 看板: C_and_CPP 標題: [問題] Linux C多執行緒的疑問!? 時間: Thu May 1 13:58:15 2014 開發平台(Platform): (Ex: VC++, GCC, Li ...

usb安裝+碰上還原卡

Anonymous avatar
By Anonymous
at 2014-05-02T07:33
如題目 我要用usb安裝linux 在學校電腦上 可是 電腦有還原卡 在磁碟分割的時候 不知道該怎麼辦 怕出問題 所以終止了(開關長按) 所以請教各位神人 若有還原卡 要怎麼順利安裝 不破壞硬碟資料(和曾加槽數) 情況下 還有後面的開機管理系統 也不知道怎麼辦 另外我明明弄的是usb開機 怎變 ...