summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-31 12:17:32 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-31 12:17:32 +0000
commit640e1dd4465c099aaafeb5fda8326788c19510f6 (patch)
tree2d0c39d1a93aa266d63a20cbd95285cfb8d4d8e2 /source3
parent2d67a683b735d50f411a4bee9ee5ec17e9a60015 (diff)
downloadsamba-640e1dd4465c099aaafeb5fda8326788c19510f6.tar.gz
samba-640e1dd4465c099aaafeb5fda8326788c19510f6.tar.bz2
samba-640e1dd4465c099aaafeb5fda8326788c19510f6.zip
Let everybody enjoy my new toy - make it the default!
Authenticaions will now attempt to use winbind, and only fall back to 'ntdomain' (the old security=domain) code if that fails (for any reason, including wrong password). I'll fix up the authenticaion code to better handle the different types of failures in the near future. Andrew Bartlett (This used to be commit 78f0d4337bd263d26d7b349eaf8148e863c62f69)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index dca9c6c3c4..d43afc71e1 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -395,7 +395,7 @@ NTSTATUS make_auth_context_subsystem(struct auth_context **auth_context)
{
case SEC_DOMAIN:
DEBUG(5,("Making default auth method list for security=domain\n"));
- auth_method_list = str_list_make("guest sam ntdomain", NULL);
+ auth_method_list = str_list_make("guest sam winbind ntdomain", NULL);
break;
case SEC_SERVER:
DEBUG(5,("Making default auth method list for security=server\n"));
@@ -421,7 +421,7 @@ NTSTATUS make_auth_context_subsystem(struct auth_context **auth_context)
break;
case SEC_ADS:
DEBUG(5,("Making default auth method list for security=ADS\n"));
- auth_method_list = str_list_make("guest sam ads ntdomain", NULL);
+ auth_method_list = str_list_make("guest sam ads winbind ntdomain", NULL);
break;
default:
DEBUG(5,("Unknown auth method!\n"));