s3-auth_samba4: Explain that check_samba4_security is actually unused
[mat/samba.git] / 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,