From e1dd0a2f3a26050d1f183c1cafae42c4e3a0b57e Mon Sep 17 00:00:00 2001 From: th160488 Date: Tue, 10 Jun 2008 17:10:24 -0700 Subject: 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) --- usr/src/lib/libsldap/common/ns_init.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'usr/src/lib/libsldap/common/ns_init.c') 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 #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(); } -- cgit v1.2.3