From 58d50a614f1b4a3fc6b60ad5f777d987263fe54f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 31 Mar 2004 06:45:39 +0000 Subject: make a more recent snapshot of ldb available to interested people. Note that I decided to make it LGPL. ldb is not finished yet, but enough of it is there for people to get an idea of what it does, and quite a few simple tests work (This used to be commit dc6f41f9e777d37f883303ddef0d96840d80f78e) --- source4/lib/ldb/tests/slapd.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 source4/lib/ldb/tests/slapd.conf (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf new file mode 100644 index 0000000000..cb71eb3963 --- /dev/null +++ b/source4/lib/ldb/tests/slapd.conf @@ -0,0 +1,25 @@ +loglevel 0 + +include tests/schema/core.schema +include tests/schema/cosine.schema +include tests/schema/inetorgperson.schema +include tests/schema/openldap.schema +include tests/schema/nis.schema + + +pidfile tests/tmp/slapd.pid +argsfile tests/tmp/slapd.args + +access to * by * write + +allow update_anon bind_anon_dn + +defaultsearchbase "o=University of Michigan,c=US" + +database ldbm +suffix "o=University of Michigan,c=US" +directory tests/tmp/db + +index objectClass eq +index drink eq +index title eq -- cgit From 78aa8f181469b24f7ad836c2b7b8629c33f9f6b0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 May 2004 10:06:45 +0000 Subject: r444: - added the beginnings of a ldb test suite and benchmark - updated the test slapd config to use bdb and indexing (This used to be commit 7ad0858c060ee212a33434dc4be75e7a0cd1a0e3) --- source4/lib/ldb/tests/slapd.conf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index cb71eb3963..10d15b541c 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,12 +14,14 @@ access to * by * write allow update_anon bind_anon_dn +modulepath /usr/lib/ldap +moduleload back_bdb + defaultsearchbase "o=University of Michigan,c=US" -database ldbm +backend bdb +database bdb suffix "o=University of Michigan,c=US" directory tests/tmp/db - -index objectClass eq -index drink eq -index title eq +index objectClass eq +index uid eq -- cgit From 950f3eb508a70f2304f76a8307582690d4715670 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 15 Nov 2004 12:30:28 +0000 Subject: r3757: Some fixes for ldb_ldap Now we pass also the test-ldap tests :-) (This used to be commit 0d58b1dc5aa0b00a924c1c5506f0c500c0b37b3e) --- source4/lib/ldb/tests/slapd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index 10d15b541c..61c8627e18 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,8 +14,8 @@ access to * by * write allow update_anon bind_anon_dn -modulepath /usr/lib/ldap -moduleload back_bdb +#modulepath /usr/lib/ldap +#moduleload back_bdb defaultsearchbase "o=University of Michigan,c=US" -- cgit From c97e6081e6152afd02aab1a402037c0b37263d19 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 22 Jun 2005 03:08:06 +0000 Subject: r7831: use cn=TEST as base of test DNs so we don't interfere with potentially real records (This used to be commit 2a426f654db668f4bfc899771dd11598e295b774) --- source4/lib/ldb/tests/slapd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index 61c8627e18..332b3f9063 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -17,11 +17,11 @@ allow update_anon bind_anon_dn #modulepath /usr/lib/ldap #moduleload back_bdb -defaultsearchbase "o=University of Michigan,c=US" +defaultsearchbase "o=University of Michigan,c=TEST" backend bdb database bdb -suffix "o=University of Michigan,c=US" +suffix "o=University of Michigan,c=TEST" directory tests/tmp/db index objectClass eq index uid eq -- cgit From 4785cf6fd1c5a702062e9b1db0f2d3e55727bc65 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Oct 2005 23:29:26 +0000 Subject: r10856: we need aclocal.m4 in ldb for standalone configure (This used to be commit b2551e76e8b0edf99483343d687df3a6cecff1f5) --- source4/lib/ldb/tests/slapd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index 332b3f9063..fc9d659b0b 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,8 +14,8 @@ access to * by * write allow update_anon bind_anon_dn -#modulepath /usr/lib/ldap -#moduleload back_bdb +modulepath /usr/lib/ldap +moduleload back_bdb defaultsearchbase "o=University of Michigan,c=TEST" -- cgit From 5c9590587197dcb95007fdc54318187d5716c7c6 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 8 Nov 2005 00:11:45 +0000 Subject: r11567: Ldb API change patch. This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780) --- source4/lib/ldb/tests/slapd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index fc9d659b0b..332b3f9063 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,8 +14,8 @@ access to * by * write allow update_anon bind_anon_dn -modulepath /usr/lib/ldap -moduleload back_bdb +#modulepath /usr/lib/ldap +#moduleload back_bdb defaultsearchbase "o=University of Michigan,c=TEST" -- cgit From 4d4f7a054e78d5cb56a2d054c8cb2bee6bea0b22 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 28 Feb 2006 04:36:29 +0000 Subject: r13742: Fix tests to work better with ldap (This used to be commit 4de76fd09e74a4a98d01777dd11bd2cfb1a681aa) --- source4/lib/ldb/tests/slapd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index 332b3f9063..fc9d659b0b 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,8 +14,8 @@ access to * by * write allow update_anon bind_anon_dn -#modulepath /usr/lib/ldap -#moduleload back_bdb +modulepath /usr/lib/ldap +moduleload back_bdb defaultsearchbase "o=University of Michigan,c=TEST" -- cgit From f2c083169760db02e267e2ca673e09ff2493931f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 1 Sep 2006 01:51:54 +0000 Subject: r17978: make the ldap backend test for ldb work both with and without modules (so it works on both redhat and debian, for example) (This used to be commit 71264bb78558ada7539ef59048eb38887579c1d1) --- source4/lib/ldb/tests/slapd.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/slapd.conf') diff --git a/source4/lib/ldb/tests/slapd.conf b/source4/lib/ldb/tests/slapd.conf index fc9d659b0b..fa2789d8c1 100644 --- a/source4/lib/ldb/tests/slapd.conf +++ b/source4/lib/ldb/tests/slapd.conf @@ -14,8 +14,7 @@ access to * by * write allow update_anon bind_anon_dn -modulepath /usr/lib/ldap -moduleload back_bdb +include tests/tmp/modules.conf defaultsearchbase "o=University of Michigan,c=TEST" -- cgit