]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-meta/compare.c
Sync with HEAD
[openldap] / servers / slapd / back-meta / compare.c
index 9a808a9581cf21fae120b4c5ceb66210e8daed5f..3418717f7e88c61cec5eafc3dbdde94cb9f79a3b 100644 (file)
@@ -144,7 +144,7 @@ meta_back_compare( Operation *op, SlapReply *rs )
                 */
                 rc = ldap_compare_ext( lc->mc_conns[ i ].msc_ld, mdn.bv_val,
                                mapped_attr.bv_val, &mapped_value,
-                               NULL, NULL, &msgid[ i ] );
+                               op->o_ctrls, NULL, &msgid[ i ] );
 
                if ( mdn.bv_val != op->o_req_dn.bv_val ) {
                        free( mdn.bv_val );