NIS password and group changes not found

Issues related to applications and software problems
Post Reply
Dan Nuzzo
Posts: 1
Joined: 2019/08/22 14:30:53

NIS password and group changes not found

Post by Dan Nuzzo » 2019/08/22 15:11:38

Hello,

I'm have a strange problem with centos7 and NIS. I have added a new group on the NIS master, and changed a user to be in that group.
Then I run 'cd /var/yp;make'. If I goto the client and run ypcat passwd, ypcat passwd.byuid, ypcat group, ypcat group.bygid, I see the group
and the change in the user. But when I login, the user still has the old group. I wrote a test program to use getpwnam(), and getgrnam(),
getpwname() returns the user with the old group, and getgrnam() does not find the new group. I was thinking it could be some kind of caching
issue, but 'nscd' is not running or installed. Not sure where else to look. Has anyone had a similar issue, or any idea of what I might look at to
figure this out.

Post Reply