mvsnaniou
asked on
NIS SERVEFR
i have configure the nis server.
#yum install ypserv
#chkconfig ypserv on
#nisdomainname ucecse.edu
#vim /etc/sysconfig/network
NISDOMAIN=ucecse.edu
#service ypserv restart
#service yppasswdd restart
#service ypxfrd restart
#/user/lib/yp/ypinit -m
i have created some users then
#cd /var/yp/ make
#service ypserv restart
#service ypasswdd restart
#service ypxfrd restart
#ypcat password
#####No such map password. Reason: Can't bind to server which serves this domain#####
#vi /etc/exports
/home 10.10.12.11/255.255.255.0( rw,sync,no _root_squa sh)
:wq
#exportfs -r
#service nfs restart
CLIENT SIDE CONFIGURATION
#setup
Authentication configuration - runtool - *USE NIS - Domain : ucecse.edu , Server : 10.10.12.11
#vi /etc/atuo.master
/home /etc/auto/misc
:wq
#vi /etc/auto.misc
* -rw,sfot,intr 10.10.12.11:/home/&
:wq
#service autofs restart
after that in client side when a user in the username and password it is showing permission deny
1 promble is
#ypcat password
No such map password. Reason: Can't bind to server which serves this domain
2 promble is
permission deny
#yum install ypserv
#chkconfig ypserv on
#nisdomainname ucecse.edu
#vim /etc/sysconfig/network
NISDOMAIN=ucecse.edu
#service ypserv restart
#service yppasswdd restart
#service ypxfrd restart
#/user/lib/yp/ypinit -m
i have created some users then
#cd /var/yp/ make
#service ypserv restart
#service ypasswdd restart
#service ypxfrd restart
#ypcat password
#####No such map password. Reason: Can't bind to server which serves this domain#####
#vi /etc/exports
/home 10.10.12.11/255.255.255.0(
:wq
#exportfs -r
#service nfs restart
CLIENT SIDE CONFIGURATION
#setup
Authentication configuration - runtool - *USE NIS - Domain : ucecse.edu , Server : 10.10.12.11
#vi /etc/atuo.master
/home /etc/auto/misc
:wq
#vi /etc/auto.misc
* -rw,sfot,intr 10.10.12.11:/home/&
:wq
#service autofs restart
after that in client side when a user in the username and password it is showing permission deny
1 promble is
#ypcat password
No such map password. Reason: Can't bind to server which serves this domain
2 promble is
permission deny
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have you made sure your firewall is not blocking the traffic? Also use the rpcinfo -p to see if the NIS
server is listening for connections.