public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Ybind problems - doesn't like YP server
@ 2005-07-19 13:23 Jim Hatfield
  2005-07-19 22:53 ` Antonio Souto
  2005-07-20 21:29 ` Bryan Whitehead
  0 siblings, 2 replies; 3+ messages in thread
From: Jim Hatfield @ 2005-07-19 13:23 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Ybind problems - doesn't like YP server
  2005-07-19 13:23 [gentoo-user] Ybind problems - doesn't like YP server Jim Hatfield
@ 2005-07-19 22:53 ` Antonio Souto
  2005-07-20 21:29 ` Bryan Whitehead
  1 sibling, 0 replies; 3+ messages in thread
From: Antonio Souto @ 2005-07-19 22:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2407 bytes --]

Hopes it helps:

I use at my clients:

labo20 ~ # cat /etc/yp.conf
domain pipca server 10.13.10.235 <http://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 <subscriber@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 "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."]

[-- Attachment #2: Type: text/html, Size: 3276 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Ybind problems - doesn't like YP server
  2005-07-19 13:23 [gentoo-user] Ybind problems - doesn't like YP server Jim Hatfield
  2005-07-19 22:53 ` Antonio Souto
@ 2005-07-20 21:29 ` Bryan Whitehead
  1 sibling, 0 replies; 3+ messages in thread
From: Bryan Whitehead @ 2005-07-20 21:29 UTC (permalink / raw
  To: gentoo-user

FWIW I've never had broadcast NIS work all that well in linux. Instead, I 
just list all my NIS server master/slaves.

On Tue, 19 Jul 2005, Jim Hatfield 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.
>
>
>
>

-- 
Bryan Whitehead
Email:driver@megahappy.net
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-20 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 13:23 [gentoo-user] Ybind problems - doesn't like YP server Jim Hatfield
2005-07-19 22:53 ` Antonio Souto
2005-07-20 21:29 ` Bryan Whitehead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox