LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 842|回复: 7

谁成功设置好mdk91的smb.conf文件的,能不能复制出来给我参考一下。

[复制链接]
发表于 2003-5-24 18:49:19 | 显示全部楼层 |阅读模式
我在mdk91下想用LinNeighborhood,但不太会设置smb.conf文件,所以用不了,谁把smb.conf设置好了,贴出来给我参考一下好吗,谢谢拉:)
发表于 2003-5-24 20:31:16 | 显示全部楼层
这个应该很简单的。。。或者,使用webmin配置吧。。。非常方便的
 楼主| 发表于 2003-5-24 23:02:42 | 显示全部楼层
webmin是什么?
发表于 2003-5-24 23:04:36 | 显示全部楼层
webmin是一个超强的系统及服务器设置软件,如果装了mandrake就会有,没有的话到www.webmin.com处下载新版。
 楼主| 发表于 2003-5-25 12:05:45 | 显示全部楼层
装好webmin后(rpm包),在终端运行webmin,弹出konqueror浏览器,按照提示,到最后提示如下:https://localhost:10000/session_login.cgi
Error - No cookies
Your browser does not support cookies, which are required for this web server to work in session authentication mode
这东西到底怎么用?给我详细说说好吗,谢谢。
 楼主| 发表于 2003-5-26 22:41:29 | 显示全部楼层
怎么没人回贴阿,自己顶一下。
发表于 2003-5-26 22:47:04 | 显示全部楼层
安装后先运行:/etc/init.d/webmin start
然后用mozilla等浏览器,输入地址:https://127.0.0.1:10000
 楼主| 发表于 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表