Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
about nis

about nis

2006-02-23       - By Rick Stevens

 Back
Reply:     1     2     3     4     5     6  

On Wed, 2006-02-22 at 17:46 -0500, roldan wrote:
> i have in my server the domain nisnet created when i do the make under the
> directory /etc/yp
> the nisdomainname returns nisnet as result
> and i put the ypserv running in debug mode and there is a line that says:
> ypserv.conf:dns:0
> what this means?
>
> in the other hand i tried to bind from a client machine but i still having
> the error : "no binds to domain"
>
> and so i don't understand the command ypinit -m that i should run in the
> master server, do i have to add all the networks clients machines in the
> /etc/hosts file, and add all the networks users too before run the command?

You really should buy a book on NIS if you're going to be playing with
this.  I recommend the O'Reilly book "Managing NFS and NIS".

First, your master server AND all slaves and clients must belong to the
same NIS domain.  This is set by the "domainname" command and will NOT
survive a reboot unless you set "NISDOMAIN" in
the /etc/sysconfig/network file:

  NISDOMAIN=mynisdomain

AND either "ypserv" or "ypbind" is run at boot time.

Second, the NIS master must have "ypinit -m" run on it at least once to
set up the databases.

Third, the NIS master should have "ypserv" running on it ("service
ypserv start").  The master should also automatically start ypserv at
boot time ("chkconfig ypserv on" will set that up).

Fourth, all of the machines involved must be able to resolve the various
IP addresses involved--either via DNS or entries in the /etc/hosts file.

Fifth, your NIS clients should have /etc/yp.conf configured.  At a
minimum, they should have:

  ypserver name-or-IP-address-of-the-NIS-server

See the manpage for ypbind ("man ypbind") for details.

Your NIS clients should then be able to bind to the server using
"ypbind".  Once this is confirmed, enable ypbind to start at boot time
("chkconfig ypbind on").

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    Reality: A crutch for those who can't handle science fiction    -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe