s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
authorJeremy Allison <jra@samba.org>
Thu, 7 May 2009 19:53:31 +0000 (12:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 May 2009 08:23:21 +0000 (10:23 +0200)
commit0da133101ab149b074ab369d819fc48b7c95bf71
tree9d53e10c8c83ad7cbe0df7f990e6b528effea8bf
parent339b99e31577d8a522711f84bc7d94e88c75d334
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