BBS水木清华站∶精华区

发信人: feige (星小目), 信区: Linux        
标  题: Re: 求助:windows访问Samba server的密码? 
发信站: BBS 水木清华站 (Thu Mar 11 19:03:44 1999) 
 
WIN95(8) and NT 输入的口令在登陆时是加密的 
而samba要求的口令是明文的, 所以就... 
有两个办法 
1. samba缺省用的系统的/etc/passwd文件, 你需要自己 
重新配置一个经过加米后的passwd文件, 我不清楚2.0以前的支不支持 
具体见HOWTO 
2. 修改WINDOWS的注册表,  
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP] 
"EnablePlainTextPassword"=dword:00000001 
 
NT下为 
[HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Rdr\Parameters\] 
"EnablePlainTextPassword:REG_DWORD=1" 
 
如果你的机子需要高安全性的话, 不要用第二种方法 
,PASSWORD可能被监听 
 
【 在 yuhj (勇  梦回唐朝) 的大作中提到: 】 
∶ 标  题: Re: 求助:windows访问Samba server的密码? 
∶ 发信站: BBS 水木清华站 (Thu Mar 11 00:03:49 1999) 
∶  
∶ 加上: 
∶    guest only = yes 
∶ 去掉guest account = guest 
∶  
∶  
∶ 【 在 bluewind (山抹微云) 的大作中提到: 】 
∶ : 我从别的机器上的windows的网络邻居访问我的RH5.1, Samba1.98 
∶ : 总是要求与IPC$连接的密码,并且密码都不对,怎么办? 
∶ : 我的smb.conf如下: 
∶ : [global] 
∶ :  workgroup = speech 
∶ :  comment = RedHat  
∶ : guest account = guest 
∶ :   log file = /var/log/samba-log.%m 
∶ :   lock directory = /var/lock/samba 
∶ :   share modes = yes 
∶ :   security = share 
∶ : [home] 
∶ :   comment = Home Directories 
∶ :   browseable = no 
∶ :   read only = no 
∶ :   create mode = 0750 
∶ : [tmp] 
∶ : comment = Temporary file space 
∶ :   path = /tmp 
∶ :    read only = no 
∶ : public = yes 
∶ : [public] 
∶ :    comment = Public Stuff 
∶ :   path = /home/samba 
∶ :  public = yes 
∶ : writable = yes 
∶ :   printable = no 
∶ :  write list = @users 
∶ : 还有,既然comment我已设成了RedHat,为何在windows下我看到的comment 
∶ : 为samba 1.98? 
∶  
∶  
∶ -- 
∶  
∶         信言不美,美言不信。 
∶             善者不辩,辩者不善。 
∶                 知者不博,博者不知。 
∶                                 <<老子.道德经>>八十一章 
∶  
∶ ※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: bbs.huizhou.gd.] 
 
 
-- 
):-0 
--------------------------------- 
 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 159.226.41.165] 

BBS水木清华站∶精华区