[NIS]: a small problem with NIS
AlilouLinux
alilou_linux at yahoo.fr
Mon Dec 13 18:47:09 UTC 2004
----- Original Message -----
From: <akonstam at trinity.edu>
To: "For users of Fedora Core releases" <fedora-list at redhat.com>
Sent: Monday, December 13, 2004 4:19 PM
Subject: Re: [NIS]: a small problem with NIS
> On Mon, Dec 13, 2004 at 02:09:45AM +0100, AlilouLinux wrote:
> > Good morning the groupe,
> > I have a small problem with NIS. In a sation (or server), when I type
this
> > commande "ypcat hosts", I get this answer: "No such map hosts.byname.
> > Reason: internal error in NIS"
> > Did you know where is the proble?
> Is there a hosts.byname database or not. These are created by lines in
> the MAKEFILE in /var/yp.
> It is not clear that using NIS to retreive passwds, hosts , etc on
> your server from your server is a terrific idea. It is certainly not
> necessary.
You are speaking about the files {hosts.byaddr, hosts.byname, groupe.byname,
passwd.byname ....}. Yes this database exists. I have recreated it. IT is
in "/var/yp/nis.a22.TPnis" .
The system give me the same answer when I do: "ypcat group" or "ypcat
passwd"...
I think that the problem is: The system does'nt point to this database !!!!
> >
> > ********************
> > NB:
> > domain name: nis.a22.TPnis
> > ip of the nis server : 10.172.52.22
> > I have created the file /var/yp/nis.a22.TPnis
> > I have added to /etc/yp.conf:
> > nis.a22.TPnis server 10.172.52.39
> > ypserver 10.172.52.39
> > I have added to /etc/sysconfig/network:
> > NISDOMAIN="nis.a22.TPnis"
> > created /etc/domainname and added it this line:
> > nis.a22.TPnis
> > typed the following command: "domainname nis.a22.TPnis"
> > added the following lines to /et/ypserv.conf:
> > #host :domain :map :security :passwdmangle
> > 10.172.52. :* :passwd.byname :port :yes
> > 10.172.52. :* :passwd.byuid :port :yes
> > I have donne
> > /usr/lib/yp/ypinit -m
> > created the file "/var/yp/securenets" with this content
> > 255.0.0.0 127.0.0.0
> > 255.0.0.0 10.172.52.0
> > created the maps
> > cd /var/yp/nis.a22.TPnis/
> > make -f ../Makefile all
> > restart the daemons
> > ypserv restart
> > yppasswdd restart
> > when I type "domainname" I get this answer "nis.a22.TPnis"
> > And when I type "ypwhch" I get "station_a22" (the name of my station
which
> > is in the same time my nis server)
> > **********************
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
> --
>
> =======================================================================
> I do not find in orthodox Christianity one redeeming feature.
> - Thomas Jefferson
> -------------------------------------------
> Aaron Konstam
> Computer Science
> Trinity University
> One Trinity Place.
> San Antonio, TX 78212-7200
>
> telephone: (210)-999-7484
> email:akonstam at trinity.edu
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
More information about the fedora-list
mailing list