From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dv15J-0000lc-Qm for garchives@archives.gentoo.org; Tue, 19 Jul 2005 23:01:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6JMxiWI024324; Tue, 19 Jul 2005 22:59:44 GMT Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6JMrWjY030776 for ; Tue, 19 Jul 2005 22:53:33 GMT Received: by rproxy.gmail.com with SMTP id a36so1707524rnf for ; Tue, 19 Jul 2005 15:53:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=kdGm/f9G7fg6PNj0by5CYXO++OudAd1LUV36zRoMHl/bAW/TZ78PEE7mOyLTZv9qGUZrnmwGALKmjxM8t2YNgQvuMZRY4xlR0VgDG3OAs88nqyQ0KY8MK/s85kY6/TPmNvCGb/J+8dqoc+2ofxmz8V3B08lzhy21zpfEIfuFmwQ= Received: by 10.38.78.56 with SMTP id a56mr3233477rnb; Tue, 19 Jul 2005 15:53:31 -0700 (PDT) Received: by 10.38.101.49 with HTTP; Tue, 19 Jul 2005 15:53:31 -0700 (PDT) Message-ID: Date: Tue, 19 Jul 2005 19:53:31 -0300 From: Antonio Souto To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Ybind problems - doesn't like YP server In-Reply-To: <4aupd1dsjdt9k4g0g54m7vel6i47kudao5@4ax.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2596_8925711.1121813611350" References: <4aupd1dsjdt9k4g0g54m7vel6i47kudao5@4ax.com> X-Archives-Salt: 9fcad95d-7095-4444-8bd2-06195f1ad2a8 X-Archives-Hash: 044525fe8017689e897cfa248872237e ------=_Part_2596_8925711.1121813611350 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=3Dreturn] 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=3D"" YP_DOMAIN=3Dpipca On 7/19/05, Jim Hatfield wrote: >=20 > We have a Solaris based YP server. >=20 > On a fresh install I set /etc/yp.conf to: > domain insignia broadcast >=20 > and set NISDOMAIN to "insignia" in /etc/conf.d/domainname. >=20 > If I run "ypbind -debug" I get: >=20 > >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. >=20 > 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: >=20 > >speyburn ~ # ypwhich > >can't yp_bind: Reason: Domain not bound >=20 > It doesn't make any difference if I use the "-broken-server" > flag. >=20 > 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. >=20 >=20 >=20 > -- > gentoo-user@gentoo.org mailing list >=20 >=20 --=20 Antonio Souto Laboratorista e mestrando do PIPCA - Programa Interdisciplinar de P=F3s-Gradua=E7=E3o em Computa=E7=E3o = Aplicada Bacharel em Ci=EAncia da Computa=E7=E3o UNISINOS - Universidade do Vale do Rio dos Sinos Fones (0xx51) 590-3333 | 591-1100 | 591-1122 ramal 1658 S=E3o Leopoldo - RS ["The study of non-linear physics is like the study of non-elephant=20 biology."] ------=_Part_2596_8925711.1121813611350 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=3Dreturn] 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=3D""
YP_DOMAIN=3Dpipca


On 7/19/05, Jim Hatfield <subscri= ber@insignia.com> 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 "ins= ignia" in /etc/conf.d/domainname.

If I run "ypbind -debug&= quot; I get:

>speyburn ~ # ypbind -debug
>parsing config file
>Tr= ying entry: domain insignia broadcast
>parsed domain 'insignia' broad= cast
>add_server() domain: insignia, broadcast
>[Welcome to ypb= ind-mt, version=20 1.17.2]
>
>do_broadcast() for domain 'insignia' is called
&g= t;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 identi= fied. I can ping it OK
in another window. However if I do a ypwhich in a= nother
window I get:

>speyburn ~ # ypwhich
>can't yp_bin= d: Reason: Domain not bound

It doesn't make any difference if I use the "-broken-server&qu= ot;
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 m= ore than the above.



--
gentoo-user= @gentoo.org mailing list




--
A= ntonio Souto
Laboratorista e mestrando do
PIPCA - Programa Interdisci= plinar de P=F3s-Gradua=E7=E3o em Computa=E7=E3o Aplicada
Bacharel em Ci=EAncia da Computa=E7=E3o
UNISINOS - Universidade do V= ale do Rio dos Sinos
Fones (0xx51) 590-3333 | 591-1100 | 591-1122 ramal = 1658
S=E3o Leopoldo - RS

["The study of non-linear physics i= s like the study of non-elephant biology."]
------=_Part_2596_8925711.1121813611350-- -- gentoo-user@gentoo.org mailing list