summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-07 13:36:52 +0200
committerGünther Deschner <gd@samba.org>2009-05-07 19:25:46 +0200
commit2d5e0eadb858d9717b68a770c8789a9432bbb3f7 (patch)
treef66be8e4a50bc88609cdbadb6ef779f96b7e1648 /source3/include
parentbb8aff6ffaa9419953c2e886e9605f9efe38e3b3 (diff)
downloadsamba-2d5e0eadb858d9717b68a770c8789a9432bbb3f7.tar.gz
samba-2d5e0eadb858d9717b68a770c8789a9432bbb3f7.tar.bz2
samba-2d5e0eadb858d9717b68a770c8789a9432bbb3f7.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index de53aebb91..141f63581c 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -119,7 +119,7 @@ struct dcinfo {
struct netr_Credential clnt_chal; /* Client credential */
struct netr_Credential srv_chal; /* Server credential */
- unsigned char sess_key[16]; /* Session key - 8 bytes followed by 8 zero bytes */
+ unsigned char sess_key[16]; /* Session key */
unsigned char mach_pw[16]; /* md4(machine password) */
fstring mach_acct; /* Machine name we've authenticated. */