bd83b0eae2
* Fixed security bug that could allow attacker to execute arbitrary commands as the apache user. [Digital Armaments, seregon at bughunter dot net] * Fixed bug that sometimes resulted in segfaults during periodic cache cleanup. [Stefan Gaffga] * Add AuthLDAPVersion option to specify which LDAP version to use on LDAP server. [Hans Petter Selasky] * Support ldaps:// urls automatically under OpenLDAP. No need to compile with --with-ssl; this is just to enable SSL with the Netscape SDK. [Andrew McAllister, Malcolm Locke] * Fixed bug where auth_ldap didn't always rebind as the AuthLDAPBindDN after doing an authorization. [Stephen Lombardo, Brent Putnam, Ace Suares, Ted Cabeen, others]. * Fixed bug where we forgot to note a failed auth attempt which would result in the browser never giving the user a second chance to enter a password. [Thanks to many other people]
12 lines
411 B
Text
12 lines
411 B
Text
$NetBSD: patch-aa,v 1.2 2006/01/15 16:25:41 kleink Exp $
|
|
|
|
--- auth_ldap.c.orig 2006-01-09 19:08:56.000000000 +0100
|
|
+++ auth_ldap.c 2006-01-15 17:19:30.000000000 +0100
|
|
@@ -173,7 +173,6 @@
|
|
#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;
|
|
}
|