NIS Server HP-UX 10.2 and new NIS Client Linux

Go to solution
Samuel Mathew
Frequent Advisor

NIS Server HP-UX 10.2 and new NIS Client Linux

Hi Folks,

We have a NIS server that is on HP-UX 10.2. It has been working with HP-UX NIS clients. Now I am adding Linux NIS Clients.

I did the following:
1. Set the NIS domain name using #nisdomainname
2. Edited the /etc/yp.conf file to identify the default NIS server
3. Edited /etc/host.conf file to include nis
4. edited /etc/nsswitch.conf file to include nis
5. Used serviceconf utility to start ypbind at start up.
6. Edited /etc/sysconfig/network file to include nisdomain name.
Ran ypbind but it can'see hear back anything from the nis server.
SHould I do anything on the server?
Should I do anything else on the client?
Can anybody help me?
Am I missing anything?
I would appreciate help. DIrect answer copies to would also be appreciated.
I am attaching the yp.conf file here with
Esteemed Contributor

Re: NIS Server HP-UX 10.2 and new NIS Client Linux


First you don't need to do any thing on
nis server (if he works)
Check if your linux know the ip of the
nis server.
You have tools that can configure the nis
for you like netcfg and many graphic tools
in difrent desktops.

Steven E. Protter
Exalted Contributor

Re: NIS Server HP-UX 10.2 and new NIS Client Linux

The tools available to you on the HP-UX side under 10.20 are pretty limited.

I would check the setup on the HP-UX side and make sure there is no security preventing communication.

It also might be a good idea to check if this is even a certified combination. The tools you are using on the Linux side are probably pretty new. The server side is pretty old. There is no guarantee that everything is compatible.

You will want to make sure the HP-UX side is fully patched.

When attempting to get the Linux machine hooked into the NIS domain, check the /var/adm/syslog/syslog.log file (/var/adm/syslog on some older machiens). You may get some clues as to what the problem is if communication is even happening.

Check the Linux servers logs after attempting a ypush operation and see if anything shows up there.

Steven E Protter
Owner of ISN Corporation
Andrew Kaplan
Super Advisor

Re: NIS Server HP-UX 10.2 and new NIS Client Linux

Depending on what version of Linux you have, the setup program might be the way to go on the client side. For example, Red Hat Linux has the program in /usr/bin. The program can be run as root or sudo user. Configuring the NIS client can be done via the Networking option.
A Journey In The Quest Of Knowledge