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 10.22.62.15] (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" AuthLDAPURL ldap://ids.mot.com/ou=people,ou=intranet,dc=mot,dc=com?uid AuthzLDAPAuthoritative on require user w30479 </Location> # 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" AuthLDAPURL ldap://ids.mot.com:389/ou=people,ou=intranet,dc=mot,dc=com?motguid require ldap-user rlvh30 wlkw03 w16993 </Directory> 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 error. Any advice is appreaciated, Michael DeClerck --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx