mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8307 slapo-accesslog additional check
This commit is contained in:
parent
85b68aa5e2
commit
9d440e3d28
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user