]> git.sur5r.net Git - openldap/commitdiff
Use distribution hints in searches
authorQuanah Gibson-Mount <quanah@openldap.org>
Sun, 2 Aug 2009 23:14:22 +0000 (23:14 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Sun, 2 Aug 2009 23:14:22 +0000 (23:14 +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;