作者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)