From: Luke Howard Date: Fri, 22 Jul 2005 05:49:55 +0000 (+0000) Subject: Ensure backend is set before calling send_ldap_extended(); X-Git-Tag: OPENLDAP_AC_BP~260 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c52d0e40160096d267b461d2285733432a14138;p=openldap Ensure backend is set before calling send_ldap_extended(); whoami was crashing for anonymous clients --- diff --git a/servers/slapd/extended.c b/servers/slapd/extended.c index cbe8b5e581..36c42e446e 100644 --- a/servers/slapd/extended.c +++ b/servers/slapd/extended.c @@ -222,6 +222,8 @@ fe_extended( Operation *op, SlapReply *rs ) } } + if ( op->o_bd == NULL ) + op->o_bd = frontendDB; send_ldap_extended( op, rs ); if ( rs->sr_ref != default_referral ) {