Operating System - HP-UX
1820195 Members
4138 Online
109620 Solutions
New Discussion юеВ

Re: NIS MAPS NOT PUSHED TO SLAVE

 
brian_31
Super Advisor

NIS MAPS NOT PUSHED TO SLAVE

Team:

When we add a NIS id i am able to login with that id on the master but not on slave. The Slave is on a different subnet (but that shd not matter as i have ypset to master). I have the the plus and the : in the passwd file and my ypcat ypservers are fine. not sure of what i am missing.

Thanks

Brian
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: NIS MAPS NOT PUSHED TO SLAVE

Hi Brian,

What happens if you manualy run ypmake ?

Robert-Jan
MarkSyder
Honored Contributor

Re: NIS MAPS NOT PUSHED TO SLAVE

Have you run ypmake and yppush?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
brian_31
Super Advisor

Re: NIS MAPS NOT PUSHED TO SLAVE

Team:

When i run ypmake it says everything is up to date. But the maps are not getting pushed to slave.

Thanks

Brian
MarkSyder
Honored Contributor

Re: NIS MAPS NOT PUSHED TO SLAVE

ypmake is only half the battle.

Have you run yppush?

Mark
The triumph of evil requires only that good men do nothing
Sunil Sharma_1
Honored Contributor

Re: NIS MAPS NOT PUSHED TO SLAVE

Do you have ypxfr command in your crontab ?

Please see ypxfr and yppushman page for pushing maps to NIS Slave server.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Stuart Urquhart
Frequent Advisor

Re: NIS MAPS NOT PUSHED TO SLAVE

Is the slave in the ypservers map ? Try ypcat -k ypservers and make sure it's listed. If not, cd /var/yp; ypcat -k ypservers > ypservers. Add a line in for the slave, makedbm ypservers `domainname`/ypservers; yppush ypservers, then try touching a NIS propagated file and make sure it get transfers.