Operating System - HP-UX
1833098 Members
3030 Online
110051 Solutions
New Discussion

nis and passwd /group file problem

 
K R Prayag
Occasional Contributor

nis and passwd /group file problem

I have recently migrated our NIs server vrom a hpux 10.20 to 11(64bit OS). I have used NIS only and on the master i am having a very intermittent problem when clearcase users are trying to do the build it inconsistently says login information could'nt be found.

if i give the below command
/usr/contrib/bin passwd it retrieves the correct information.

Any help is highly appreciated.
3 REPLIES 3
Peter Nikitka
Honored Contributor

Re: nis and passwd /group file problem

Hello,

did the hostname of the NIS-Server change?
If so, did you force creation of all NIS-maps (which contain the hostname of the master)?

Did you force an update of all other NIS-servers with the new maps?

Try a 'ypwhich -m' on all clients to get the name of the NIS-master.

Try 'ypmatch passwd' on all hosts and look if you get the results of the user.
Perhaps the NIS-Domain is not bound, at all

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Kevin Wright
Honored Contributor

Re: nis and passwd /group file problem

try a ypmatch on the user in the passwd map
ypmatch -k user passwd to see if it can find the username.

K R Prayag
Occasional Contributor

Re: nis and passwd /group file problem

Peter/Kevin,

Thanks for you kind reply.
I have tried that and it comes back with the correct results.
The problem i have is on the Master itself.
As the Master is also a client of its own NIS domain. I have done some more digging and i feel there is nis beakage happening. As if i type 'id ' it returns me the correct results and then 'id nisuser' says could't find the user. after a couple of minutes if i try 'id nisuser' it bring backs the correct results.

Any help is highly appreciated.

Kamesh.