Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2008 16:37:15 -0700 (PDT)
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128078: www/apache20 -- LDAP support is broken
Message-ID:  <20081013233715.5B52EC9419@icarus.home.lan>
Resent-Message-ID: <200810132340.m9DNe0vf096323@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081013233715.5B52EC9419>