From 36db924446b8c6a1627e9abb22f774240678851a Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 13 Jan 2010 14:10:33 +0100 Subject: s3 winbindd: Get WINBINDD_CHECK_MACHACC torture test to work again. WINBINDD_CHECK_MACHACC used to report an NTSTATUS error and appropriate error strings. Make this work again. --- source3/winbindd/winbindd_check_machine_acct.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd_check_machine_acct.c b/source3/winbindd/winbindd_check_machine_acct.c index 33b6d9fba4..57595c18e0 100644 --- a/source3/winbindd/winbindd_check_machine_acct.c +++ b/source3/winbindd/winbindd_check_machine_acct.c @@ -93,5 +93,8 @@ static void winbindd_check_machine_acct_done(struct tevent_req *subreq) NTSTATUS winbindd_check_machine_acct_recv(struct tevent_req *req, struct winbindd_response *presp) { - return tevent_req_simple_recv_ntstatus(req); + NTSTATUS status = tevent_req_simple_recv_ntstatus(req); + + set_auth_errors(presp, status); + return status; } -- cgit