[gentoo-user] Ybind problems - doesn't like YP server

2005-07-19 Thread Jim Hatfield
We have a Solaris based YP server.

On a fresh install I set /etc/yp.conf to:
domain insignia broadcast

and set NISDOMAIN to insignia in /etc/conf.d/domainname.

If I run ypbind -debug I get:

speyburn ~ # ypbind -debug
parsing config file
Trying entry: domain insignia broadcast
parsed domain 'insignia' broadcast
add_server() domain: insignia, broadcast
[Welcome to ypbind-mt, version 1.17.2]

do_broadcast() for domain 'insignia' is called
Answer for domain 'insignia' from server 'panther.internal.local'
leave do_broadcast() for domain 'insignia'
Pinging all active server.
Pinging all active server.

The YP server is correctly identified. I can ping it OK
in another window. However if I do a ypwhich in another
window I get:

speyburn ~ # ypwhich
can't yp_bind: Reason: Domain not bound

It doesn't make any difference if I use the -broken-server
flag.

This was working fine on the machine which failed and I'm
in the process of replacing, and I'm pretty sure I didn't
do any more than the above.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ybind problems - doesn't like YP server

2005-07-19 Thread Antonio Souto
Hopes it helps:

I use at my clients:

labo20 ~ # cat /etc/yp.conf
domain pipca server 10.13.10.235

labo20 ~ # cat /etc/nisdomainname
pipca

labo20 ~ # cat /etc/nsswitch.conf
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis

hosts: files nisplus nis dns

bootparams: nisplus [NOTFOUND=return] files

ethers: files
netmasks: files
networks: files
protocols: files nisplus nis
rpc: files
services: files nisplus nis

netgroup: files nisplus nis

publickey: nisplus

automount: files nisplus nis
aliases: files nisplus
labo20 ~ # cat /etc/conf.d/ypbind
# Config file for /etc/init.d/ypbind

# Set any command line options you want to pass to ypbind.
YPBIND_OPTS=
YP_DOMAIN=pipca

On 7/19/05, Jim Hatfield [EMAIL PROTECTED] wrote:
We have a Solaris based YP server.On a fresh install I set /etc/yp.conf to:domain insignia broadcastand set NISDOMAIN to insignia in /etc/conf.d/domainname.If I run ypbind -debug I get:
speyburn ~ # ypbind -debugparsing config fileTrying entry: domain insignia broadcastparsed domain 'insignia' broadcastadd_server() domain: insignia, broadcast[Welcome to ypbind-mt, version 
1.17.2]do_broadcast() for domain 'insignia' is calledAnswer for domain 'insignia' from server 'panther.internal.local'leave do_broadcast() for domain 'insignia'Pinging all active server.
Pinging all active server.The YP server is correctly identified. I can ping it OKin another window. However if I do a ypwhich in anotherwindow I get:speyburn ~ # ypwhichcan't yp_bind: Reason: Domain not bound
It doesn't make any difference if I use the -broken-serverflag.This was working fine on the machine which failed and I'min the process of replacing, and I'm pretty sure I didn'tdo any more than the above.
--gentoo-user@gentoo.org mailing list-- Antonio SoutoLaboratorista e mestrando doPIPCA - Programa Interdisciplinar de Pós-Graduação em Computação Aplicada
Bacharel em Ciência da ComputaçãoUNISINOS - Universidade do Vale do Rio dos SinosFones (0xx51) 590- | 591-1100 | 591-1122 ramal 1658São Leopoldo - RS[The study of non-linear physics is like the study of non-elephant biology.]