s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
commitc66488284db97477e21866dd704b6562c1b0dda0
authorJeremy Allison <jra@samba.org>
Thu, 7 May 2009 19:53:31 +0000 (7 12:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Jun 2009 10:41:55 +0000 (2 12:41 +0200)
tree14d102eb32da1dcbd216e8a4070f3e28e81435b3
parent7ee9206d8d8f1c1049534d538259044f7cc83e29
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 43bab13d00fa073acf709ac9a66cb2782694811b)
source/auth/auth_util.c
source/include/ntdomain.h