NIS setup

Chuck Tuffli ctuffli at
Fri Dec 16 14:41:29 PST 2005

I added a couple of printf's to ypbind.c in the function
yp_restricted_mode() to verify that the -S option isn't ignored and
that gethostbyname() resolved the hostnames passed into the program.
What else can I check? Tnx.


On 12/16/05, Chuck Tuffli <ctuffli at xxxxxxxxx> wrote:
> On 16 Dec 2005 15:51:27 GMT, Oliver Fromme
> <check+irljcu00rsffvgcy at xxxxxxxxxx> wrote:
> ...
> > It looks like the ypbind command is ignoring the -S option,
> > which happens when the hostnames (at least one of them)
> > cannot be resolved.
> ...
> > To fix the problem, be sure that the hostnames in the -S
> > option are resolvable.  Try adding the domain name.  Note
> > that using numeric IP addresses does not work, contrary
> > to the manual page.  If everything else fails, add the
> > host names to /etc/hosts.
> Adding the domain name to each of the servers in the -S option didn't
> work and the machines were already listed in /etc/hosts. Does it mater
> that the client and server are on different networks (i.e.
> vs Are there any switches I can
> enable that turn on more debug output to help figure out what is going
> wrong?
> ---chuck

More information about the Users mailing list