Article 54PKH NIS SLAVE "user test does not exist"

NIS SLAVE "user test does not exist"

by
robbtek
from LinuxQuestions.org on (#54PKH)
Example configuration:

(CENTOS6 same version on master and slave)

nis: MASTER NIS SERVER nis2: SLAVE NIS SERVER

Master and Slave server are configured correctly (file hosts nsswitch and other)

TEST OF PROBLEM:

Add new user on MASTER, it work perfectly. Make new db for domain and push on slave:

cd /var/yp
make
/etc/init.d/ypserv restart
/etc/init.d/yppasswdd restart
On SLAVE file/directory are update (/var/yp/binding/MY_DOMAIN). If I try to login with new user on master is OK but on slave "user test does not exist"

Slave server return that user "exist":

ypcat -h nis passwd.byname | grep test
test:x:9124:9124::/home/test:/bin/bash

ypcat -h nis2 passwd.byname | grep test
test:x:9124:9124::/home/test:/bin/bash

There are no error logs.

How can I solve it?latest?d=yIl2AUoC8zA latest?i=esfhFCBoV3U:vI836y3lUfc:F7zBnMy latest?i=esfhFCBoV3U:vI836y3lUfc:V_sGLiP latest?d=qj6IDK7rITs latest?i=esfhFCBoV3U:vI836y3lUfc:gIN9vFwesfhFCBoV3U
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments