s3:winbindd: don't hide the error in cm_connect_lsa()
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Sep 2013 02:25:39 +0000 (04:25 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Oct 2013 19:48:55 +0000 (08:48 +1300)
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>
source3/winbindd/winbindd_cm.c

index 0f3e418b3219ad1f7d99145c3201ea1221923d44..ace0160a1cf80bbbbdbe772d6952357606a544d2 100644 (file)
@@ -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;
        }