Date: Thu, 11 Feb 1999 15:04:33 -0500 (EST) From: Mikhail Teterin <mi@misha.cisco.com> To: wpaul@skynet.ctr.columbia.edu (Bill Paul) Cc: bugs@FreeBSD.ORG Subject: Re: bin/10031: ypxfr does not work with Solaris master server(s) Message-ID: <199902112004.PAA18535@misha.cisco.com> In-Reply-To: <199902111940.OAA23718@skynet.ctr.columbia.edu> from Bill Paul at "Feb 11, 1999 02:40:26 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > % yppoll passwd.byname > > yppoll: no such map passwd.byname. Reason: YP server error > > You're not even running NIS, are you. You're running NIS+ with one of > the servers in NIS compat mode. That's in, isn't it. Do an rpcinfo -p > nis1 and rpcinfo -p nis2 and look at the results. It has entries for > the NIS+ service, doesn't it. Can't tell, here: % rpcinfo -p nis1 | grep nis 100300 3 udp 912 nisd 100300 3 tcp 913 nisd % rpcinfo -p nis1 | grep yp 100004 2 udp 912 ypserv 100004 2 tcp 913 ypserv 100004 1 udp 912 ypserv 100004 1 tcp 913 ypserv % rpcinfo -p nis2 | grep nis 100300 3 udp 32776 nisd 100300 3 tcp 32772 nisd 100303 1 tcp 32783 nispasswd % rpcinfo -p nis2 | grep yp | wc 0 0 0 I guess, you are right. The apparent slave (nis1) runs in NIS-compat mode (has ypserv), but the master (nis2) does not (only nisd entries)? > You can't do NIS map transfers from an NIS+ server running in compat > mode. This is because you don't have maps in NIS+, you have tables, > and updates between master and replica NIS+ servers don't work > anything like master/slave transfers between NIS servers. > > However, the admin's response is "we do not support FreeBSD". > This isn't a question of supporting FreeBSD. If he had simply told you [...] I know. However, I have to answer which OS I'm running, and once they hear it is FreeBSD, the progress stops... > FreeBSD will work fine as a client to an NIS+ server in compat mode. So, can I cook something up using ypcat (to fetch all the databases) and yp_mkdb and pretend to my local clients I am a master? And re-run this script at night? Thank you, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902112004.PAA18535>