- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- nis unable to login from the nis client
Operating System - Linux
1753971
Members
8779
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2007 08:49 PM
тАО10-09-2007 08:49 PM
Hi friends,
I have a NIS server where I have exported my /home in rw mode to the NIS client. all the services are running for both server and client through automount I can see the /home in my NIS client. All the required daemons are running in both the nodes.
NIS server:
[root@testnode1 nisusers]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100004 2 udp 662 ypserv
100004 1 udp 662 ypserv
100004 2 tcp 665 ypserv
100004 1 tcp 665 ypserv
600100069 1 udp 672 fypxfrd
600100069 1 tcp 674 fypxfrd
100007 2 udp 685 ypbind
100007 1 udp 685 ypbind
100007 2 tcp 688 ypbind
100007 1 tcp 688 ypbind
100009 1 udp 991 yppasswdd
100011 1 udp 609 rquotad
100011 2 udp 609 rquotad
100011 1 tcp 612 rquotad
100011 2 tcp 612 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32779 nlockmgr
100021 3 udp 32779 nlockmgr
100021 4 udp 32779 nlockmgr
100021 1 tcp 32775 nlockmgr
100021 3 tcp 32775 nlockmgr
100021 4 tcp 32775 nlockmgr
100005 1 udp 625 mountd
100005 1 tcp 628 mountd
100005 2 udp 625 mountd
100005 2 tcp 628 mountd
100005 3 udp 625 mountd
100005 3 tcp 628 mountd
NIS client:
[root@testnode2 init.d]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100021 1 udp 32769 nlockmgr
100021 3 udp 32769 nlockmgr
100021 4 udp 32769 nlockmgr
100021 1 tcp 32772 nlockmgr
100021 3 tcp 32772 nlockmgr
100021 4 tcp 32772 nlockmgr
100007 2 udp 644 ypbind
100007 1 udp 644 ypbind
100007 2 tcp 647 ypbind
But when I am trying to login from the NIS client its giving me access denied:
login as: test1
test1@testnode2's password:
Access denied
test1@testnode2's password:
Where test1 is the user created in NIS server.
I am able to change the password for the nis server :
[root@testnode2 init.d]# yppasswd test1
Changing NIS account information for test1 on testnode1.
Please enter root password:
Changing NIS password for test1 on testnode1.
Please enter new password:
Please retype new password:
The NIS password has been changed on testnode1.
Pls let me know whats wrong?
Thanks.
I have a NIS server where I have exported my /home in rw mode to the NIS client. all the services are running for both server and client through automount I can see the /home in my NIS client. All the required daemons are running in both the nodes.
NIS server:
[root@testnode1 nisusers]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100004 2 udp 662 ypserv
100004 1 udp 662 ypserv
100004 2 tcp 665 ypserv
100004 1 tcp 665 ypserv
600100069 1 udp 672 fypxfrd
600100069 1 tcp 674 fypxfrd
100007 2 udp 685 ypbind
100007 1 udp 685 ypbind
100007 2 tcp 688 ypbind
100007 1 tcp 688 ypbind
100009 1 udp 991 yppasswdd
100011 1 udp 609 rquotad
100011 2 udp 609 rquotad
100011 1 tcp 612 rquotad
100011 2 tcp 612 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32779 nlockmgr
100021 3 udp 32779 nlockmgr
100021 4 udp 32779 nlockmgr
100021 1 tcp 32775 nlockmgr
100021 3 tcp 32775 nlockmgr
100021 4 tcp 32775 nlockmgr
100005 1 udp 625 mountd
100005 1 tcp 628 mountd
100005 2 udp 625 mountd
100005 2 tcp 628 mountd
100005 3 udp 625 mountd
100005 3 tcp 628 mountd
NIS client:
[root@testnode2 init.d]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100021 1 udp 32769 nlockmgr
100021 3 udp 32769 nlockmgr
100021 4 udp 32769 nlockmgr
100021 1 tcp 32772 nlockmgr
100021 3 tcp 32772 nlockmgr
100021 4 tcp 32772 nlockmgr
100007 2 udp 644 ypbind
100007 1 udp 644 ypbind
100007 2 tcp 647 ypbind
But when I am trying to login from the NIS client its giving me access denied:
login as: test1
test1@testnode2's password:
Access denied
test1@testnode2's password:
Where test1 is the user created in NIS server.
I am able to change the password for the nis server :
[root@testnode2 init.d]# yppasswd test1
Changing NIS account information for test1 on testnode1.
Please enter root password:
Changing NIS password for test1 on testnode1.
Please enter new password:
Please retype new password:
The NIS password has been changed on testnode1.
Pls let me know whats wrong?
Thanks.
Keen to learn HP UX
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2007 07:08 AM
тАО10-10-2007 07:08 AM
Re: nis unable to login from the nis client
Shalom,
Check /var/adm/syslog/syslog.log on both systems.
See if the configuration files are compatible or if some firewall is blocking the needed ports.
what does ypmake on the master do?
SEP
Check /var/adm/syslog/syslog.log on both systems.
See if the configuration files are compatible or if some firewall is blocking the needed ports.
what does ypmake on the master do?
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2007 03:41 PM
тАО10-10-2007 03:41 PM
Solution
You could try a couple of things:
- Check to see if the user has a login shell available to him
i.e. # getent passwd test1
- Restarting nscd (if running) might help on some older versions
- Check log messages for errors, could be a pam issue
- Check to see if the user has a login shell available to him
i.e. # getent passwd test1
- Restarting nscd (if running) might help on some older versions
- Check log messages for errors, could be a pam issue
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP