From: Howard Chu Date: Wed, 29 Jul 2009 00:58:46 +0000 (+0000) Subject: Use distribution hints in searches X-Git-Tag: ACLCHECK_0~392 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=850e4ae0d3a159f7d38e25ff13e5ecfb2842eb57;p=openldap Use distribution hints in searches --- diff --git a/servers/slapd/back-ndb/search.cpp b/servers/slapd/back-ndb/search.cpp index c6668ff5a5..f48c199574 100644 --- a/servers/slapd/back-ndb/search.cpp +++ b/servers/slapd/back-ndb/search.cpp @@ -445,7 +445,7 @@ static int ndb_oc_search( Operation *op, SlapReply *rs, Ndb *ndb, NdbTransaction dnNormalize( 0, NULL, NULL, &e.e_name, &e.e_nname, op->o_tmpmemctx ); { -#ifdef notdef /* NDBapi is broken here */ +#if 1 /* NDBapi was broken here but seems to work now */ Ndb::Key_part_ptr keys[2]; char xbuf[32]; keys[0].ptr = &eid;