- Set USE_APACHE to 13 - Assign maintainership to apache@ PR: ports/94457 [1] Submitted by: Panagiotis Christias <p.christias@noc.ntua.gr> [1]
14 lines
568 B
C
14 lines
568 B
C
--- 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;
|