- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot authenticate local user accounts!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
08-24-2005 07:54 PM
08-24-2005 07:54 PM
Cannot authenticate local user accounts!
Here's the situation:
I have an 11i machine which is linked into a SunOne directory server(LDAP) solution. This has been and is working fine. However, I added a local account and found that I cannot login using its details. I've confirmed and re-confirmed the password but each time I login- telnet/ftp/ssh/rlogin I type the correct password and it goes straight to prompting me for my LDAP password! I'm using the following for login (which is the same across all machines)
login auth sufficient /usr/lib/security/libpam_ldap.1 debug
login auth required /usr/lib/security/libpam_unix.1 try_first_pass debug
A debug shows the following:
Aug 25 03:32:58 bskyuat1 login: PAM_LDAP Entering pam_sm_authenticate ...
Aug 25 03:32:58 bskyuat1 login: PAM_LDAP pam_sm_authenticate(login, tonyw), flag
s = 0
Aug 25 03:33:01 bskyuat1 login: PAM_LDAP auth-bind failed!
Aug 25 03:33:01 bskyuat1 login: PAM_LDAP pam_sm_authenticate: set bind status (1
3)
Aug 25 03:33:01 bskyuat1 login: PAM_LDAP 2nd auth_bind returns 13
Aug 25 03:33:01 bskyuat1 login: PAM_LDAP pam_sm_authenticate: returning 13
Aug 25 03:33:01 bskyuat1 login: pam_authenticate: error No account present for u
ser
Aug 25 03:33:01 bskyuat1 login: unix pam_sm_authenticate(login tonyw), flags = 0
Aug 25 03:33:03 bskyuat1 login: pam_authenticate error
Aug 25 03:33:04 bskyuat1 login: exiting with return code 0
I can su - tonyw fine and it seems locally aware of the account but why can't I authenticate!? Recently we had to install Jave 1.3 (from hp site) and there were numerous patches to be installed. I'm hoping to back these out soon but I find it hard to believe that they have caused this problem.
Any insights greatly received.
Regards,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:09 PM
08-24-2005 08:09 PM
Re: Cannot authenticate local user accounts!
That may have been done when you were integrating your server into LDAP.
There may be an account on the LDAP server with that user name and your system is going there first for authentication.
SEP
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
08-24-2005 08:19 PM
08-24-2005 08:19 PM
Re: Cannot authenticate local user accounts!
I'll admit my LDAP experience is rather thin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:20 PM
08-24-2005 08:20 PM
Re: Cannot authenticate local user accounts!
Yes, all machines are set to authenticate LDAP first as we have very few local accounts. I've verified that the account does not exist in LDAP and I've tried various others - all with the same result.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 08:24 PM
08-24-2005 08:24 PM
Re: Cannot authenticate local user accounts!
No, nsswitch.conf is set for files nis for passwd. This can be seen by the fact that I can su - tonyw locally on the machine.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 05:47 PM
08-25-2005 05:47 PM
Re: Cannot authenticate local user accounts!
login auth sufficient /usr/lib/security/libpam_unix.1 debug
login auth required /usr/lib/security/libpam_ldap.1 try_first_pass debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 07:10 PM
08-25-2005 07:10 PM
Re: Cannot authenticate local user accounts!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 07:11 PM
08-25-2005 07:11 PM