summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-01-13 14:10:33 +0100
committerKai Blin <kai@samba.org>2010-01-14 15:18:34 +0100
commit36db924446b8c6a1627e9abb22f774240678851a (patch)
tree48e8729207a31697d88b94e1cb4db36e2b9d02aa /source3
parentb1d2bb3e51bdee1dd32d97af8d502adc374acefb (diff)
downloadsamba-36db924446b8c6a1627e9abb22f774240678851a.tar.gz
samba-36db924446b8c6a1627e9abb22f774240678851a.tar.bz2
samba-36db924446b8c6a1627e9abb22f774240678851a.zip
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.
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_check_machine_acct.c5
1 files changed, 4 insertions, 1 deletions
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;
}