ITS#8307 slapo-accesslog additional check

This commit is contained in:
Howard Chu 2021-01-13 16:58:42 +00:00
parent 85b68aa5e2
commit 9d440e3d28

View File

@ -2003,6 +2003,10 @@ accesslog_op_mod( Operation *op, SlapReply *rs )
if ( op->o_dont_replicate )
return SLAP_CB_CONTINUE;
/* can't do anything if logDB isn't open */
if ( !SLAP_DBOPEN( li->li_db ))
return SLAP_CB_CONTINUE;
logop = accesslog_op2logop( op );
lo = logops+logop+EN_OFFSET;