HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PAM NTLM Authentication Failing - Repost
Operating System - HP-UX
1827706
Members
2991
Online
109967
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
07-31-2002 12:02 PM
07-31-2002 12:02 PM
PAM NTLM Authentication Failing - Repost
I haven't received a reply on this one yet, so I'm hoping reposting it will bring some help along.
I'm having a problem getting a sample application on HP-UX 11.00 to authenticate against a PDC using the PAM NTLM module.
This is my first shot at using the PAM NTLM module, so I've never had it working before on this box or any other box in house.
In short, my call to pam_authenticate is failing with a "Error in underlying service module" message and the following messages are written to my debug syslog:
Jul 30 09:40:27 marten syslog: Entering ntlm pam_sm_authenticate: flags 0
Jul 30 09:40:27 marten syslog: ntlm pam_sm_authenticate(dlx, mlange), flags = 0
Jul 30 09:40:27 marten syslog: pam_ntlm: mlange Succesfully logged is as mlange
Jul 30 09:40:27 marten syslog: ntlm authenticate passed!
Jul 30 09:40:27 marten syslog: setCred failed; returned: 13
Jul 30 09:40:27 marten syslog: ntlm_pam_authenticate: returning FAILURE
Jul 30 09:40:27 marten syslog: pam_authenticate: error Error in underlying service module
I can't find anything about setCred( ) on Google, here, etc... I do know that it is definitely not calling pam_sm_setcred( ). I wrote my own little service module that did nothing more than dump messages to stdout when each function was called and pam_sm_setcred( ) was never called.
Knowing that error 13 from the debug syslog is EACCESS, I tried running my sample application as setuid to root and it works just fine. I can't believe that my application would have to run as setuid to root, though, in order for this to work.
Am I missing something real simple here?
Thanks for any help!
Mike
I'm having a problem getting a sample application on HP-UX 11.00 to authenticate against a PDC using the PAM NTLM module.
This is my first shot at using the PAM NTLM module, so I've never had it working before on this box or any other box in house.
In short, my call to pam_authenticate is failing with a "Error in underlying service module" message and the following messages are written to my debug syslog:
Jul 30 09:40:27 marten syslog: Entering ntlm pam_sm_authenticate: flags 0
Jul 30 09:40:27 marten syslog: ntlm pam_sm_authenticate(dlx, mlange), flags = 0
Jul 30 09:40:27 marten syslog: pam_ntlm: mlange Succesfully logged is as mlange
Jul 30 09:40:27 marten syslog: ntlm authenticate passed!
Jul 30 09:40:27 marten syslog: setCred failed; returned: 13
Jul 30 09:40:27 marten syslog: ntlm_pam_authenticate: returning FAILURE
Jul 30 09:40:27 marten syslog: pam_authenticate: error Error in underlying service module
I can't find anything about setCred( ) on Google, here, etc... I do know that it is definitely not calling pam_sm_setcred( ). I wrote my own little service module that did nothing more than dump messages to stdout when each function was called and pam_sm_setcred( ) was never called.
Knowing that error 13 from the debug syslog is EACCESS, I tried running my sample application as setuid to root and it works just fine. I can't believe that my application would have to run as setuid to root, though, in order for this to work.
Am I missing something real simple here?
Thanks for any help!
Mike
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP