win7連samba 顯示該IP拒絕連線 - Linux

Donna avatar
By Donna
at 2016-08-17T16:02

Table of Contents

server端使用 ubuntu 16.04 (64bit)
client端使用 win7 (64bit)

root@kevin-ubuntu:/home/smbuser# smbclient -L //10.2.127.104 -U smbuser
WARNING: The "syslog" option is deprecated
Enter smbuser's password:
Domain=[Public] OS=[Windows 6.1] Server=[Samba 4.3.9-Ubuntu]

Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
public Disk
public Disk
IPC$ IPC IPC Service (Samba Server 4.3.9-Ubuntu)
Domain=[Public] OS=[Windows 6.1] Server=[Samba 4.3.9-Ubuntu]

Server Comment
--------- -------
KEVIN-LAI-W7
KEVIN-UBUNTU Samba Server 4.3.9-Ubuntu

Workgroup Master
--------- -------
Public KEVIN-LAI-W7

請問有可能是什麼原因 使得連線失敗呢?
自己估狗試了一些 firewell , selinux關閉了
win7 tcp/ip netbios helper 設定了

但win7端總是找不到ubuntu那台機器(ping的到)

#smb.conf
//--------------------------------
server string = Samba Server %v
security = user
dns proxy = no
hosts allow=10.2.127.
map to guest = bad user
usershare allow guests = yes
[test]
path = /home/kevin/share_folder
valid users=kevin
public = yes
writable = yes
read only = no
valid users = brown
force directory mode = 777
force create mode = 777
force security mode = 777
force directory security mode = 777
hide dot file = no
create mask = 0777
directory mask = 0777
delete readonly = yes
guest ok = yes
available = yes
browseable = yes
[public]
path=/home/smbuser
available = yes
valid users = smbuser
read only = no
browseable = yes
public = yes
writable = yes
//--------------------------------
看到有人推薦 所以我就全加了 有不該加的嗎?

--
Tags: Linux

All Comments

Zanna avatar
By Zanna
at 2016-08-22T00:34
同網段?
Caitlin avatar
By Caitlin
at 2016-08-24T02:19
samba可以設定那些ip可以連,應該是那邊沒改到吧?
Megan avatar
By Megan
at 2016-08-27T19:30
smbpasswd 設了嗎? samba.conf設了嗎?
Freda avatar
By Freda
at 2016-08-30T02:21
browser=ok public=ok....
Daniel avatar
By Daniel
at 2016-08-30T07:20
把samba.conf Po上來看看?
Map to guest設定為?
Ethan avatar
By Ethan
at 2016-09-01T05:33
要不要看一下samba那邊的log看看?
Lydia avatar
By Lydia
at 2016-09-01T21:31
Hosts allow=10.2.127."*" 不需要萬用字元嗎?
Skylar Davis avatar
By Skylar Davis
at 2016-09-05T21:04
map to guest=bad "password"試試?
Yedda avatar
By Yedda
at 2016-09-09T03:36
可以使用testparm指令檢查smb.conf是否問題~
Lily avatar
By Lily
at 2016-09-13T23:34
都無法 我退回去14板就沒問題了QQ

有沒有像ease partition的工具?

Kama avatar
By Kama
at 2016-08-17T07:12
可以改變分割區大小 但是檔案都不會動到的工具 linux上有類似的工具嗎? - ...

求助Raspberry Pi3

Eartha avatar
By Eartha
at 2016-08-17T02:19
不知道是否發問對地方 發錯請見諒... 我想完成這篇文章內的設定 用Raspberry pi3打造無線基地台或WIFI熱點 http://imgur.com/a/vxsxT 但遇到幾個困難點... 1.# wpa-conf /etc/wpa_supplicant/wpa_supplicant.co ...

Linux架設mail server收過的信重複一直來

Eden avatar
By Eden
at 2016-08-16T19:55
※ 引述《singulai (智慧水水)》之銘言: : 大大: : 小弟架設mail server後,為何已經收過的信件,重新按傳送與接收,已經收過的信, : 又重複收一遍。收信後,為何/var/spool/mail/user1檔案仍然存在?? : 小弟的Client有設定刪除已接收之信件,仍然無 ...

有關舊linux硬體支援的查詢

Hardy avatar
By Hardy
at 2016-08-16T07:33
各位好! 想請問一下要怎麼看linux 硬體的支援度 因為目前公司有商業軟體一定只能在Centos 5版本的linux上跑, 而最近又要採購新PC,怕C236 + E3-1230 V5這樣的組合, 不能再這麼舊的OS上跑,所以想要請問要如何查linux上的硬體支援度? 再麻煩各位解答了,謝謝! - ...

Kernel版本是否跟主機板上網有沒有關係?

Tracy avatar
By Tracy
at 2016-08-15T13:53
大家好~ 小弟實驗室有一個Z170-WS主機板,晶片組為Intel® Z170 我嘗試安裝openSUSE 42.1 leap,並且設定IP以及子網路遮罩各種有關網路的設定。 但設定完之後發現不能夠上網,我們實驗室的同學討論之後覺得是kernel的版本 還不能支援這塊板子。 我想問大家我們實驗室同 ...