From: Pierangelo Masarati Date: Sat, 1 Jul 2006 16:45:07 +0000 (+0000) Subject: use bound credentials, if any X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~73 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5dcb4828d7e3fdd7042d3324fc97339629864f9c;p=openldap use bound credentials, if any --- diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index 2db0b08f5a..623d5d8200 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -76,8 +76,8 @@ meta_search_dobind_init( metatarget_t *mt = mi->mi_targets[ candidate ]; metasingleconn_t *msc = &mc->mc_conns[ candidate ]; - struct berval binddn = BER_BVC( "" ), - cred = BER_BVC( "" ); + struct berval binddn = msc->msc_bound_ndn, + cred = msc->msc_cred; int method; int rc;