ports/128078: www/apache20 -- LDAP support is broken
Jeremy Chadwick
koitsu at FreeBSD.org
Mon Oct 13 23:40:02 UTC 2008
>Number: 128078
>Category: ports
>Synopsis: www/apache20 -- LDAP support is broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 13 23:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Chadwick
>Release: FreeBSD 7.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 root at icarus.home.lan:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64
>Description:
skreuzer on EFnet #bsdports brought to our attention that the Apache 2.0
port does not appear to be properly including LDAP support when built
with "make WITH_LDAP=true".
openldap24-client is pulled in as a dependency, but mod_auth_ldap.so
isn't installed, and "httpd -l | grep -i ldap" shows nothing.
>How-To-Repeat:
See above.
>Fix:
Upon reading httpd-2.0.63/modules/experimental/README.ldap, I found that
there's two configure flags which are missing from the port Makefile:
--enable-ldap
--enable-auth-ldap
These need to be added to the CONFIGURE_ARGS section within the WITH_LDAP
define check (lines 131 to 136).
Upon adding these to the Makefile, I was able to get LDAP support working
in Apache, but only built statically (no mod_auth_ldap.so installed, but
"httpd -l | grep -i ldap" shows mod_auth_ldap.c).
I think this needs some further research. I'm not fully familiar with
getting shared modules to work in www/apache20, but clement@ I'm sure
knows how to do it properly. :-)
Also note www/apache22 may have the same problem, but I haven't confirmed
this possibility.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list