Browse Source

new version has ldap cache issue already fixed

Thomas Lotterer 22 years ago
parent
commit
c4b89983fb
2 changed files with 2 additions and 48 deletions
  1. 0 46
      sasl/sasl.patch
  2. 2 2
      sasl/sasl.spec

+ 0 - 46
sasl/sasl.patch

@@ -1,49 +1,3 @@
---- saslauthd/lak.c.dist	Wed Mar 12 11:39:22 2003
-+++ saslauthd/lak.c	Wed Mar 12 11:39:22 2003
-@@ -532,8 +532,6 @@
- 		return;
- 
- 	if (lak->ld != NULL) {
--		if (lak->conf->cache_ttl)
--			ldap_destroy_cache(lak->ld);
- 		ldap_unbind_s(lak->ld);
- 	}
- 
-@@ -642,16 +640,6 @@
- 		syslog(LOG_WARNING|LOG_AUTH, "Unable to set LDAP_OPT_RESTART.");
- 	}
- 
--	/*
--	 * Set up client-side caching
--	 */
--	if (lak->conf->cache_ttl) {
--		rc = ldap_enable_cache(lak->ld, lak->conf->cache_ttl, lak->conf->cache_mem);
--		if (rc != LDAP_SUCCESS) {
--			syslog(LOG_WARNING|LOG_AUTH, "Unable to enable cache -- continuing (%s)", ldap_err2string(rc));
--		}
--	}
--
- 	return LAK_OK;
- }
- 
-@@ -667,8 +655,6 @@
- 
- 	if (lak->bind_status == LAK_NOT_BOUND) {
- 		if (lak->ld != NULL) {
--			if (lak->conf->cache_ttl)
--				ldap_destroy_cache(lak->ld);
- 			ldap_unbind_s(lak->ld);
- 			lak->ld = NULL;
- 		}
-@@ -683,8 +669,6 @@
- 			lak->bind_status = LAK_NOT_BOUND;
- 
- 			if (lak->ld != NULL) {
--				if (lak->conf->cache_ttl)
--					ldap_destroy_cache(lak->ld);
- 				ldap_unbind_s(lak->ld);
- 
- 				lak->ld = NULL;
 --- plugins/mysql.c.dist	Fri Mar  7 13:26:42 2003
 --- plugins/mysql.c.dist	Fri Mar  7 13:26:42 2003
 +++ plugins/mysql.c	Fri Apr  4 16:55:38 2003
 +++ plugins/mysql.c	Fri Apr  4 16:55:38 2003
 @@ -254,6 +254,7 @@
 @@ -254,6 +254,7 @@

+ 2 - 2
sasl/sasl.spec

@@ -32,8 +32,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [PLUS]
 Distribution: OpenPKG [PLUS]
 Group:        Cryptography
 Group:        Cryptography
 License:      BSD
 License:      BSD
-Version:      2.1.12
-Release:      20030414
+Version:      2.1.13
+Release:      20030415
 
 
 #   package options
 #   package options
 %option       with_pam    no
 %option       with_pam    no