]> git.sur5r.net Git - openldap/commitdiff
Use distribution hints in searches
authorHoward Chu <hyc@openldap.org>
Wed, 29 Jul 2009 00:58:46 +0000 (00:58 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 29 Jul 2009 00:58:46 +0000 (00:58 +0000)
servers/slapd/back-ndb/search.cpp

index c6668ff5a5f1b881b7716eea60b17e46c71de4e8..f48c1995742ca0c9660d166e60108c7bc96ab50d 100644 (file)
@@ -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;