pkgsrc/www/ap-auth-ldap/patches/patch-aa

13 lines
411 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.2 2006/01/15 16:25:41 kleink Exp $
2006-01-02 21:52:09 +01:00
--- 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
2006-01-02 21:52:09 +01:00
if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
#endif
2006-01-02 21:52:09 +01:00
- extern int errno;
auth_ldap_log_reason(r, "Could not connect to LDAP server: %s", strerror(errno));
return 0;
}