winbind: Set "authoritative" in response to auth_crap
authorVolker Lendecke <vl@samba.org>
Sat, 11 Feb 2017 09:04:29 +0000 (10:04 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Mar 2017 08:15:17 +0000 (09:15 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd_pam.c

index a8bc34eae9b8963725f12cd569b1094dfeb86a0f..5d1da16c93a13ffdb79a357611f5695789fba568 100644 (file)
@@ -2113,6 +2113,7 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain,
                                       &flags,
                                       &info3);
        if (!NT_STATUS_IS_OK(result)) {
+               state->response->data.auth.authoritative = authoritative;
                goto done;
        }