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 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
--
Antonio Souto
Laboratorista e mestrando do
PIPCA - Programa Interdisciplinar de Pós-Graduação em Computação Aplicada
Bacharel em Ciência da Computação
UNISINOS - Universidade do Vale do Rio dos Sinos
Fones (0xx51) 590-3333 | 591-1100 | 591-1122 ramal 1658
São Leopoldo - RS
["The study of non-linear physics is like the study of non-elephant biology."]