HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP Apache and auth_ldap
Operating System - HP-UX
1833694
Members
3717
Online
110062
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
11-18-2003 02:20 AM
11-18-2003 02:20 AM
HP Apache and auth_ldap
I am trying to set up apache on HP-UX to authenticate to LDAP, and if LDAP fails, I want it to check a local file such as a file created with htpasswd. My ldap configuration works fine until I add the AuthUserFile directive. When I do that, it skips LDAP entirely and just uses the authuserfile for authentication. When I remove the AuthUserFile directive LDAP continues to work properly.
Below is a snip from my httpd.conf:
Order allow,deny
Allow from all
AuthName "Restricted Area"
AuthType Basic
AuthLDAPAuthoritative off
# AuthLDAPURL should point to your ldap server
AuthLDAPURL ldap://dc1:389 dc2:389/DC=domain,DC=org?sAMaccountName
AuthLDAPBindDN ""
AuthLDAPBindPassword
AuthUserFile /tmp/test.dat
#AuthLDAPStartTLS on
require valid-user
Below is a snip from my httpd.conf:
Order allow,deny
Allow from all
AuthName "Restricted Area"
AuthType Basic
AuthLDAPAuthoritative off
# AuthLDAPURL should point to your ldap server
AuthLDAPURL ldap://dc1:389 dc2:389/DC=domain,DC=org?sAMaccountName
AuthLDAPBindDN "
AuthLDAPBindPassword
AuthUserFile /tmp/test.dat
#AuthLDAPStartTLS on
require valid-user
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP