From 8538223def0997c594fbfbf32bef7deb4ca2a7e5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 9 Jan 2006 09:37:52 +0000 Subject: [PATCH] TS#4315 fix prev commit, spinning in ldap_back_dobind --- servers/slapd/back-ldap/bind.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 8083428730..8fb0a7ad08 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -665,8 +665,11 @@ ldap_back_dobind_int( return rc; } - while ( lc->lc_refcnt > 1 ) + while ( lc->lc_refcnt > 1 ) { ldap_pvt_thread_yield(); + if (( rc = LDAP_BACK_CONN_ISBOUND( lc ))) + return rc; + } /* * FIXME: we need to let clients use proxyAuthz -- 2.39.5