作者tom600488 (無奈)
看板Linux
標題[問題] windows連不到linux的samba
時間Fri Jun 13 16:59:33 2008
因為我們公司要放一台linux電腦暫時放資料用
用的是fedoro linux
另外我們有win2000當做server來用
網域是justor
可是問題很奇怪
我設定好之後
用smbclient -L //[電腦IP位址] 去搜尋
都成功
可是用windows去找那台linux卻找不到
我打該電腦的IP找不到
但是我打該電腦的主機名稱確有找到
找到是找到但是點進去他給我出現無法存取\\csvip 您可能沒有使用這網路資源的權限
找不到網路路徑
我很確定的是我IP位址沒設定錯
網域也沒錯
而且我只是用share來分享
根本沒用什麼密碼之類的
我po一下smb.conf的設定
[global]
workgroup = justor
server string = Samba Server Version %v
; netbios name = picture
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
hosts allow = 127. 192.168.1. 192.168.0.
unix charset = utf8
display charset = utf8
dos charset = cp950
# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50
security = share
; passdb backend = tdbsam
domain master = yes
; domain logons = yes
; local master = no
; os level = 20
; preferred master = yes
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
; map archive = no
; map hidden = no
; map read only = no
; map system = no
encrypt passwords = no
; username map = /etc/samba/smbusers
; smb passwd file = /etc/samba/smbpasswd
guest ok = yes
guest account = cs
; store dos attributes = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[VIP]
path = /var/VIP
writeable = yes
browswable = yes
public = yes
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.250.90.220
※ 編輯: tom600488 來自: 60.250.90.220 (06/13 17:14)
※ 編輯: tom600488 來自: 60.250.90.220 (06/13 18:21)