httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Declerck Michael-W30479" <>
Subject [users@httpd] LDAP auth: Internal Server Error
Date Thu, 03 Aug 2006 16:25:56 GMT
I want to allow only certain users to authenticate themselves against an
LDAP server.
This authentication is only for a folder on my document root.
I am using Apache2.2.2.

I get a authentication pop-up box from the LDAP server.
After I authenticate, however, I get an Internal Server Error on the
page and these two errors in my error log:
[Thu Aug 03 11:00:20 2006] [error] Internal error: pcfg_openfile()
called with NULL filename
[Thu Aug 03 11:00:20 2006] [error] [client] (9)Bad file
descriptor: Could not open password file: (null)

Does anyone know what pcfg_openfile() is? Does that have something to do
with .htpasswd?
Here is my LDAP configuration:

# Enable the LDAP connection pool and shared memore cache
LDAPsharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600

# Enable the LDAP cache status handler.

<Location /ldap-status>
   SetHandler ldap-status
   Order deny,allow
   Deny from all
   Allow from all
   AuthType Basic
   AuthName "Applications Directory Authentication"
   AuthzLDAPAuthoritative on
   require user w30479

# Enable LDAP authentication on "auth" directory
<Directory "/usr/local/apache2/cgi-bin//auth">
   Order allow,deny
   Options FollowSymLinks
   AllowOverride None
   Allow from all
   AuthType Basic
   AuthName "Enter Your Applications Directory Password"
   require ldap-user rlvh30 wlkw03 w16993

What I really want to do is authenticate over SSL, which I have
activated on the "default" virtual host.
I have tried the secure ldap server (ldaps://) but I have the same

Any advice is appreaciated,
Michael DeClerck

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message