on your yp server system:

chkconfig ypserv on
chkconfig yppasswd on

in /etc/sysconfig/network put:
NISDOMAIN=yourdomainname

check the file /var/yp/Makefile and make any adjustments (I cant remember if
I did or not).
ypinit -m 

in /var/yp
make host passwd shadow group [netgroup..]

as for the yp.conf I have one single line:
domain my.domain server myserver

I think that covers it.  I think the missing NISDOMAIN could be the
culpert...do a 
domainname and see if your domain name shows up.

We are heavy into NIS here, but I'm looking into LDAP as a possible better
secured solution, maybe you should to before you get tied up into it (just a
suggestion).

Hope this helps.

smbinyon


-----Original Message-----
From: Gordon Stewart [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 16, 2002 6:34 AM
To: [EMAIL PROTECTED]
Subject: setting up NIS


Dear List

I am trying to set up NIS on my machine. I have set up ypserv.

usr/sbin/rpcinfo -p localhost
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100004    2   udp    934  ypserv
    100004    1   udp    934  ypserv
    100004    2   tcp    937  ypserv
    100004    1   tcp    937  ypserv

but when I try and run ypbind start

i run for about 20 second then it comes with the following error:

Binding to the NIS domain...
Listening for an NIS domain server: ..........ypwhich: Can't communicate
with ypbind

can anyone point me n the right direction in solving this.  Should I have
two items in my /etc/yp.conf for the client and server


Thanks

Gordon





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
  • setting up NIS Gordon Stewart
    • Binyon Steve Contr Det 4 AFC2TIG/ASRCC

Reply via email to