|
|
@@ -0,0 +1,23 @@
|
|
|
+--- src/util/dict_ldap.c.dist Wed Apr 2 17:31:29 2003
|
|
|
++++ src/util/dict_ldap.c Wed Apr 2 17:37:22 2003
|
|
|
+@@ -400,20 +400,6 @@
|
|
|
+ myname, dict_ldap->ldapsource);
|
|
|
+ }
|
|
|
+ }
|
|
|
+-#else
|
|
|
+-
|
|
|
+- rc = ldap_enable_cache(dict_ldap->ld, dict_ldap->cache_expiry,
|
|
|
+- dict_ldap->cache_size);
|
|
|
+- if (rc != LDAP_SUCCESS) {
|
|
|
+- msg_warn
|
|
|
+- ("%s: Unable to configure cache for %s: %d (%s) -- continuing",
|
|
|
+- myname, dict_ldap->ldapsource, rc, ldap_err2string(rc));
|
|
|
+- } else {
|
|
|
+- if (msg_verbose)
|
|
|
+- msg_info("%s: Caching enabled for %s",
|
|
|
+- myname, dict_ldap->ldapsource);
|
|
|
+- }
|
|
|
+-
|
|
|
+ #endif
|
|
|
+ }
|
|
|
+ if (msg_verbose)
|