Ensure backend is set before calling send_ldap_extended();

whoami was crashing for anonymous clients
This commit is contained in:
Luke Howard 2005-07-22 05:49:55 +00:00
parent 0b631c0d2f
commit 8c52d0e401

View File

@ -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 ) {