s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_...
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Apr 2010 15:19:19 +0000 (17:19 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Apr 2010 15:32:30 +0000 (17:32 +0200)
metze

source4/libnet/libnet_rpc.c

index 83df2621b4e8ea86700348c39595462b0f2cf742..138b9267428c8db0667ec0a11c8d6d9fb78403bd 100644 (file)
@@ -659,7 +659,7 @@ static void continue_lsa_query_info2(struct tevent_req *subreq)
           to the next step. After all, it doesn't have to be AD domain
           controller we talking to - NT-style PDC also counts */
 
-       if (NT_STATUS_EQUAL(c->status, NT_STATUS_NET_WRITE_FAULT)) {
+       if (NT_STATUS_EQUAL(c->status, NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE)) {
                s->r.out.realm = NULL;
                s->r.out.guid  = NULL;