aboutsummaryrefslogtreecommitdiff
path: root/www/auth_ldap/files
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2006-03-19 16:26:25 +0000
committerClement Laforet <clement@FreeBSD.org>2006-03-19 16:26:25 +0000
commit1963cea5fb20aed0600bd9f2a7979374d2fbfbc2 (patch)
treeedb7f6ffb834ef172c8bdf370f9d43642f220c55 /www/auth_ldap/files
parentb1494a2ec3485a1740c56c1bcf5df58c06159a14 (diff)
- Update to 1.6.1 and fix vulnerabilities [1]
- Set USE_APACHE to 13 - Assign maintainership to apache@ PR: ports/94457 [1] Submitted by: Panagiotis Christias <p.christias@noc.ntua.gr> [1]
Notes
Notes: svn path=/head/; revision=157670
Diffstat (limited to 'www/auth_ldap/files')
-rw-r--r--www/auth_ldap/files/patch-auth_ldap.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/auth_ldap/files/patch-auth_ldap.c b/www/auth_ldap/files/patch-auth_ldap.c
new file mode 100644
index 000000000000..86593a955355
--- /dev/null
+++ b/www/auth_ldap/files/patch-auth_ldap.c
@@ -0,0 +1,14 @@
+--- auth_ldap.c.orig Mon Jan 9 20:08:56 2006
++++ auth_ldap.c Tue Mar 14 19:12:02 2006
+@@ -168,11 +168,7 @@
+ ap_log_rerror(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, r,
+ "{%d} LDAP OP: init", (int)getpid());
+
+-#if defined(WITH_OPENLDAP) && LDAP_VENDOR_VERSION >= 20000
+- if ((ldap_initialize(&(sec->ldc->ldap), (sec->url))) != LDAP_SUCCESS) {
+-#else
+ if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
+-#endif
+ extern int errno;
+ auth_ldap_log_reason(r, "Could not connect to LDAP server: %s", strerror(errno));
+ return 0;