Original question was:
>I've a Sparcstation 10 running Solaris 2.3 and NIS+ in compatibility-mode
>(-Y). I wanted to setup a HP with HP-UX 9.05 as YP-client to my NIS+ -
>server and got the following error:
>
>.... RPC call to <server(SUN)> failed: RPC_UNKNOWN_PROCEDURE
>
>when snooping the calls I see that rpc.nisd answers the call to
>NIS-procedure 0, but calling the first table leads to the error above.
>
>Setting up a SUN (Solaris 2.3) as YP-client to the same NIS+ - server
>works, setting up one HP as YP-server and the other as YP-client works,
>and setting up on HP as YP-server and one SUN as YP-client works, too!
>
Some responses and one call from SNI-Munich (which helped most)
My problems were:
1) I did an ypinit -s at the HP-workstation which is used to setup a
yp-slave (!) server and this don't work.
Sorry, my mistake, should read the man-pages more carefully!
2) starting ypinit (either with the -ypset flag or not) and setting
the server to use with ypset didn't help because my server and
the HP-workstation are on different subnets!
Doing an ypset <servername> (servername is in /etc/hosts!) cause
ypinit to search for the IP-address of the server in the nis-maps,
but ypinit is not bound, so it's looking for it's server by broadcast ....
Sollution:
Call ypset with IP-address and everything works fine!
I didn't have the time to look at the problem with ypset, maybe this is a
bug in HP-UX....
Thanks for your help:
stevek@apertus.com (Steve Kappel)
Roland Kaltefleiter <kaltef@solid.theo-physik.uni-kiel.d400.de>
mxsq@hercules.casc.com (Michael Scott)
and special thanks to:
Franz.Heinrich@teefax.mch.sni.de
__^__ __^__
( ___ )----------------------------------------------------------( ___ )
| / | Christian Masopust | \ |
| / | | \ |
| / | Siemens AG Austria, Program and System Engineering | \ |
| / | A-1210 Wien, Siemensstr. 88-92 | \ |
| / | Phone: +43-1-2501-4516 Fax: +43-1-2501-3759 | \ |
|___| |___|
(_____)------Email: Christian.Masopust@emndev.siemens.co.at------(_____)
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:16 CDT