Group :: Sistema/Servidores
RPM: squid-kerberos-ldap-helper
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: squid-kerberos-ldap-helper-1.2.2-alt-fix-multiple-kparam.patch
Download
Download
diff --git a/squid-kerberos-ldap-helper/support.h b/squid-kerberos-ldap-helper/support.h
index afd3267..b02adc5 100644
--- a/squid-kerberos-ldap-helper/support.h
+++ b/squid-kerberos-ldap-helper/support.h
@@ -83,7 +83,7 @@ struct kstruct {
krb5_context context;
char* mem_cache_env;
krb5_ccache cc;
-} kparam;
+};
struct hstruct {
char *host;
diff --git a/squid-kerberos-ldap-helper/support_krb5.c b/squid-kerberos-ldap-helper/support_krb5.c
index 9e973c0..37f79e1 100644
--- a/squid-kerberos-ldap-helper/support_krb5.c
+++ b/squid-kerberos-ldap-helper/support_krb5.c
@@ -30,6 +30,8 @@
#define KT_PATH_MAX 256
+struct kstruct kparam;
+
void krb5_cleanup() {
if (kparam.context) {
if (kparam.cc)