www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.5 required=5.0 tests=BAYES_50,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-CM-Score: | 0.00 |
X-CNFS-Analysis: | v=2.0 cv=I8Dntacg c=1 sm=1 a=1ir8RNLAkqudKVL0PCIESg==:17 a=L8y5ukHrvhgA:10 a=ihvODaAuJD4A:10 a=kj9zAlcOel0A:10 a=a3799Ym7oo9WVSzJL78A:9 a=CjuIK1q_8ugA:10 a=1ir8RNLAkqudKVL0PCIESg==:117 |
From: | "Ken" <ken AT sixtus DOT plus DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Portmap RPC registration fails |
Date: | Sun, 6 May 2012 23:21:31 +0100 |
Message-ID: | <000601cd2bd6$98372940$c8a57bc0$@sixtus.plus.com> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Portmap RPC registration fails I have sunrpc 4.0-4 and libtirpc-devel 0.2.1-1. I'm using Windows 7 SP1. I compiled and linked the following outline code against tirpc: #define PROG 0x1fffffffL #define VERS 0x2L struct netconfig *nconf = getnetconfigent("tcp"); static void dispatch_func(struct svc_req *request, SVCXPRT *xprt) ... svc_handle = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); if (svc_reg(svc_handle, PROG, VERS, dispatch_func, nconf) == 0) ... I ran portmap then tried to register with it using the above code. However, I get back a zero response from svc_reg indicating failure to register. This isn't due to my firewall as turning this off doesn't help. I've also tried disabling all my network adapters in turn. There's nothing in the portmap log. The CygWin NFS server works OK with the portmapper. No other portmapper is running. rpcinfo gives: 100000 2 tcp 111 100000 2 udp 111 Any ideas? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |