-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I posted the same question on alt.apache.configuration some time ago but got
no answer and decided to try also here.

I am setting up a test server with apache 2.2.0 and having trouble with LDAP
authentification.

This is (or was in 2.0) my configuration:

<Location /test>
  SSLRequireSSL

  Options Indexes FollowSymLinks

  # LDAP
  AuthLDAPURL "ldaps://1.example.com 2.example.com
    3.example.com/ou=users,ou=id,ou=auth,
    o=example,c=com?uid?one?(objectClass=*)"
  AuthLDAPBindDN
    "CN=linuxlo_proxy,OU=admins,OU=id,OU=auth,O=example,C=com"
  AuthLDAPBindPassword "**********"
  AuthzLDAPAuthoritative Off

  # Authenticattion
  Require valid-user
  AuthType Basic
  AuthName "Some text"

</Location>

Authentication fails with the following error:

  [error] Internal error: pcfg_openfile() called with NULL filename
  [error] [client 129.132.57.95] (9)Bad file descriptor: Could not
    open password file: (null)

I could agree on the fact the the passwd file cannot be opened since there
is none :-). My problem is: why Apache does not use LDAP but looks for a
password file.

Many thanks in advance,

Matteo

- -- Matteo Corti ETH Zurich -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFETPSTLEG/T0gggJsRAnV3AJ9xjdHENHgqtkjI+AQgV/wj+E21XACgtmWn
o7oXn90wqPibVjFnvA/2sS0=
=Lx0c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to