summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-13 15:51:49 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-13 10:04:05 +0200
commit10b818bb222aaec4de2c31594e5ca48102f7af6a (patch)
treea2447ec7ce202ef0fd9eb513690a9817cf8a918d /source3/auth
parent1013fab5f82f283335a5d8cbb1bfde8a80d7979c (diff)
downloadsamba-10b818bb222aaec4de2c31594e5ca48102f7af6a.tar.gz
samba-10b818bb222aaec4de2c31594e5ca48102f7af6a.tar.bz2
samba-10b818bb222aaec4de2c31594e5ca48102f7af6a.zip
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 <abartlet@samba.org> Autobuild-Date(master): Fri Jul 13 10:04:05 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_samba4.c10
1 files changed, 10 insertions, 0 deletions
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,