diff options
author | Kai Blin <kai@samba.org> | 2010-01-13 14:10:33 +0100 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-01-14 15:18:34 +0100 |
commit | 36db924446b8c6a1627e9abb22f774240678851a (patch) | |
tree | 48e8729207a31697d88b94e1cb4db36e2b9d02aa /source3 | |
parent | b1d2bb3e51bdee1dd32d97af8d502adc374acefb (diff) | |
download | samba-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.c | 5 |
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; } |