]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE2-ldap_auth_unavail.patch
- changed default pidfile location to /var/run/squid.pid (thnx to qboosh)
[packages/squid.git] / squid-2.5.STABLE2-ldap_auth_unavail.patch
1 Index: squid/helpers/basic_auth/LDAP/squid_ldap_auth.c
2 diff -c squid/helpers/basic_auth/LDAP/squid_ldap_auth.c:1.21.2.3 squid/helpers/basic_auth/LDAP/squid_ldap_auth.c:1.21.2.4
3 *** squid/helpers/basic_auth/LDAP/squid_ldap_auth.c:1.21.2.3    Sat Mar  1 07:55:26 2003
4 --- squid/helpers/basic_auth/LDAP/squid_ldap_auth.c     Mon May  5 18:37:31 2003
5 ***************
6 *** 324,329 ****
7 --- 324,331 ----
8                  */
9             } else {
10                 fprintf(stderr, "squid_ldap_auth: WARNING, LDAP search error '%s'\n", ldap_err2string(rc));
11 +               ldap_msgfree(res);
12 +               return 1;
13             }
14         }
15         entry = ldap_first_entry(ld, res);
This page took 0.023971 seconds and 3 git commands to generate.