r4286: Give back 8 byte lm_session_key in Netrsamlogon-reply.
authorGünther Deschner <gd@samba.org>
Mon, 20 Dec 2004 11:36:39 +0000 (11:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:41 +0000 (10:53 -0500)
commitbd4c5125d6989cebc90152a23e113b345806c660
treedc4182be5f42e2b4b0f7ce2440d12a9708cc99bd
parent0760d07b4c6f15489bea2f0fb4f1b0084bd62301
r4286: Give back 8 byte lm_session_key in Netrsamlogon-reply.

The old #ifdef JRATEST-block was copying 16 bytes and thus overwriting
acct_flags with bizarre values, breaking a lot of things.

This patch is successfully running in a production environment for quite
some time now and is required to finally allow Exchange 5.5 to access
another Exchange Server when both are running on NT4 in a
samba-controlled domain. This also allows Exchange Replication to take
place, Exchange Administrator to access other Servers in the network,
etc. Fixes Bugzilla #1136.

Thanks abartlet for helping me with that one.

Guenther
source/auth/auth_util.c
source/include/rpc_netlogon.h
source/nsswitch/winbindd_pam.c
source/rpc_client/cli_netlogon.c
source/rpc_parse/parse_net.c