Bug 147806 - [PATCH] www/apache20: httpd doesn't start with WITH_LDAP.
Summary: [PATCH] www/apache20: httpd doesn't start with WITH_LDAP.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 10:20 UTC by Kazuo Dohzono
Modified: 2012-02-08 05:10 UTC (History)
0 users

See Also:


Attachments
file.diff (499 bytes, patch)
2010-06-12 10:20 UTC, Kazuo Dohzono
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kazuo Dohzono 2010-06-12 10:20:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-12 10:20:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-08 05:02:27 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-02-08 05:02:30 UTC
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"