summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index df08b6440a..840898415b 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -139,7 +139,7 @@ NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param,
if (param && *param) {
/* we load the 'fallback' module - if winbind isn't here, call this
module */
- if (!load_auth_module(auth_context, param, &(*auth_method)->private_data)) {
+ if (!load_auth_module(auth_context, param, (auth_methods **)&(*auth_method)->private_data)) {
return NT_STATUS_UNSUCCESSFUL;
}