s4:s3compat Redirect all, including guest, authentication to Samba4
authorAndrew Bartlett <abartlet@samba.org>
Thu, 3 Jun 2010 11:18:45 +0000 (21:18 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 3 Jun 2010 12:34:23 +0000 (22:34 +1000)
This creates a challenge around "NT AUTHORITY\ANONYMOUS" at the
moment, but is the only correct thing to do, as we already do much the
same thing with NTLMSSP.

Andrew Barltett

source4/s3compat/s3compat.c

index 326eda23e66eb98c683bfaabf14a124c5a25dea0..dab1e6f0dd9792c7f5ea52a63110a48779155962 100644 (file)
@@ -71,7 +71,7 @@ _PUBLIC_ void s3compat_smbd_process(void)
 
 NTSTATUS make_auth_context_subsystem(struct auth_context **auth_context) 
 {
-       const char *auth_method_list[] = { "guest", "samba4", NULL };
+       const char *auth_method_list[] = { "samba4", NULL };
        return make_auth_context_text_list(auth_context,
-                                   auth_method_list);
+                                          auth_method_list);
 }