mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Ensure backend is set before calling send_ldap_extended();
whoami was crashing for anonymous clients
This commit is contained in:
parent
0b631c0d2f
commit
8c52d0e401
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user