📄 00000007.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: suzhe (I Love Linux), 信区: Linux <BR>标 题: Re: Samba的疑惑(希望尽快得到解答) <BR>发信站: BBS 水木清华站 (Tue Jan 4 23:01:30 2000) <BR> <BR> <BR> <BR>samba 2.0 以上版本好像不用修改注册表吧?! 直接加上 encrypt passwords=yes <BR>就行了. 下面是我装的一台服务器的 smb.conf: <BR> <BR># Samba config file created using SWAT <BR># from xxx (192.168.1.1) <BR># Date: 1999/10/16 19:27:56 <BR> <BR># Global parameters <BR> workgroup = INSIGHT <BR> netbios name = INSIGHT-SERVER <BR> server string = Server for Insight <BR> interfaces = 192.168.1.1/255.255.255.0 <BR> security = user <BR> update encrypted = No <BR> encrypt passwords = Yes <BR> unix password sync = True <BR> map to guest = Bad Password <BR> null passwords = Yes <BR> log file = /var/log/samba/log.%m <BR> smb passwd file = /etc/smbpasswd <BR> max log size = 50 <BR> socket options = TCP_NODELAY <BR> printcap name = /etc/printcap <BR> dns proxy = No <BR> guest account = guest <BR> hosts allow = 192.168.1., localhost <BR> printing = bsd <BR> print command = lpr -r -h -P%p %s <BR> mangling char = ^@ <BR> <BR> lock directory = /var/lock/samba <BR> <BR>[homes] <BR> comment = Home Directories <BR> read only = No <BR> public = yes <BR> browseable = No <BR> <BR>[public-folder] <BR> comment = Folder for everyone <BR> path = /home/xxx-share <BR> security = share <BR> writable = Yes <BR> public = yes <BR> browseable = Yes <BR> <BR>[Panasonic] <BR> comment = Panasonic Laser Printer <BR> path = /var/spool/lpd/lp0 <BR> writable = no <BR> printable = yes <BR> public = yes <BR> browseable = Yes <BR> printer name = lp0 <BR> print command = lpr -r -h -P%p %s <BR> <BR>[HPLaserJet] <BR> comment = HP LaserJet 1100 <BR> path = /var/spool/lpd/lp1 <BR> writable = no <BR> printable = Yes <BR> public = yes <BR> broweable = Yes <BR> print command = lpr -r -h -P%p %s <BR> printer name = lp1 <BR> <BR> <BR> <BR> <BR>【 在 qinming (qm) 的大作中提到: 】 <BR>∶<I> 我在Redhat6.1开了Samba服务,但是用WIN98的机子访问LINUX的机子总有问题。 </I><BR>∶<I> 在98的网上邻居中可以看到LINUX的机子,但访问时总是密码不对,在smb.conf文件中设 </I><BR>∶<I> 了 </I><BR>∶<I> encrypt passwords = yes </I><BR>∶<I> allow null password = yes </I><BR>∶<I> security = share (user 也试了) </I><BR>∶<I> 都没用。后来看了一篇文章说,修改98的注册表,加EnablePlainTextPassword=1,就可 </I><BR>∶<I> 以,我试了,确实行,但仍然只有LINUX的用户才能访问,而且此时,不管 </I><BR>∶<I> encrypt passwords = yes或no,只要是密码正确都行。 </I><BR>∶<I> 要在每台WIN98的机子上修改注册表太麻烦了,而且安全性也不高。我想问能不能只在 </I><BR>∶<I> Samba服务器上设置。另外我记得有人说到过,security = share后,根本不需要用户验 </I><BR>∶<I> 证,只要建立了GUEST组,这样不是LINUX的用户也可以以GUEST组的身份访问LINUX机子, </I><BR>∶<I> 那么,具体是怎么设置的呢?是不是除了security = share,还要有别的设置? </I><BR>∶<I> 希望说的详细些,谢谢! </I><BR> <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: nts.Phys.Tsingh] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -