s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
commit43bab13d00fa073acf709ac9a66cb2782694811b
authorJeremy Allison <jra@samba.org>
Thu, 7 May 2009 19:53:31 +0000 (7 12:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 May 2009 08:21:18 +0000 (19 10:21 +0200)
treea9a79f540f4529443b4217002bb3fc0e45355f96
parentc578c66569eed3ae19b42c9787399eb70b935e0a
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.
source/auth/auth_util.c
source/include/ntdomain.h