summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsldap/common/ns_init.c
diff options
context:
space:
mode:
authorth160488 <none@none>2008-06-10 17:10:24 -0700
committerth160488 <none@none>2008-06-10 17:10:24 -0700
commite1dd0a2f3a26050d1f183c1cafae42c4e3a0b57e (patch)
tree9515d170e61eed4b7a0fb6b62eeb5968e8d822e7 /usr/src/lib/libsldap/common/ns_init.c
parente5d1c5728dd590a09057664fd8576d2269434d90 (diff)
downloadillumos-gate-e1dd0a2f3a26050d1f183c1cafae42c4e3a0b57e.tar.gz
PSARC/2008/256 Native LDAP standalone tools (Duckwater)
4624732 ldapaddent not fully internationalized 4796766 idsconfig and ldapaddent should support project database 4877152 Performance of ldapaddent 4880322 TLSv1/SSL support needs to become integrated in all LDAP client programs 4942874 RFE: native ldap client with ssl restricted to ports 636/389 5035244 Make ldapaddent a standalone tool 6227396 *ldaplist* should refer to ldapclient(1M) when ldap not configured 6238952 solaris 10/nevada: 4624458 seems to be back 6561249 idsconfig prints out incorrect information for VLV indexing when run against DS5.2 & 6.0 6619071 Connection management works incorrectly in multiple authentication methods case if 1st one fails 6619173 the first hosts request failed after restarting keep alive connection on server side 6681185 libsldap: connection management cleanup and enhancement 6712098 PSARC/2008/256 Native LDAP standalone tools (Duckwater Phase 0)
Diffstat (limited to 'usr/src/lib/libsldap/common/ns_init.c')
-rw-r--r--usr/src/lib/libsldap/common/ns_init.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/usr/src/lib/libsldap/common/ns_init.c b/usr/src/lib/libsldap/common/ns_init.c
index e9b6842210..58ef523c1f 100644
--- a/usr/src/lib/libsldap/common/ns_init.c
+++ b/usr/src/lib/libsldap/common/ns_init.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -27,25 +27,15 @@
#include "ns_sldap.h"
#include "ns_internal.h"
+#include "ns_connmgmt.h"
#include <syslog.h>
#pragma init(ns_ldap_init)
-thread_key_t ns_mtckey;
-
static void
ns_ldap_init()
{
get_environment(); /* load environment debugging options */
- /*
- * ns_mtckey is needed to allow the sharing of an
- * ldap connection among multiple threads. Used
- * mainly in ns_connect.c.
- */
- if (thr_keycreate(&ns_mtckey, ns_tsd_cleanup) != 0) {
- syslog(LOG_ERR, "libsldap: unable to create the thread "
- "key needed for sharing ldap connections");
- MTperConn = 0;
- }
+ (void) __s_api_conn_mgmt_init();
}