s3:winbindd: don't hide the error in cm_connect_lsa()
[mat/samba.git] / 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;
        }