s4:ntlmssp Merge more aspects of the source3/ NTLMSSP layer
authorAndrew Bartlett <abartlet@samba.org>
Sat, 7 Aug 2010 08:56:35 +0000 (18:56 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 7 Aug 2010 08:56:35 +0000 (18:56 +1000)
commit4b47245a9d7292255a5dca8286283b5519de12e6
tree4eb8ea00defb05fc0d0c9f03064477650d273831
parent6644f48d724085f839da86ef75bd814a46359ea5
s4:ntlmssp Merge more aspects of the source3/ NTLMSSP layer

This changes the talloc treatment of the session keys to avoid
memory duplication - the session key has always been allocated
onto the ntlmssp_context by the auth subsystem callback.

The remainder of the changes are cosmetics, such as avoiding
using lm_session_key as a pointer (and avoiding then doing an
if statement on something that is always true).

Andrew Bartlett
source4/auth/ntlmssp/ntlmssp_server.c