几个低级问题,希望大家帮忙!!

由 the3 在 04-06-2004 11:49 发表:

几个低级问题,希望大家帮忙!!

几个低级问题,希望大家帮忙!!

大家好:

这个问题是这样的

Linux和Windows之间尝试使用Samba共享文件,

使用交叉双绞线和网卡连接;

Windows计算机名为laptop,

工作组设置为linuxer ( 我不太清楚Windows98中的计算机名能否用作工作组名,

但是此例中我用另一台计算机的名字作为工作组的名称,smb.conf中同)

IP: 192.168.0.3

Linux的计算机名为 linuxer.linuxer

IP: 192.168.0.2

两台计算机可以互相Ping通, 但是在Windows的网上邻居始终找不到linuxer ,我参

照精华区的设置发现根本没有用;

这是我的smb.conf

#======================= Global Settings =====================================

[global]

workgroup =linuxer

create mask = 0755

directory mask = 0755

client code page = 936

server string = Samba Server

netbios name = linuxer

hosts allow = 192.168.0. 127.0.0.

delete veto files = True

veto files = /.eml/.nws/riched20.dll/.bat/.scr/*.pif/

dont descend = /proc, /dev

dos filetime resolution = True

map to guest = Bad User

map to guest = Bad Password

message command = /usr/bin/linpopup "%f" "%m" %s; rm %s

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

max log size = 0

security = user

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes

passwd program = /usr/bin/passwd %u

passwd chat = NewUNIXpassword %n\n ReTypenewUNIXpassword* %n\n passwd:allauthenticationtokensupdatedsuccessfully*

uname map = /etc/samba/smbusers

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

interfaces = 192.168.0.2/24

deadtime = 5

#============================ Share Definitions ==============================

[homes]

comment = Home Directories

browseable = no

writable = yes

valid users = %S

create mode = 0775

directory mode = 0775

[pub]

comment = public

path = /home/samba/pub

browseable = yes

writable = no

read only = yes

guest ok =

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