|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I posted the same question on alt.apache.configuration some time ago but got no answer. On the Apache homepage they mention this newsgroup so I'll try again: 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=exampl e,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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
[ Matteo Corti ]
> Hi, > > I posted the same question on alt.apache.configuration some time ago but got > no answer. On the Apache homepage they mention this newsgroup so I'll try > again: > > 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: LDAP-auth has been revamped for Apache 2.2, and your config from 2.0 is most likely not proper for the new server. One thing i noticed you lack in your config is the "AuthBasicProvider ldap" directive. See docs for details: http://httpd.apache.org/docs/2.2/mod...thnz_ldap.html Rgds, Kenneth Svee |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 2006-05-03, Kenneth Svee <ksvee+news@usit.uio.no> wrote:
> [ Matteo Corti ] > >> Hi, >> >> I posted the same question on alt.apache.configuration some time ago but got >> no answer. On the Apache homepage they mention this newsgroup so I'll try >> again: >> >> 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: > > LDAP-auth has been revamped for Apache 2.2, and your config from 2.0 > is most likely not proper for the new server. Yes I had to adapt it a little bit > One thing i noticed you > lack in your config is the "AuthBasicProvider ldap" directive. See > docs for details: > > http://httpd.apache.org/docs/2.2/mod...thnz_ldap.html Many thanks! I was missing it. Now Apache is using LDAP to authenticate and not asking for a passwd file anymore!. Matteo -- Matteo Corti ETH Zurich |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 2006-05-03, Kenneth Svee <ksvee+news@usit.uio.no> wrote:
> [ Matteo Corti ] > >> Hi, >> >> I posted the same question on alt.apache.configuration some time ago but got >> no answer. On the Apache homepage they mention this newsgroup so I'll try >> again: >> >> 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: > > LDAP-auth has been revamped for Apache 2.2, and your config from 2.0 > is most likely not proper for the new server. Yes I had to adapt it a little bit > One thing i noticed you > lack in your config is the "AuthBasicProvider ldap" directive. See > docs for details: > > http://httpd.apache.org/docs/2.2/mod...thnz_ldap.html Many thanks! I was missing it. Now Apache is using LDAP to authenticate and not asking for a passwd file anymore!. Matteo -- Matteo Corti ETH Zurich |
|
![]() |
| Outils de la discussion | |
|
|