s3-netlogon: Fix NETLOGON credential chain. Fixes Bug #6099 (Windows 7 joining Samba3...
authorGuenther Deschner <gd@samba.org>
Thu, 7 May 2009 19:52:10 +0000 (12:52 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 May 2009 08:23:20 +0000 (10:23 +0200)
commit1f05472b9a27861f8e4b9b60410890b920f9d359
tree41fcaac3a9e893529c569fbb7cef260abe44ebcd
parent2238f7eede55fe780630df70b712fad7ebc95c76
s3-netlogon: Fix NETLOGON credential chain. Fixes Bug #6099 (Windows 7 joining Samba3) and probably many, many more.

Jeremy, with 9a5d5cc1db0ee60486f932e34cd7961b90c70a56 you alter the in negotiate
flags (which are a pointer to the out negotiate flags assigned in the generated
netlogon server code). So, while you wanted to just set the *out* negflags, you
did in fact reset the *in* negflags, effectively eliminating the
NETLOGON_NEG_STRONG_KEYS bit (formerly known as NETLOGON_NEG_128BIT) which then
caused creds_server_init() to generate 64bit creds instead of 128bit, causing
the whole chain to break. *Please* check.

Guenther
source/rpc_server/srv_netlog_nt.c