Date: Thu, 8 Jul 2004 22:09:32 -0700 From: Doug Hardie <bc979@lafn.org> To: FreeBSD Question List <freebsd-questions@freebsd.org> Subject: Re: NIS server selection Message-ID: <29A2B901-D166-11D8-A27F-000393681B06@lafn.org> In-Reply-To: <20040709013401.GE58856@dan.emsphone.com> References: <200407081559.i68FxZfO043201@whoweb.com> <20040708164237.GH57155@dan.emsphone.com> <A4E63CF0-D11B-11D8-A27F-000393681B06@lafn.org> <20040708204417.GB58856@dan.emsphone.com> <F9CEE425-D13E-11D8-A27F-000393681B06@lafn.org> <20040709013401.GE58856@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 8, 2004, at 18:34, Dan Nelson wrote: > In the last episode (Jul 08), Doug Hardie said: >> On Jul 8, 2004, at 13:44, Dan Nelson wrote: >>> >>> The best you can do is make sure "ypwhich" points to the local >>> machine so that subsequent processes will use it. You can't force >>> existing processes to switch. >> >> Thanks. I have now set 3 servers in the -S list. ypwhich shows the >> one currently being used. I need to be able to change that. It >> appears that ypset is the way to do that. However, when I start >> ypbind with the -ypsetme argument I still get "sorry, cannot ypset >> for domain NAME on host". I am running ypset on that server. That >> message comes from a request to rpc prog 100004 which is registered >> to rpserv so I don't see how an argument to ypbind would help this. >> I don't find any similar arguments to ypserv. How do you make ypset >> work without opening it up to the entire world? > >> From looking at the source, the -S flag resets the -ypset and -ypsetme > flags. See if putting -ypsetme after the -S xxx arguments helps. That did it. Somehow I missed that in the source. Thanks. I appreciate the assistance.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29A2B901-D166-11D8-A27F-000393681B06>