ITS#10385 Set correct rootDN for accesslog replay

This commit is contained in:
Ondřej Kuzník 2025-08-26 17:23:38 +01:00 committed by Quanah Gibson-Mount
parent 09cde3aafb
commit ef4cbfe93a

View file

@ -2288,6 +2288,8 @@ syncprov_play_accesslog( Operation *op, SlapReply *rs, sync_control *srs,
fop = *op;
fop.o_sync_mode = 0;
fop.o_bd = db;
fop.o_dn = db->be_rootdn;
fop.o_ndn = db->be_rootndn;
rc = be_entry_get_rw( &fop, &si->si_logbase, NULL, ad_minCSN, 0, &e );
if ( rc ) {
return rc;