samba配置的问题

由 drizzt123 在 10-17-2002 15:45 发表:

samba配置的问题

/etc/samba/smb.conf内容为

[global]

netbios name = test1

workgroup = 1517soft

server string = Samba Server

log file = /var/log/samba/%m.log

max log size = 50

security = share

[homes]

comment = Home Directories

browseable = no

writable = yes

valid users = %s

[public]

comment = Public Stuff

path = /home

public = yes

writable = yes

browseable = yes

启动smb进程后,用nmblookup test1搜索失败,提示

name_query failed to find name test1

但用smbclient -L 192.168.0.20却能看到服务存在,显示如下:

added interface ip=192.168.0.20 bcast=192.168.0.255 nmask=255.255.255.0

Password:

Domain=[1517SOFT] OS=[Unix] Server=[Samba 2.2.5]

Sharename Type Comment

--------- ---- -------

public Disk Public Stuff

IPC$ IPC IPC Service (Samba Server)

ADMIN$ Disk IPC Service (Samba Server)

drizzt Disk Home Directories

Server Comment

--------- -------

TEST1 Samba Server<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus