Operating System - Linux
1829598 Members
1764 Online
109992 Solutions
New Discussion

RHEL AS 3 is NIS server, but cannot login using NIS id from AIX and HP-Unix NIS clients.

 
GnanaShekar
Regular Advisor

RHEL AS 3 is NIS server, but cannot login using NIS id from AIX and HP-Unix NIS clients.

Hi,

We have a RHEL AS 3 in our lab serving as NIS server. We have Linux, Solaris, hp-unix & AIX NIS clients.

I can use NIS id to login from Linux and Solaris, but cannot login from AIX and HP-Unix.

Does linux have any limitation or I am surely missing some configuration. Please suggest or point me in the right direction.

Thanks & Regards,
-GnanaShekar-
4 REPLIES 4
Vipulinux
Respected Contributor

Re: RHEL AS 3 is NIS server, but cannot login using NIS id from AIX and HP-Unix NIS clients.

Hi

What version of NIS are you using?
Also have you checked the nsswitch files on the other unix clients...it should have nis listed.

Cheers
Alexander Chuzhoy
Honored Contributor

Re: RHEL AS 3 is NIS server, but cannot login using NIS id from AIX and HP-Unix NIS clients.

I think it may be related to shadow password issue.I'd check this first.
In order to stop using shadow passwords-edit
/var/yp/Makefile
make sure the MERGE_PASSWD line looks like this:
MERGE_PASSWD=false
then do:
make -C /var/yp


hope it helps.
Steven E. Protter
Exalted Contributor

Re: RHEL AS 3 is NIS server, but cannot login using NIS id from AIX and HP-Unix NIS clients.

Shalom Ganana,

A little bad news for you.

HP-UX NIS clients can not authenticate to a NIS server on Linux that uses shadow passwords. This is a known problem, which is why we use HP-UX for NIS domain master.

You may be able to get around it by installing shadow password software on HP-UX.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ShadowPassword

There is probably an AIX equivalent, and I can not say for certain the issue with AIX is the same.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Domnic Vijay
New Member

Re: RHEL AS 3 is NIS server, but cannot login using NIS id from AIX and HP-Unix NIS clients.

Hi Shekar,

Is your HP-UX a trusted machine? If so NIS won't work. If your HP-UX is not in Trusted mode, you have to disable MD5 and Shadow in your Linux NIS Server. Run authconfig to do that and reboot the Linux box in order to take effect.