ITS#8971 tweak prev commit

Check for BVISNULL, maybe rootDSE is a valid reqDN
This commit is contained in:
Howard Chu 2019-02-02 22:48:53 +00:00
parent f052e94593
commit 299a6ca0f4

View File

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