Linux 版 (精华区)

发信人: netiscpu (说不如做), 信区: Unix
标  题: [M] Samba 与 WinNT
发信站: 紫 丁 香 (Fri May 15 10:52:47 1998), 转信


本文整理自Linux-admin Mailling-List

[问题] samba & NT

It seems with the release of service pack 3 our NT workstations have started
expecting encrypted passwords.  I'm using stock RedHat samba.  Does anybody
know a fix?  
------         David Hamm - dhamm@itserve.com           --------

[回答1]

Get rid of your NT boxes   ;o)


>From the samba-faq:

"If a server does not use `encrypted passwords', in the sense given by
smb.conf, the NT box will not browse it; it will also repeatedly ask for
passwords on every single connection. See also the encryption remarks in
How do I set accounts for Samba users? ."

>From smb.conf:

encrypt passwords (G)
This boolean controls whether encrypted passwords will be negotiated
with the client. Note that this option has no effect if you haven't
compiled in the necessary des libraries and encryption code. It defaults
to no. 


You need to follow the instructions given in section 4.1 of the
Samba-FAQ:

http://samba.anu.edu.au/samba/docs/smb_serv/html/smb_se-4.html#accounts

[回答2]

There must be some (G)lobal switch such as

encryipt passwords=yes

Ciao. Pierluigi.  --    pierluigi.de.rosa@mbox.vol.it
                        PGP key available
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .


[回答3]

Read the document in /usr/doc/samba*/docs dealing with encryption
and apply the fix listed therein or upgrade to latest samba release
(1.9.18p7 as of yesterday) which has encryption support builtin.

-Rob

[回答4]

Either disable encrypted passwords on the NT boxes (as described in
the Samba documentation; see ENCRYPTION.txt, WinNT.txt, Win95.txt), or 
upgrade to Samba 1.9.18, which supports encrypted passwords.

-- 
Glynn Clements <glynn@sensei.co.uk>

[回答5]

There's also a registry key that is packaged with the software that stops
nt from requiring the encrypted passwords. look at:

samba/docs/NT4_PlainPassword.reg

[回答6]

samba 1.9.18pX doesn't support NTDomains. To put a samba as a PDC grab the
latest samba CVS tree. Check the samba page and see the NTDOM mailing list
archive.

[完]

--

                              Enjoy Linux!
                          -----It's FREE!-----

※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: mtlab.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.085毫秒