WITH_LDAP causes www/apache20/Makefile to add the opetion "--enable-auth-ldap". This makes mod_auth_ldap as a built-in module (you can check with "httpd -l"). mod_auth_ldap referes mod_ldap, it usually isn't a built-in module, and it faults with NULL pointer dereference at util_ldap.c. Fix: Change "--enable-auth-ldap" in the Makefile to "--enable-auth-ldap=shared". Patch attached with submission follows: How-To-Repeat: # cd /usr/ports/www/apache20 # make WITH_DBM=bdb WITH_LDAP=yes WITH_SSL_MODULES=yes WITH_SUEXEC_MODULES=yes WITH_PROXY_MODULES=yes WITH_KQUEUE_MODULES=yes WITHOUT_IPV6=yes install # /usr/local/sbin/httpd -l
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed, Thanks!
pgollucci 2012-02-08 05:02:15 UTC FreeBSD ports repository Modified files: www/apache20 Makefile Log: - Fix WITH_LDAP support by adding =shared PR: ports/147806 With Hat: apache@ Revision Changes Path 1.305 +1 -1 ports/www/apache20/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"