summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual_ndr.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-14 17:57:37 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-14 18:03:18 +0200
commitcd02281c2d28a51580021480739e2b9dbf9b56a1 (patch)
tree48a17f369d6938792b19a03c536838ab2de29a7b /source3/winbindd/winbindd_dual_ndr.c
parent8602e8a53625b1b0da6c1ed1c6680df8a86e9f14 (diff)
downloadsamba-cd02281c2d28a51580021480739e2b9dbf9b56a1.tar.gz
samba-cd02281c2d28a51580021480739e2b9dbf9b56a1.tar.bz2
samba-cd02281c2d28a51580021480739e2b9dbf9b56a1.zip
s3:winbindd: let wbint handles return NT_STATUS_CONNECTION_DISCONNECTED
We should return the same in all places. metze
Diffstat (limited to 'source3/winbindd/winbindd_dual_ndr.c')
-rw-r--r--source3/winbindd/winbindd_dual_ndr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_dual_ndr.c b/source3/winbindd/winbindd_dual_ndr.c
index f5f143f612..f3611be786 100644
--- a/source3/winbindd/winbindd_dual_ndr.c
+++ b/source3/winbindd/winbindd_dual_ndr.c
@@ -96,7 +96,7 @@ static struct tevent_req *wbint_bh_raw_call_send(TALLOC_CTX *mem_ctx,
ok = wbint_bh_is_connected(h);
if (!ok) {
- tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION);
+ tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED);
return tevent_req_post(req, ev);
}
@@ -201,7 +201,7 @@ static struct tevent_req *wbint_bh_disconnect_send(TALLOC_CTX *mem_ctx,
ok = wbint_bh_is_connected(h);
if (!ok) {
- tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION);
+ tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED);
return tevent_req_post(req, ev);
}