s3-auth_samba4: Explain that check_samba4_security is actually unused
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Jul 2012 05:51:49 +0000 (15:51 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 13 Jul 2012 08:04:05 +0000 (10:04 +0200)
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 <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 13 10:04:05 CEST 2012 on sn-devel-104

source3/auth/auth_samba4.c

index ff73ffb079f74ee415dfe4a81b587276bc2e9414..6093de4d9226b15870381bf25186618cfac42f82 100644 (file)
 #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,