[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: NIS domainame not holding after reboot



> -----Original Message-----
> From: Rick Stevens [mailto:rstevens internap com]
> Sent: Wednesday, January 16, 2008 1:13 PM
> To: Getting started with Red Hat Linux
> Subject: Re: NIS domainame not holding after reboot
> 
> >
> > I reboot and I get (none) when I type in domainname.  Even odder, if
> > the machine changes NIS domains, it’s remembering the old domain.
> 
> You have to bind to the NIS master of the new domain.
> 
> > Has anyone seen this?
> 
> The only time the NIS domain is set is if you have ypbind enabled (e.g.
> "service ypbind on").  You can bury the "NISDOMAIN=whatever" in
> /etc/sysconfig/network, /etc/sysconfig/ypbind or /etc/yp.conf.
> 

Ok, this makes sense.  I figured that even if ypbind wasn't enabled the nis domainname would still be set.

A side question since I've seen this stated.  Supposedly on a client /etc/sysconfig/network doesn't need the NISDOMAIN=<domainname> entry, just /etc/yp.conf is adequate.

I haven't found that to be true, is it supposed to be true?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]