s3-auth: Follow auth_ntlmssp and use auth4_context for Session Setup
authorAndrew Bartlett <abartlet@samba.org>
Fri, 3 Feb 2012 06:09:37 +0000 (17:09 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Mar 2012 09:14:05 +0000 (10:14 +0100)
commit50547a9950062311a4952846960b15e1d6cdfdf5
tree9ea17788d4f7fed7df3dc6d32fe6ddd8ecf599e5
parent79753ec02c8315a55557c418f3a802fd2631878f
s3-auth: Follow auth_ntlmssp and use auth4_context for Session Setup

This patch ensures consistency in behaviour between NTLMSSP and NTLM
session setup handlers.  By calling the same layer that auth_ntlmssp
calls, we can not only allow redirection of all authentication to the
AD DC, we ensure that map to guest and username map handling is
consistent, even in the file server alone.

Andrew Bartlett
source3/auth/auth_util.c
source3/smbd/globals.h
source3/smbd/negprot.c
source3/smbd/sesssetup.c