From b2261c82722d5c2f5479ec3177a0fc0e17163aca Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 15 Apr 2010 17:19:19 +0200 Subject: s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_WRITE_FAULT metze --- source4/libnet/libnet_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c index 83df2621b4..138b926742 100644 --- a/source4/libnet/libnet_rpc.c +++ b/source4/libnet/libnet_rpc.c @@ -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; -- cgit