Hey,

we're having the same problem after upgrading from Lenny to Squeeze.

Our HTTP server can be accessed both by http and https. I've verified
that it doesn't matter how I access them, the problem is the same in
both cases.

The following snippet causes the "internal server error":

<LocationMatch ^/intern/>
  AuthType Basic
  AuthBasicProvider ldap
  AuthName "LINET Services Interner Bereich"
  AuthLDAPURL 
"ldap://ls-bs-si2.linet-services.ucs:389/cn=users,dc=linet-services,dc=ucs?uid?sub?(objectClass=*)"
 TLS
  AuthzLDAPAuthoritative Off
  Require valid-user
</LocationMatch>

The same happens when I remove "TLS":

<LocationMatch ^/intern/>
  AuthType Basic
  AuthBasicProvider ldap
  AuthName "LINET Services Interner Bereich"
  AuthLDAPURL 
"ldap://ls-bs-si2.linet-services.ucs:389/cn=users,dc=linet-services,dc=ucs?uid?sub?(objectClass=*)"
  AuthzLDAPAuthoritative Off
  Require valid-user
</LocationMatch>

However, if I force an unencrypted connection to the LDAP server then
the error disappears and everything's working OK:

<LocationMatch ^/intern/>
  AuthType Basic
  AuthBasicProvider ldap
  AuthName "LINET Services Interner Bereich"
  AuthLDAPURL 
"ldap://ls-bs-si2.linet-services.ucs:389/cn=users,dc=linet-services,dc=ucs?uid?sub?(objectClass=*)"
 NONE
  AuthzLDAPAuthoritative Off
  Require valid-user
</LocationMatch>

The error only occurs when a request has been made and after the actual
authentication. The rest of the server works normally.

MfG,
Moritz Bunkus
-- 
Dipl.-Inform. Moritz Bunkus
Prokurist/CTO

LINET Services GmbH | Am Alten Bahnhof 4b | 38122 Braunschweig
Tel. 0531-180508-0  | Fax 0531-180508-29  | http://www.linet-services.de

Geschäftsführung: Philip Reetz und Torsten Börner
HR B 9170 Amtsgericht Braunschweig

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to