diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-31 12:17:32 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-31 12:17:32 +0000 |
commit | 78f0d4337bd263d26d7b349eaf8148e863c62f69 (patch) | |
tree | 385302d08d72fd12cdb98cb731798a392ef62107 | |
parent | 167f122b670d4ef67d78e6f79a2bae3f6e8d67df (diff) | |
download | samba-78f0d4337bd263d26d7b349eaf8148e863c62f69.tar.gz samba-78f0d4337bd263d26d7b349eaf8148e863c62f69.tar.xz samba-78f0d4337bd263d26d7b349eaf8148e863c62f69.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
-rw-r--r-- | source/auth/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/auth/auth.c b/source/auth/auth.c index dca9c6c3c48..d43afc71e14 100644 --- a/source/auth/auth.c +++ b/source/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")); |