NIS password not updating right away on NIS client running CentOS

NIS password not updating right away on NIS client running CentOS

Post by JJ » Wed, 05 Aug 2009 01:34:53



I have several Solaris boxes and a couple of linux boxes running
CentOS on the same NIS domain.  The Master server is running solaris
10, there is a slave server running solaris 8.

If a user uses yppasswd on any box (solaris or CentOS) to change his
password, the change is seen right away on all of the solaris boxes
(servers and clients) - but it takes several minutes to update on the
CentOS clients - and seems like it won't update on a CentOS client at
all if you keep trying to log in before it's updated the password info
- as though every time you try and log in, it resets the clock.
You've got to wait the appropriate amount of time after your last
attempt, or it will continue to see the old password.

Anyone know why this might be?

The obvious workaround is to just wait, but it's pretty annoying as I
always like to check that it has actually worked correctly.

Thanks.

-JJ

 
 
 

NIS password not updating right away on NIS client running CentOS

Post by Chris Co » Sat, 08 Aug 2009 09:25:44



> I have several Solaris boxes and a couple of linux boxes running
> CentOS on the same NIS domain.  The Master server is running solaris
> 10, there is a slave server running solaris 8.

> If a user uses yppasswd on any box (solaris or CentOS) to change his
> password, the change is seen right away on all of the solaris boxes
> (servers and clients) - but it takes several minutes to update on the
> CentOS clients - and seems like it won't update on a CentOS client at
> all if you keep trying to log in before it's updated the password info
> - as though every time you try and log in, it resets the clock.
> You've got to wait the appropriate amount of time after your last
> attempt, or it will continue to see the old password.

Are you running a name server cache daemon?  (e.g. nscd)

Kill it... (disable it)

 
 
 

1. Help: NIS+ password information update failed while talking to NIS+ passwd daemon

Hi all,

I have setup a NIS+ server on Solaris 8, and several clients on Solaris 8 as
well.

I created several users, within the same group, using AdminSuite. Although I
was able to
change the password of one of them, I could not change the password of the
second. passwd
exited with 'NIS+ password information update failed while talking to NIS+
passwd daemon'.
Both have similar entries in cred.org_dir and passwd.org_dir
Can someone help?

Thanks a lot

bash-2.03$ passwd
passwd:  Changing password for thadou
Enter login(NIS+) password:
New password:
Re-enter new password:
NIS+ password information changed for thadou
NIS+ credential information changed for thadou

bash-2.03$ passwd
passwd:  Changing password for tleglise
Enter login(NIS+) password:
New password:
Re-enter new password:
NIS+ password information update failed while talking to NIS+ passwd daemon
passwd (NIS+): Password information update failed
Permission denied
bash-2.03$

2. Port 53 hit every hour

3. Can't change NIS+ password in NIS+ client

4. Sound Problems

5. NIS : auth problem with Linux nis server and SUN sparc nis client

6. I NEED HELP..(like usual)

7. NIS+ : Can an HP be a NIS client to a Sun NIS+ server

8. telephone under linux?

9. NIS clients do not like having NIS+ server

10. linux NIS client not binding to Solaris NIS+ server

11. NIS clients do not want to co-exist with NIS+ server

12. Changing from NIS client t NIS+ Client

13. NIS map mail.aliases specified, but NIS not running