From 93c2dc1f5730275fa958d3134a0e729f424dca00 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Thu, 28 May 2009 14:41:32 -0400
Subject: [PATCH 2/2] Enable enumeration in sysdb tests

---
 server/tests/sysdb-tests.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index 5620119..20e85f7 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -92,6 +92,14 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
         return ret;
     }
 
+    val[0] = "3";
+    ret = confdb_add_param(test_ctx->confdb, true, "config/domains/LOCAL", "enumerate", val);
+    if (ret != EOK) {
+        fail("Could not initialize LOCAL domain");
+        talloc_free(test_ctx);
+        return ret;
+    }
+
     ret = sysdb_init(test_ctx, test_ctx->ev, test_ctx->confdb, "tests.ldb",
                      &test_ctx->sysdb);
     if (ret != EOK) {
-- 
1.6.2.2

