装的是ubuntu7.10,打开SMB服务后windows的网上邻居可以看到ubuntu上共享出来的盘符,但打开不了,说是没有权限,但在ubuntu上可以用连接到服务器的方式连到windows上并读写,下面是我的smb。conf文件的部分信息,哪位大虾能帮我看下是哪里配错啦!!!
======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = workgroup
display charset = UTF-8
unix charset = UTF-8
dos charset = cp936
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
; wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast
#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0
# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = true
当中省略了,下面是共享盘信息
[sda7]
path=/madia/sda7
available=yes
browsable=yes
public=yes
writable=yes
chxg 于 2008-03-05 22:17:40发表:
LS能说的详细点吗
tg8866 于 2008-03-05 20:33:26发表:
添加一个用户到smb数据库中
smbpasswd -a 你的用户名
密码随便。。
再重起一下smb应该就可以了。