summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth.c2
-rw-r--r--source3/auth/auth_winbind.c16
2 files changed, 1 insertions, 17 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 4df74f9f39f..cdf4f1db430 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -545,7 +545,7 @@ NTSTATUS make_auth3_context_for_netlogon(TALLOC_CTX *mem_ctx,
switch (lp_server_role()) {
case ROLE_DOMAIN_BDC:
case ROLE_DOMAIN_PDC:
- methods = "sam_netlogon3 winbind:trustdomain";
+ methods = "sam_netlogon3 winbind";
break;
default:
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 6bf2118037d..10e6c53c108 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -110,12 +110,6 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
}
if (wbc_status == WBC_ERR_WINBIND_NOT_AVAILABLE) {
- struct auth_methods *auth_method =
- (struct auth_methods *)my_private_data;
-
- if ( auth_method )
- return auth_method->auth(auth_context, auth_method->private_data,
- mem_ctx, user_info, server_info);
return NT_STATUS_LOGON_FAILURE;
}
@@ -164,16 +158,6 @@ static NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char
result->name = "winbind";
result->auth = check_winbind_security;
- if (param && *param) {
- /* we load the 'fallback' module - if winbind isn't here, call this
- module */
- auth_methods *priv;
- if (!load_auth_module(auth_context, param, &priv)) {
- return NT_STATUS_UNSUCCESSFUL;
- }
- result->private_data = (void *)priv;
- }
-
*auth_method = result;
return NT_STATUS_OK;
}