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 7c6e35f94b
commit ce9ee22c7a

View file

@ -2292,6 +2292,8 @@ syncprov_play_accesslog( Operation *op, SlapReply *rs, sync_control *srs,
fop.o_sync_mode = 0;
fop.o_dont_replicate = 1;
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;