Revert "HACK b/source4/libnet/libnet_rpc.c if (1 || NT_STATUS_EQUAL(s->lsa_open_polic...
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Jul 2013 07:55:26 +0000 (09:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Apr 2018 07:35:18 +0000 (09:35 +0200)
This reverts commit 877bf45ebd5e981aeb5f54560d2749c2af5974e4.

source4/libnet/libnet_rpc.c

index 9494a3d3b947d272f061e02ab4d87efce6f1ec2a..a491a427ddcf6b990ee09bafa5e6cf4f506bdd72 100644 (file)
@@ -618,7 +618,7 @@ static void continue_lsa_policy(struct tevent_req *subreq)
                return;
        }
 
-       if (1 || NT_STATUS_EQUAL(s->lsa_open_policy.out.result, NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED)) {
+       if (NT_STATUS_EQUAL(s->lsa_open_policy.out.result, NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED)) {
                s->r.out.realm = NULL;
                s->r.out.guid  = NULL;
                s->r.out.domain_name = NULL;