From 10b818bb222aaec4de2c31594e5ca48102f7af6a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 13 Jul 2012 15:51:49 +1000 Subject: s3-auth_samba4: Explain that check_samba4_security is actually unused Because of the evolution in the way the auth handling has been done, we do not need this code any more. Raw NTLM Session setup & X is done via the auth4 context which returns a full session info. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Fri Jul 13 10:04:05 CEST 2012 on sn-devel-104 --- source3/auth/auth_samba4.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/auth') diff --git a/source3/auth/auth_samba4.c b/source3/auth/auth_samba4.c index ff73ffb079..6093de4d92 100644 --- a/source3/auth/auth_samba4.c +++ b/source3/auth/auth_samba4.c @@ -31,6 +31,16 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH +/* + * This hook is currently unused, as all NTLM logins go via the hooks + * provided by make_auth4_context_s4() below. + * + * This is only left in case we find a way that it might become useful + * in future. Importantly, this routine returns the information + * needed for a NETLOGON SamLogon, not what is needed to establish a + * session. + */ + static NTSTATUS check_samba4_security(const struct auth_context *auth_context, void *my_private_data, TALLOC_CTX *mem_ctx, -- cgit