5f27eed40f
* Fixed slapd check for mandatory filter in authz-regexp URI * Fixed slapd bad descriptor check * Fixed slapd ACI when the subject contains '#' * Fixed back-ldap malformed URI check for multiple URIs * Fixed back-ldap/back-meta static definition of be_open() * Fixed back-bdb cache bugs, ctxcsn memory leak
14 lines
492 B
Text
14 lines
492 B
Text
$NetBSD: patch-ah,v 1.3 2004/12/22 06:22:48 jlam Exp $
|
|
|
|
--- libraries/libldap/init.c.orig 2004-09-07 18:34:42.000000000 -0400
|
|
+++ libraries/libldap/init.c
|
|
@@ -533,6 +533,9 @@ void ldap_int_initialize( struct ldapopt
|
|
|
|
#if defined(LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND) \
|
|
|| defined(HAVE_TLS) || defined(HAVE_CYRUS_SASL)
|
|
+#if defined(LDAP_R_COMPILE)
|
|
+ ldap_pvt_thread_initialize();
|
|
+#endif
|
|
ldap_int_hostname = ldap_pvt_get_fqdn( ldap_int_hostname );
|
|
#endif
|
|
if ( ldap_int_tblsize == 0 )
|