s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
commitda736a3d737b85a7825a2cc458b42c6ba898dad1
authorJeremy Allison <jra@samba.org>
Thu, 7 May 2009 19:53:31 +0000 (7 12:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Jun 2009 14:17:54 +0000 (10 16:17 +0200)
tree3b9b3c2ad78962026369ed813e093a0344947b31
parent8ede134655c0feec135d84751d62d75f67a06c8a
s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().

Patch from Jeremy.

With this patch, I was able to join Windows 7 RC to a Samba3 DC, and login into a
Samba 3 Domain.

There are still two registry settings required:

HKLM\System\CCS\Services\LanmanWorkstation\Parameters
DWORD  DomainCompatibilityMode = 1
DWORD  DNSNameResolutionRequired = 0

Do *not* modify the other netlogon registry parameters that were passed around,
they weaken security.

Guenther / Jeremy.
(cherry picked from commit 0da133101ab149b074ab369d819fc48b7c95bf71)
source/auth/auth_util.c
source/include/ntdomain.h