From: Ondrej Kuznik Date: Mon, 23 Apr 2012 08:33:51 +0000 (+0200) Subject: ITS#7256 Set backend for operation. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c020be9382a258456334b5b005116a61bdbd1497;p=openldap ITS#7256 Set backend for operation. slap_tool_entry_check does it but it is not called every time. --- diff --git a/servers/slapd/slapmodify.c b/servers/slapd/slapmodify.c index 41045021b7..b71f4ee172 100644 --- a/servers/slapd/slapmodify.c +++ b/servers/slapd/slapmodify.c @@ -74,6 +74,7 @@ slapmodify( int argc, char **argv ) memset( &opbuf, 0, sizeof(opbuf) ); op = &opbuf.ob_op; op->o_hdr = &opbuf.ob_hdr; + op->o_bd = be; if ( !be->be_entry_open || !be->be_entry_close ||