2003-11-27 14:35:14 +08:00
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
*
|
2004-01-02 03:15:16 +08:00
|
|
|
* Copyright 1999-2004 The OpenLDAP Foundation.
|
2003-12-09 01:41:40 +08:00
|
|
|
* Portions Copyright 2001-2003 Pierangelo Masarati.
|
|
|
|
* Portions Copyright 1999-2003 Howard Chu.
|
2003-11-27 14:35:14 +08:00
|
|
|
* All rights reserved.
|
2001-05-12 08:51:28 +08:00
|
|
|
*
|
2003-11-27 14:35:14 +08:00
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
* Public License.
|
|
|
|
*
|
|
|
|
* A copy of this license is available in the file LICENSE in the
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
|
|
|
*/
|
|
|
|
/* ACKNOWLEDGEMENTS:
|
|
|
|
* This work was initially developed by the Howard Chu for inclusion
|
|
|
|
* in OpenLDAP Software and subsequently enhanced by Pierangelo
|
|
|
|
* Masarati.
|
|
|
|
*/
|
2001-05-12 08:51:28 +08:00
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <ac/socket.h>
|
|
|
|
#include <ac/string.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define AVL_INTERNAL
|
|
|
|
#include "slap.h"
|
|
|
|
#include "../back-ldap/back-ldap.h"
|
|
|
|
#include "back-meta.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Set PRINT_CONNTREE larger than 0 to dump the connection tree (debug only)
|
|
|
|
*/
|
|
|
|
#define PRINT_CONNTREE 0
|
|
|
|
|
|
|
|
/*
|
|
|
|
* meta_back_conn_cmp
|
|
|
|
*
|
|
|
|
* compares two struct metaconn based on the value of the conn pointer;
|
|
|
|
* used by avl stuff
|
|
|
|
*/
|
|
|
|
int
|
|
|
|
meta_back_conn_cmp(
|
|
|
|
const void *c1,
|
|
|
|
const void *c2
|
|
|
|
)
|
|
|
|
{
|
|
|
|
struct metaconn *lc1 = ( struct metaconn * )c1;
|
|
|
|
struct metaconn *lc2 = ( struct metaconn * )c2;
|
|
|
|
|
2003-04-19 01:16:48 +08:00
|
|
|
return SLAP_PTRCMP( lc1->conn, lc2->conn );
|
2001-05-12 08:51:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* meta_back_conn_dup
|
|
|
|
*
|
|
|
|
* returns -1 in case a duplicate struct metaconn has been inserted;
|
|
|
|
* used by avl stuff
|
|
|
|
*/
|
|
|
|
int
|
|
|
|
meta_back_conn_dup(
|
|
|
|
void *c1,
|
|
|
|
void *c2
|
|
|
|
)
|
|
|
|
{
|
|
|
|
struct metaconn *lc1 = ( struct metaconn * )c1;
|
|
|
|
struct metaconn *lc2 = ( struct metaconn * )c2;
|
|
|
|
|
|
|
|
return( ( lc1->conn == lc2->conn ) ? -1 : 0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Debug stuff (got it from libavl)
|
|
|
|
*/
|
|
|
|
#if PRINT_CONNTREE > 0
|
|
|
|
static void
|
|
|
|
ravl_print( Avlnode *root, int depth )
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
|
|
|
|
if ( root == 0 ) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
ravl_print( root->avl_right, depth+1 );
|
|
|
|
|
|
|
|
for ( i = 0; i < depth; i++ ) {
|
|
|
|
printf( " " );
|
|
|
|
}
|
|
|
|
|
|
|
|
printf( "c(%d) %d\n", ( ( struct metaconn * )root->avl_data )->conn->c_connid, root->avl_bf );
|
|
|
|
|
|
|
|
ravl_print( root->avl_left, depth+1 );
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
myprint( Avlnode *root )
|
|
|
|
{
|
|
|
|
printf( "********\n" );
|
|
|
|
|
|
|
|
if ( root == 0 ) {
|
|
|
|
printf( "\tNULL\n" );
|
|
|
|
} else {
|
|
|
|
ravl_print( root, 0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
printf( "********\n" );
|
|
|
|
}
|
|
|
|
#endif /* PRINT_CONNTREE */
|
|
|
|
/*
|
|
|
|
* End of debug stuff
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* metaconn_alloc
|
|
|
|
*
|
|
|
|
* Allocates a connection structure, making room for all the referenced targets
|
|
|
|
*/
|
|
|
|
static struct metaconn *
|
|
|
|
metaconn_alloc( int ntargets )
|
|
|
|
{
|
|
|
|
struct metaconn *lc;
|
|
|
|
|
|
|
|
assert( ntargets > 0 );
|
|
|
|
|
|
|
|
lc = ch_calloc( sizeof( struct metaconn ), 1 );
|
|
|
|
if ( lc == NULL ) {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* make it a null-terminated array ...
|
|
|
|
*/
|
2002-08-10 01:15:10 +08:00
|
|
|
lc->conns = ch_calloc( sizeof( struct metasingleconn ), ntargets+1 );
|
2001-05-12 08:51:28 +08:00
|
|
|
if ( lc->conns == NULL ) {
|
|
|
|
free( lc );
|
|
|
|
return NULL;
|
|
|
|
}
|
2002-08-10 01:15:10 +08:00
|
|
|
lc->conns[ ntargets ].candidate = META_LAST_CONN;
|
2001-05-12 08:51:28 +08:00
|
|
|
|
2003-04-18 18:02:00 +08:00
|
|
|
for ( ; ntargets-- > 0; ) {
|
|
|
|
lc->conns[ ntargets ].ld = NULL;
|
|
|
|
lc->conns[ ntargets ].bound_dn.bv_val = NULL;
|
|
|
|
lc->conns[ ntargets ].bound_dn.bv_len = 0;
|
|
|
|
lc->conns[ ntargets ].cred.bv_val = NULL;
|
|
|
|
lc->conns[ ntargets ].cred.bv_len = 0;
|
|
|
|
lc->conns[ ntargets ].bound = META_UNBOUND;
|
|
|
|
}
|
|
|
|
|
2001-05-20 01:02:39 +08:00
|
|
|
lc->bound_target = META_BOUND_NONE;
|
2001-05-12 08:51:28 +08:00
|
|
|
|
|
|
|
return lc;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* metaconn_free
|
|
|
|
*
|
|
|
|
* clears a metaconn
|
|
|
|
*/
|
|
|
|
static void
|
|
|
|
metaconn_free(
|
|
|
|
struct metaconn *lc
|
|
|
|
)
|
|
|
|
{
|
|
|
|
if ( !lc ) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( lc->conns ) {
|
2002-08-10 01:15:10 +08:00
|
|
|
ch_free( lc->conns );
|
2001-05-12 08:51:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
free( lc );
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* init_one_conn
|
|
|
|
*
|
|
|
|
* Initializes one connection
|
|
|
|
*/
|
|
|
|
static int
|
|
|
|
init_one_conn(
|
2003-04-06 00:53:57 +08:00
|
|
|
Operation *op,
|
|
|
|
SlapReply *rs,
|
2003-04-04 05:35:54 +08:00
|
|
|
struct metatarget *lt,
|
|
|
|
struct metasingleconn *lsc
|
2001-05-12 08:51:28 +08:00
|
|
|
)
|
|
|
|
{
|
2003-05-03 19:30:38 +08:00
|
|
|
struct metainfo *li = ( struct metainfo * )op->o_bd->be_private;
|
2003-04-06 00:53:57 +08:00
|
|
|
int vers;
|
2003-04-08 03:01:48 +08:00
|
|
|
dncookie dc;
|
2001-05-12 08:51:28 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Already init'ed
|
|
|
|
*/
|
|
|
|
if ( lsc->ld != NULL ) {
|
|
|
|
return LDAP_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Attempts to initialize the connection to the target ds
|
|
|
|
*/
|
2003-04-06 00:53:57 +08:00
|
|
|
rs->sr_err = ldap_initialize( &lsc->ld, lt->uri );
|
|
|
|
if ( rs->sr_err != LDAP_SUCCESS ) {
|
2004-04-06 01:32:59 +08:00
|
|
|
return slap_map_api2result( rs );
|
2001-05-12 08:51:28 +08:00
|
|
|
}
|
2003-01-24 06:45:17 +08:00
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
/*
|
|
|
|
* Set LDAP version. This will always succeed: If the client
|
|
|
|
* bound with a particular version, then so can we.
|
|
|
|
*/
|
2003-04-04 05:35:54 +08:00
|
|
|
vers = op->o_conn->c_protocol;
|
2001-05-12 08:51:28 +08:00
|
|
|
ldap_set_option( lsc->ld, LDAP_OPT_PROTOCOL_VERSION, &vers );
|
2003-04-04 05:35:54 +08:00
|
|
|
/* FIXME: configurable? */
|
|
|
|
ldap_set_option(lsc->ld, LDAP_OPT_REFERRALS, LDAP_OPT_ON);
|
2001-05-12 08:51:28 +08:00
|
|
|
|
2003-05-03 19:30:38 +08:00
|
|
|
/*
|
|
|
|
* Set the network timeout if set
|
|
|
|
*/
|
|
|
|
if (li->network_timeout != 0){
|
|
|
|
struct timeval network_timeout;
|
|
|
|
|
|
|
|
network_timeout.tv_usec = 0;
|
|
|
|
network_timeout.tv_sec = li->network_timeout;
|
|
|
|
|
|
|
|
ldap_set_option( lsc->ld, LDAP_OPT_NETWORK_TIMEOUT, (void *) &network_timeout);
|
|
|
|
}
|
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
/*
|
|
|
|
* Sets a cookie for the rewrite session
|
|
|
|
*/
|
2003-04-08 01:04:14 +08:00
|
|
|
( void )rewrite_session_init( lt->rwmap.rwm_rw, op->o_conn );
|
2001-05-12 08:51:28 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* If the connection dn is not null, an attempt to rewrite it is made
|
|
|
|
*/
|
2003-04-04 05:35:54 +08:00
|
|
|
if ( op->o_conn->c_dn.bv_len != 0 ) {
|
2003-04-08 03:01:48 +08:00
|
|
|
dc.rwmap = <->rwmap;
|
|
|
|
dc.conn = op->o_conn;
|
|
|
|
dc.rs = rs;
|
2004-03-11 05:11:14 +08:00
|
|
|
dc.ctx = "bindDN";
|
2001-12-27 20:17:54 +08:00
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
/*
|
|
|
|
* Rewrite the bind dn if needed
|
|
|
|
*/
|
2003-04-18 18:02:00 +08:00
|
|
|
if ( ldap_back_dn_massage( &dc, &op->o_conn->c_dn,
|
|
|
|
&lsc->bound_dn) ) {
|
2003-04-08 03:01:48 +08:00
|
|
|
send_ldap_result( op, rs );
|
2003-04-04 05:35:54 +08:00
|
|
|
return rs->sr_err;
|
2001-05-12 08:51:28 +08:00
|
|
|
}
|
2001-12-27 20:17:54 +08:00
|
|
|
|
2004-03-06 23:01:16 +08:00
|
|
|
/* copy the DN idf needed */
|
|
|
|
if ( lsc->bound_dn.bv_val == op->o_conn->c_dn.bv_val ) {
|
|
|
|
ber_dupbv( &lsc->bound_dn, &op->o_conn->c_dn );
|
|
|
|
}
|
|
|
|
|
2002-01-06 01:49:59 +08:00
|
|
|
assert( lsc->bound_dn.bv_val );
|
2001-12-27 20:17:54 +08:00
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
} else {
|
2002-01-06 01:49:59 +08:00
|
|
|
ber_str2bv( "", 0, 1, &lsc->bound_dn );
|
2001-05-12 08:51:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
lsc->bound = META_UNBOUND;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The candidate is activated
|
|
|
|
*/
|
|
|
|
lsc->candidate = META_CANDIDATE;
|
|
|
|
return LDAP_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* meta_back_getconn
|
|
|
|
*
|
|
|
|
* Prepares the connection structure
|
|
|
|
*
|
|
|
|
* FIXME: This function needs to receive some info on the type of operation
|
|
|
|
* it is invoked by, so that only the correct pool of candidate targets
|
|
|
|
* is initialized in case no connection was available yet.
|
|
|
|
*
|
|
|
|
* At present a flag that says whether the candidate target must be unique
|
|
|
|
* is passed; eventually an operation agent will be used.
|
|
|
|
*/
|
|
|
|
struct metaconn *
|
|
|
|
meta_back_getconn(
|
2001-12-27 20:17:54 +08:00
|
|
|
Operation *op,
|
2003-04-04 05:35:54 +08:00
|
|
|
SlapReply *rs,
|
2001-12-27 20:17:54 +08:00
|
|
|
int op_type,
|
|
|
|
struct berval *ndn,
|
|
|
|
int *candidate )
|
2001-05-12 08:51:28 +08:00
|
|
|
{
|
2003-04-04 08:43:40 +08:00
|
|
|
struct metainfo *li = ( struct metainfo * )op->o_bd->be_private;
|
2001-05-12 08:51:28 +08:00
|
|
|
struct metaconn *lc, lc_curr;
|
2003-01-24 06:45:17 +08:00
|
|
|
int cached = -1, i = -1, err = LDAP_SUCCESS;
|
2001-05-12 08:51:28 +08:00
|
|
|
int new_conn = 0;
|
|
|
|
|
|
|
|
/* Searches for a metaconn in the avl tree */
|
2003-04-04 05:35:54 +08:00
|
|
|
lc_curr.conn = op->o_conn;
|
2001-05-12 08:51:28 +08:00
|
|
|
ldap_pvt_thread_mutex_lock( &li->conn_mutex );
|
|
|
|
lc = (struct metaconn *)avl_find( li->conntree,
|
|
|
|
(caddr_t)&lc_curr, meta_back_conn_cmp );
|
|
|
|
ldap_pvt_thread_mutex_unlock( &li->conn_mutex );
|
|
|
|
|
|
|
|
/* Looks like we didn't get a bind. Open a new session... */
|
|
|
|
if ( !lc ) {
|
|
|
|
lc = metaconn_alloc( li->ntargets );
|
2003-04-04 05:35:54 +08:00
|
|
|
lc->conn = op->o_conn;
|
2001-05-12 08:51:28 +08:00
|
|
|
new_conn = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* looks in cache, if any
|
|
|
|
*/
|
|
|
|
if ( li->cache.ttl != META_DNCACHE_DISABLED ) {
|
|
|
|
cached = i = meta_dncache_get_target( &li->cache, ndn );
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( op_type == META_OP_REQUIRE_SINGLE ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* tries to get a unique candidate
|
|
|
|
* (takes care of default target
|
|
|
|
*/
|
|
|
|
if ( i < 0 ) {
|
|
|
|
i = meta_back_select_unique_candidate( li, ndn );
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* if any is found, inits the connection
|
|
|
|
*/
|
|
|
|
if ( i < 0 ) {
|
|
|
|
if ( new_conn ) {
|
|
|
|
metaconn_free( lc );
|
|
|
|
}
|
|
|
|
|
2003-04-04 05:35:54 +08:00
|
|
|
rs->sr_err = LDAP_NO_SUCH_OBJECT;
|
2001-05-12 08:51:28 +08:00
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
Debug( LDAP_DEBUG_CACHE,
|
|
|
|
"==>meta_back_getconn: got target %d for ndn=\"%s\" from cache\n%s",
|
2001-12-27 20:17:54 +08:00
|
|
|
i, ndn->bv_val, "" );
|
2001-05-14 07:44:22 +08:00
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
/*
|
|
|
|
* Clear all other candidates
|
|
|
|
*/
|
|
|
|
( void )meta_clear_unused_candidates( li, lc, i, 0 );
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The target is activated; if needed, it is
|
2001-05-17 07:06:15 +08:00
|
|
|
* also init'd. In case of error, init_one_conn
|
|
|
|
* sends the appropriate result.
|
2001-05-12 08:51:28 +08:00
|
|
|
*/
|
2003-04-04 05:35:54 +08:00
|
|
|
err = init_one_conn( op, rs, li->targets[ i ],
|
2003-01-24 06:45:17 +08:00
|
|
|
&lc->conns[ i ] );
|
2001-05-12 08:51:28 +08:00
|
|
|
if ( err != LDAP_SUCCESS ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* FIXME: in case one target cannot
|
|
|
|
* be init'd, should the other ones
|
|
|
|
* be tried?
|
|
|
|
*/
|
2002-08-10 01:15:10 +08:00
|
|
|
( void )meta_clear_one_candidate( &lc->conns[ i ], 1 );
|
2001-05-12 08:51:28 +08:00
|
|
|
if ( new_conn ) {
|
|
|
|
metaconn_free( lc );
|
|
|
|
}
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( candidate ) {
|
|
|
|
*candidate = i;
|
|
|
|
}
|
|
|
|
|
2001-05-20 01:02:39 +08:00
|
|
|
/*
|
|
|
|
* require all connections ...
|
|
|
|
*/
|
|
|
|
} else if (op_type == META_OP_REQUIRE_ALL) {
|
|
|
|
for ( i = 0; i < li->ntargets; i++ ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The target is activated; if needed, it is
|
|
|
|
* also init'd
|
|
|
|
*/
|
2003-04-04 05:35:54 +08:00
|
|
|
int lerr = init_one_conn( op, rs, li->targets[ i ],
|
2003-01-24 06:45:17 +08:00
|
|
|
&lc->conns[ i ] );
|
2001-05-20 01:02:39 +08:00
|
|
|
if ( lerr != LDAP_SUCCESS ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* FIXME: in case one target cannot
|
|
|
|
* be init'd, should the other ones
|
|
|
|
* be tried?
|
|
|
|
*/
|
2002-08-10 01:15:10 +08:00
|
|
|
( void )meta_clear_one_candidate( &lc->conns[ i ], 1 );
|
2001-05-20 01:02:39 +08:00
|
|
|
err = lerr;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
/*
|
|
|
|
* if no unique candidate ...
|
|
|
|
*/
|
|
|
|
} else {
|
|
|
|
for ( i = 0; i < li->ntargets; i++ ) {
|
|
|
|
if ( i == cached
|
2001-12-29 12:48:00 +08:00
|
|
|
|| meta_back_is_candidate( &li->targets[ i ]->suffix, ndn ) ) {
|
2001-05-12 08:51:28 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The target is activated; if needed, it is
|
|
|
|
* also init'd
|
|
|
|
*/
|
2003-04-04 05:35:54 +08:00
|
|
|
int lerr = init_one_conn( op, rs,
|
2001-05-12 08:51:28 +08:00
|
|
|
li->targets[ i ],
|
2003-01-24 06:45:17 +08:00
|
|
|
&lc->conns[ i ] );
|
2001-05-12 08:51:28 +08:00
|
|
|
if ( lerr != LDAP_SUCCESS ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* FIXME: in case one target cannot
|
|
|
|
* be init'd, should the other ones
|
|
|
|
* be tried?
|
|
|
|
*/
|
2002-08-10 01:15:10 +08:00
|
|
|
( void )meta_clear_one_candidate( &lc->conns[ i ], 1 );
|
2001-05-12 08:51:28 +08:00
|
|
|
err = lerr;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2003-04-04 05:35:54 +08:00
|
|
|
/* clear out init_one_conn non-fatal errors */
|
|
|
|
rs->sr_err = LDAP_SUCCESS;
|
|
|
|
rs->sr_text = NULL;
|
|
|
|
|
2001-05-12 08:51:28 +08:00
|
|
|
if ( new_conn ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Inserts the newly created metaconn in the avl tree
|
|
|
|
*/
|
|
|
|
ldap_pvt_thread_mutex_lock( &li->conn_mutex );
|
|
|
|
err = avl_insert( &li->conntree, ( caddr_t )lc,
|
|
|
|
meta_back_conn_cmp, meta_back_conn_dup );
|
|
|
|
|
|
|
|
#if PRINT_CONNTREE > 0
|
|
|
|
myprint( li->conntree );
|
|
|
|
#endif /* PRINT_CONNTREE */
|
|
|
|
|
|
|
|
ldap_pvt_thread_mutex_unlock( &li->conn_mutex );
|
|
|
|
|
|
|
|
Debug( LDAP_DEBUG_TRACE,
|
|
|
|
"=>meta_back_getconn: conn %ld inserted\n%s%s",
|
|
|
|
lc->conn->c_connid, "", "" );
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Err could be -1 in case a duplicate metaconn is inserted
|
|
|
|
*/
|
|
|
|
if ( err != 0 ) {
|
2003-04-04 05:35:54 +08:00
|
|
|
rs->sr_err = LDAP_OTHER;
|
|
|
|
rs->sr_text = "Internal server error";
|
2001-05-12 08:51:28 +08:00
|
|
|
metaconn_free( lc );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
Debug( LDAP_DEBUG_TRACE,
|
|
|
|
"=>meta_back_getconn: conn %ld fetched\n%s%s",
|
|
|
|
lc->conn->c_connid, "", "" );
|
|
|
|
}
|
|
|
|
|
|
|
|
return lc;
|
|
|
|
}
|
|
|
|
|