1849368 Members
6177 Online
104044 Solutions
New Discussion

Re: NIS Login Problem

 
Andrew Kaplan
Super Advisor

NIS Login Problem

I have a particular workstation, Visualize C380 running HP-UX 11.00, that has problems with NIS logins. Any NIS user account does not succeed in completing its login. However, local user accounts do work. I checked for other workstations having this problem and it appears to be local to the one machine. I was able to telnet to the system and run the top command. The results indicated the system idle time was at or near 100%. The ypwhich command indicated the correct NIS server the workation is supposed to reference. Also, when I did a ps -ef |grep yp, there was only one instance of ypbind. A bdf command on the local filesystems showed that none were at or above 90% capacity. Only /usr was at 88%. What else should I look for to correct this problem?
A Journey In The Quest Of Knowledge
7 REPLIES 7
Dave Hutton
Honored Contributor

Re: NIS Login Problem

Are you using trusted systems on the HPUX server?
My understanding is you need to use NIS+ if you are.

Being that local accounts seem to work, I'm thinking it has to do with NIS's authentication.

Dave
RAC_1
Honored Contributor

Re: NIS Login Problem

How the file /etc/nsswitch.conf has been configured?? What error message you get for NIS login problem??

do you use netgroup file for allowing access?? If yes, has the user(NIS user) been allowed to login to this box??

Anil
There is no substitute to HARDWORK
Andrew Kaplan
Super Advisor

Re: NIS Login Problem

Hi there --

Neither the client nor the server are trusted systems, and we are using NIS as opposed to NIS+.

The nsswitch file used by the system is nsswitch.nis as opposed to nsswitch.conf.

The login problem does not generate any error per se, it simply never completes bringing up the desktop GUI on the client system.

We do not use the netgroup file for access.
A Journey In The Quest Of Knowledge
RAC_1
Honored Contributor

Re: NIS Login Problem

Do you use automounter with NIS+??? If yes,
from the system can you do nslookup for the nis server(to and fro) successfully??

From the nis client, execute the following.
nsquery passwd "nis_user_name"

Also, if you dont mind, post the nsswitch.conf file.

Anil
There is no substitute to HARDWORK
Andrew Kaplan
Super Advisor

Re: NIS Login Problem

Sorry about the confusion, but just to reiterate we do not use NIS+. Also, we do not use the automounter utility.

I checked on the client for the nsquery utility, and it does not seem to be present. Therefore, I could not run the command that was specified.

I double-checked for the nsswitch.conf file and it does not seem to be located anywhere on the machine. I do have the following files: nsswitch.compat
.files
.hp_defaults
.nis
.nisplus
A Journey In The Quest Of Knowledge
RAC_1
Honored Contributor

Re: NIS Login Problem

Move the file /etc/nsswitch.nis as /etc/nsswitch.conf.

Post the contents and try.

Anil
There is no substitute to HARDWORK
V. Nyga
Honored Contributor

Re: NIS Login Problem

Hi Andrew,

have you checked /etc/rc.log if NIS has started without errors?
If yes, have you checked the NIS-user's home directories?
Do you have access to them?

For me it looks like the ws can't find the home dirs.

Volkmar
*** Say 'Thanks' with Kudos ***