From 5dcb4828d7e3fdd7042d3324fc97339629864f9c Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 1 Jul 2006 16:45:07 +0000 Subject: [PATCH] use bound credentials, if any --- servers/slapd/back-meta/search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5