I am having the exact same problem seen here:
http://mail-archives.apache.org/mod_mbox/httpd-users/200601.mbox/[EMAIL
PROTECTED]
I have tried the solution listed in a followup, but that has not worked
for me. I am trying to compile apache 2.2.2 with ldap support on Solaris
2.9 but get this error
, 2006 1:35 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Compiling Apache 2.2.0 on Solaris 10 with
mod_authnz_ldap support
Yu, Ming wrote:
I have downloaded openldap and apache2.2.0. I am looking for
instructions of how to compile the apache web server with
mod_authnz_ldap
Yu, Ming wrote:
I have downloaded openldap and apache2.2.0. I am looking for
instructions of how to compile the apache web server with
mod_authnz_ldap.
Thanks,
- Ming YU
- Johns Hopkins University Applied Physics Lab
Assuming you have OpenLdap in /usr/local/openldap, OpenSSL in
./configure --prefix=path_to_apache/apache2 --enable-mods-shared=all
--enable-ssl=shared --enable-authnz-ldap --with-ssl=/usr/local/ssl
--with-ldap --enable-ldap
See also http://mysecondhead.blogspot.com/
If you need SSL, you should adjust the --with-ssl to the Solaris
OpenSSL at /usr/sfw
There's a bug in the help files - Following the sample, you are still
trying to authenticate to a local file...
http://issues.apache.org/bugzilla/show_bug.cgi?id=38036
AuthBasicProvider ldap
AuthType Basic
AuthName Password protected area
Order deny,allow
Deny from all
Allow from
Thanks. That definatley did help a bit..I think now my error is just in creating the correct LDAPURL since I'm getting error:[Thu Jan 26 09:38:24 2006] [warn] [client X] [9503] auth_ldap authenticate: user username authentication failed; URI /test [LDAP: ldap_simple_bind_s() failed][Invalid
Not sure where you put the ldap libraries, but just in case, you might
want to 'help' apache find them. I had problems using the mozilla libs
with timeout, so switching back to openldap libs, and configure kept on
finding and trying to link to them... Also, in case it finds first
Sun's stock
Thanks for the help, that did help get apache compiled with authnz_ldapHowever when I try to setup a directory to be LDAP protected I get:[Wed Jan 25 14:42:07 2006] [error] Internal error: pcfg_openfile() called with NULL filename
[Wed Jan 25 14:42:07 2006] [error] [client em] (9)Bad file number: