Commit 18f78b44 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#8971 tweak prev commit

Check for BVISNULL, maybe rootDSE is a valid reqDN
parent 69b246fe
......@@ -1522,7 +1522,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 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment