From: Howard Chu Date: Sat, 6 Dec 2003 11:25:37 +0000 (+0000) Subject: Perform database updates as root X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~262 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7751af3f7461fcc0226f8365cd8ed6e59dbc1568;p=openldap Perform database updates as root --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index a1527cff47..ebfd81aea2 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1074,6 +1074,8 @@ cache_entries( ber_str2bv(uuidbuf, query_uuid->bv_len, 1, query_uuid); op_tmp.o_bd = &db; + op_tmp.o_dn = db.be_rootdn; + op_tmp.o_ndn = db.be_rootndn; db.bd_info = cm->bi; db.be_private =cm->be_private; db.be_flags |= SLAP_BFLAG_NO_SCHEMA_CHECK;