winbindd: make use of make_auth3_context_for_winbind()
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 08:18:41 +0000 (09:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Mar 2017 10:57:09 +0000 (11:57 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_pam.c

index 4ff6eaab92689e33781ab55ac7ebfe2060b0b31f..fb6b8afebda94c6531aeb80afe1705b48be5b9d1 100644 (file)
@@ -1269,10 +1269,9 @@ static NTSTATUS winbindd_dual_auth_passdb(TALLOC_CTX *mem_ctx,
                user_info->flags |= USER_INFO_INTERACTIVE_LOGON;
        }
 
-       status = make_auth_context_subsystem(frame, &auth_context);
-
+       status = make_auth3_context_for_winbind(frame, &auth_context);
        if (!NT_STATUS_IS_OK(status)) {
-               DBG_ERR("make_auth_context_subsystem failed: %s\n",
+               DBG_ERR("make_auth3_context_for_winbind failed: %s\n",
                        nt_errstr(status));
                TALLOC_FREE(frame);
                return status;