|
楼主 |
发表于 2003-5-27 11:52:25
|
显示全部楼层
我在 “服务”--“samba-windows文件共享”-“查看所有联结”里看不到工作组里的其他机器,但LinNeighborhood里能看到。我但samba config是这样配置顶,有问题吗?
#======================= Global Settings =====================================
[global]
workgroup =MSHOME
create mask = 0755
directory mask = 0755
client code page = 936
;
;message command = /bin/mail -s 'message from %f on %m' root < %s; rm %s &
;
; message command = /usr/X11R6/bin/gvim %s ; rm -f %s & == NO SUCCESS ==
; message command = /usr/bin/gxedit %s ; rm -f %s & == NO SUCCESS ==
; message command = /usr/bin/kwrite %s ; rm -f %s &
; message command = /usr/bin/gless %s ; rm -f %s & == NO SUCCESS ==
; message command = /usr/bin/gnp %s ; rm -f %s & == NO SUCCESS ==
; message command = /usr/bin/kedit %s ; rm -f %s &
; message command = /usr/bin/gedit %s ; rm -f %s & == NO SECCUSS ==
; message command = (/usr/bin/gless %s ; rm -f %s)&
; message command = /usr/bin/gless %s ; rm -f %s &
; message command = /bin/mail -s 'Message from %f %M on %m %I' root < %s ; rm -f %s &
; message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
name resolve order = host wins bcast lmhosts
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
; logon script = %m.bat
; logon script = %U.bat
announce version = 5.0
announce as = Windows NT Enterprise Edition 5.0
log file = /var/log/samba/log.%m
max log size = 0
; interfaces = 192.168.20.8/24 211.148.130.133/28
deadtime = 5
hosts allow = 127.0.0. 192.168.20. 192.168.30. 211.148.130.128/255.255.255.240
hosts deny = all
delete veto files = True
veto files = /*.eml/*.nws/riched20.dll/*.bat/*.scr/*.pif/
dont descend = /proc, /dev
dos filetime resolution = True
; preexec = csh -c echo \"Welcome to %S!\" | smbclient -M %m -I %I &
printcap name = /etc/printcap
load printers = yes
printing = lprng
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
; null passwords = yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
; obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
; wins proxy = yes
dns proxy = no
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0775
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No
print$]
path = /var/lib/samba/printers
write list = @adm root
[share]
path = /mnt/windows
read only = No
guest ok = Yes |
|