mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#8971 tweak prev commit
Check for BVISNULL, maybe rootDSE is a valid reqDN
This commit is contained in:
parent
f052e94593
commit
299a6ca0f4
@ -1526,7 +1526,7 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
|
||||
|
||||
e = accesslog_entry( op, rs, li, logop, &op2 );
|
||||
|
||||
if ( !BER_BVISEMPTY( &op->o_req_ndn ))
|
||||
if ( !BER_BVISNULL( &op->o_req_ndn ))
|
||||
attr_merge_one( e, ad_reqDN, &op->o_req_dn, &op->o_req_ndn );
|
||||
|
||||
if ( rs->sr_text ) {
|
||||
|
Loading…
Reference in New Issue
Block a user