summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-15 17:19:19 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-15 17:32:30 +0200
commitb2261c82722d5c2f5479ec3177a0fc0e17163aca (patch)
tree162af41c784731cf702d63318bdcb122d48c0694 /source4
parentcec0e86ec84a1347a330430337c6b8a643381001 (diff)
downloadsamba-b2261c82722d5c2f5479ec3177a0fc0e17163aca.tar.gz
samba-b2261c82722d5c2f5479ec3177a0fc0e17163aca.tar.bz2
samba-b2261c82722d5c2f5479ec3177a0fc0e17163aca.zip
s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_WRITE_FAULT
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_rpc.c2
1 files changed, 1 insertions, 1 deletions
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;