summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-09-17 04:25:39 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-17 08:48:55 +1300
commit68ea47c27830b831e1be9725dff86bc3e17107cf (patch)
tree08b4042e62cbfd5cbeadf0d7171e96f8b7bf3fe8 /source3/winbindd
parentd610339028443f74248aec4bb9b4caa62daa1ff4 (diff)
downloadsamba-68ea47c27830b831e1be9725dff86bc3e17107cf.tar.gz
samba-68ea47c27830b831e1be9725dff86bc3e17107cf.tar.bz2
samba-68ea47c27830b831e1be9725dff86bc3e17107cf.zip
s3:winbindd: don't hide the error in cm_connect_lsa()
We should not overwrite the error with NT_STATUS_PIPE_NOT_AVAILABLE. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 0f3e418b32..ace0160a1c 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -2678,7 +2678,6 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
&ndr_table_lsarpc,
&conn->lsa_pipe);
if (!NT_STATUS_IS_OK(result)) {
- result = NT_STATUS_PIPE_NOT_AVAILABLE;
goto done;
}