From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,61e56fbd3397cdc0 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-03-17 16:15:23 PST Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!wupost!math.ohio-state.edu!uwm.edu!reuter.cse.ogi.edu!netnews.nwnet.net!news.u.washington.edu!noyd From: noyd@u.washington.edu (Steven Noyd Jones) Newsgroups: comp.unix.osf.misc Subject: RE: DCE rpc error athwart (summary) Followup-To: poster Date: 18 Mar 1994 00:15:23 GMT Organization: University of Washington Message-ID: <2marqr$55d@news.u.washington.edu> References: <2m7sgp$23u@news.u.washington.edu> NNTP-Posting-Host: carson1.u.washington.edu Summary: ncacn_ip_udp endpoint family declaration invalid Many thanks for all the excellent assistance in resolving my DCE rpc problem. I've received responses which I will summarize from: gjb@fig.citib.com (Greg Brail) Phil_Hirsch@transarc.com "Helmut Duschinger (CIP 90)" Johannes Kroupa Kevin Coffman Concerning what does "Exception: status 0x16c9a042 (dce / rpc)" mean: (1) The error code 0x16c9a042 is to be found in it's decimal equivalent in the /usr/include/dce/rpcsts.h file and translates to: rpc_s_connect_rejected. DEC if you are listening, the online manuals explanation for that error code could be more enlightening and the IDL manual merely says an error will result at runtime if the endpoint family declaration isn't valid. (2) Set the NLSPATH environment variable to /usr/lib/nls/msg/en_US.88591/%N in order to have the error code messages translated to the English text messages. This is documented in the online manual for dce_error_inq_text(). I've tried setting the NLSPATH environment variable and had no luck in getting the dce_error_inq_text() function to spit out the proper text. The file /usr/lib/nls/msg/en_US.88591/dcerpc.cat contains the error message text, so that is still a puzzle. (3) The endpoint family "ncacn_ip_udp" is invalid. Valid families are "ncacn_ip_tcp" and "ncadp_ip_udp". This is documented in 17.7.3 of the DCE application development Guide. Using the correct endpoint family "ncadg_ip_udp" fixed the programs and the rpc client and server are now working. -- -- Steven Jones Computing & Communications JE-30, University of Washington E-mail: noyd@cac.washington.edu Phone: (206) 543-5852