[Samba] NTLMv2 in Samba 3.0

Andrew Bartlett abartlet at samba.org
Sun Oct 26 03:29:26 GMT 2003


On Fri, 2003-10-24 at 06:53, Chu, Dan [IT] wrote:
> Hello,
> Has anyone successfully configured Samba 3.0 to authenticate using NTLMv2
> only? I have below entry in smb.conf:
> password server = <domain controller>
> 
> to use domain controller for user authentication and DC is configured with
> Level 5 - DC refuses LM and NTLM authentication (accepts only NTLMv2). So
> far I got: "System error 1326 has occurred.
> Logon failure: unknown user name or bad password." errors. 
> 
> I am not sure what option(s) to use in the smb.conf file to make it work. My
> understanding is that Samba 3.0 defaults to NTLMv2 if password server is
> configured to accept NTLMv2. 

As a server, Samba 3.0 implements NTLMv2 by default.  Samba also passes
on NTLMv2 authentication attempts to the DC without modification, so it
can validate them.  

As a client, you need to specify 'client ntlmv2 auth = yes' to force
Samba to use NTLMv2, as it is incompatible with older servers.

It is not possible to 'modify' an NTLM authentication request into
NTLMv2, so if your clients are not configured correctly, they will not
correctly talk to an NTLMv2 enforcing server/domain.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031026/68e7ef6d/attachment.bin


More information about the samba mailing list