s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
authorGünther Deschner <gd@samba.org>
Thu, 7 May 2009 11:36:52 +0000 (13:36 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 7 May 2009 17:25:46 +0000 (19:25 +0200)
commit2d5e0eadb858d9717b68a770c8789a9432bbb3f7
treef66be8e4a50bc88609cdbadb6ef779f96b7e1648
parentbb8aff6ffaa9419953c2e886e9605f9efe38e3b3
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
(cherry picked from commit b5097d54cb74ca0ea328f9e029562f65f4a01134)
source3/auth/auth_util.c
source3/include/ntdomain.h