summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-05 10:01:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-05 17:24:47 +1000
commit8420a36dc7fe72fb665e065b8673fa44ff1bbf21 (patch)
tree5350041c1de4cdc73a813949f7cd154c423b3ec5
parentc9a6dd56e42beafd297f4aefeb4e00ef9a09073a (diff)
downloadsamba-8420a36dc7fe72fb665e065b8673fa44ff1bbf21.tar.gz
samba-8420a36dc7fe72fb665e065b8673fa44ff1bbf21.tar.bz2
samba-8420a36dc7fe72fb665e065b8673fa44ff1bbf21.zip
ldb: make ldb a top level library for Samba 4.0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
-rw-r--r--MAINTAINERS.txt2
-rwxr-xr-xbuildtools/testwaf.sh4
-rw-r--r--lib/ldb-samba/README (renamed from source4/lib/ldb-samba/README)0
-rw-r--r--lib/ldb-samba/ldb_ildap.c (renamed from source4/lib/ldb-samba/ldb_ildap.c)0
-rw-r--r--lib/ldb-samba/ldb_wrap.c (renamed from source4/lib/ldb-samba/ldb_wrap.c)0
-rw-r--r--lib/ldb-samba/ldb_wrap.h (renamed from source4/lib/ldb-samba/ldb_wrap.h)0
-rw-r--r--lib/ldb-samba/ldif_handlers.c (renamed from source4/lib/ldb-samba/ldif_handlers.c)0
-rw-r--r--lib/ldb-samba/ldif_handlers.h (renamed from source4/lib/ldb-samba/ldif_handlers.h)0
-rw-r--r--lib/ldb-samba/pyldb.c (renamed from source4/lib/ldb-samba/pyldb.c)0
-rw-r--r--lib/ldb-samba/samba_extensions.c (renamed from source4/lib/ldb-samba/samba_extensions.c)0
-rw-r--r--lib/ldb-samba/wscript_build (renamed from source4/lib/ldb-samba/wscript_build)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.10.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.10.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.12.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.12.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.15.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.15.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.16.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.16.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.17.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.17.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.18.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.18.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.19.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.19.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.20.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.20.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.22.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.22.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.23.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.23.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-0.9.24.sigs (renamed from source4/lib/ldb/ABI/ldb-0.9.24.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-1.0.0.sigs (renamed from source4/lib/ldb/ABI/ldb-1.0.0.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-1.0.1.sigs (renamed from source4/lib/ldb/ABI/ldb-1.0.1.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-1.0.2.sigs (renamed from source4/lib/ldb/ABI/ldb-1.0.2.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-1.1.0.sigs (renamed from source4/lib/ldb/ABI/ldb-1.1.0.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-ildap-0.9.12.sigs (renamed from source4/lib/ldb/ABI/ldb-ildap-0.9.12.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-samba4-0.9.10.sigs (renamed from source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs)0
-rw-r--r--lib/ldb/ABI/ldb-samba4-0.9.11.sigs (renamed from source4/lib/ldb/ABI/ldb-samba4-0.9.11.sigs)0
-rw-r--r--lib/ldb/Doxyfile (renamed from source4/lib/ldb/Doxyfile)0
-rw-r--r--lib/ldb/Makefile (renamed from source4/lib/ldb/Makefile)2
-rw-r--r--lib/ldb/README_gcov.txt (renamed from source4/lib/ldb/README_gcov.txt)0
-rw-r--r--lib/ldb/common/attrib_handlers.c (renamed from source4/lib/ldb/common/attrib_handlers.c)0
-rw-r--r--lib/ldb/common/ldb.c (renamed from source4/lib/ldb/common/ldb.c)0
-rw-r--r--lib/ldb/common/ldb_attributes.c (renamed from source4/lib/ldb/common/ldb_attributes.c)0
-rw-r--r--lib/ldb/common/ldb_controls.c (renamed from source4/lib/ldb/common/ldb_controls.c)0
-rw-r--r--lib/ldb/common/ldb_debug.c (renamed from source4/lib/ldb/common/ldb_debug.c)0
-rw-r--r--lib/ldb/common/ldb_dn.c (renamed from source4/lib/ldb/common/ldb_dn.c)0
-rw-r--r--lib/ldb/common/ldb_ldif.c (renamed from source4/lib/ldb/common/ldb_ldif.c)0
-rw-r--r--lib/ldb/common/ldb_match.c (renamed from source4/lib/ldb/common/ldb_match.c)0
-rw-r--r--lib/ldb/common/ldb_modules.c (renamed from source4/lib/ldb/common/ldb_modules.c)0
-rw-r--r--lib/ldb/common/ldb_msg.c (renamed from source4/lib/ldb/common/ldb_msg.c)0
-rw-r--r--lib/ldb/common/ldb_options.c (renamed from source4/lib/ldb/common/ldb_options.c)0
-rw-r--r--lib/ldb/common/ldb_parse.c (renamed from source4/lib/ldb/common/ldb_parse.c)0
-rw-r--r--lib/ldb/common/ldb_utf8.c (renamed from source4/lib/ldb/common/ldb_utf8.c)0
-rw-r--r--lib/ldb/common/qsort.c (renamed from source4/lib/ldb/common/qsort.c)0
-rwxr-xr-xlib/ldb/configure (renamed from source4/lib/ldb/configure)4
-rwxr-xr-xlib/ldb/docs/builddocs.sh (renamed from source4/lib/ldb/docs/builddocs.sh)0
-rw-r--r--lib/ldb/docs/design.txt (renamed from source4/lib/ldb/docs/design.txt)0
-rwxr-xr-xlib/ldb/docs/installdocs.sh (renamed from source4/lib/ldb/docs/installdocs.sh)0
-rw-r--r--lib/ldb/examples.dox (renamed from source4/lib/ldb/examples.dox)0
-rw-r--r--lib/ldb/examples/ldbreader.c (renamed from source4/lib/ldb/examples/ldbreader.c)0
-rw-r--r--lib/ldb/examples/ldifreader.c (renamed from source4/lib/ldb/examples/ldifreader.c)0
-rw-r--r--lib/ldb/include/dlinklist.h (renamed from source4/lib/ldb/include/dlinklist.h)0
-rw-r--r--lib/ldb/include/ldb.h (renamed from source4/lib/ldb/include/ldb.h)0
-rw-r--r--lib/ldb/include/ldb_errors.h (renamed from source4/lib/ldb/include/ldb_errors.h)0
-rw-r--r--lib/ldb/include/ldb_handlers.h (renamed from source4/lib/ldb/include/ldb_handlers.h)0
-rw-r--r--lib/ldb/include/ldb_module.h (renamed from source4/lib/ldb/include/ldb_module.h)0
-rw-r--r--lib/ldb/include/ldb_private.h (renamed from source4/lib/ldb/include/ldb_private.h)0
-rw-r--r--lib/ldb/ldb.pc.in (renamed from source4/lib/ldb/ldb.pc.in)0
-rw-r--r--lib/ldb/ldb_ldap/ldb_ldap.c (renamed from source4/lib/ldb/ldb_ldap/ldb_ldap.c)0
-rw-r--r--lib/ldb/ldb_map/ldb_map.c (renamed from source4/lib/ldb/ldb_map/ldb_map.c)0
-rw-r--r--lib/ldb/ldb_map/ldb_map.h (renamed from source4/lib/ldb/ldb_map/ldb_map.h)0
-rw-r--r--lib/ldb/ldb_map/ldb_map_inbound.c (renamed from source4/lib/ldb/ldb_map/ldb_map_inbound.c)0
-rw-r--r--lib/ldb/ldb_map/ldb_map_outbound.c (renamed from source4/lib/ldb/ldb_map/ldb_map_outbound.c)0
-rw-r--r--lib/ldb/ldb_map/ldb_map_private.h (renamed from source4/lib/ldb/ldb_map/ldb_map_private.h)0
-rw-r--r--lib/ldb/ldb_sqlite3/README (renamed from source4/lib/ldb/ldb_sqlite3/README)0
-rw-r--r--lib/ldb/ldb_sqlite3/base160.c (renamed from source4/lib/ldb/ldb_sqlite3/base160.c)0
-rw-r--r--lib/ldb/ldb_sqlite3/ldb_sqlite3.c (renamed from source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c)0
-rw-r--r--lib/ldb/ldb_sqlite3/schema (renamed from source4/lib/ldb/ldb_sqlite3/schema)0
-rw-r--r--lib/ldb/ldb_sqlite3/trees.ps (renamed from source4/lib/ldb/ldb_sqlite3/trees.ps)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_cache.c (renamed from source4/lib/ldb/ldb_tdb/ldb_cache.c)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_index.c (renamed from source4/lib/ldb/ldb_tdb/ldb_index.c)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_pack.c (renamed from source4/lib/ldb/ldb_tdb/ldb_pack.c)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_search.c (renamed from source4/lib/ldb/ldb_tdb/ldb_search.c)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_tdb.c (renamed from source4/lib/ldb/ldb_tdb/ldb_tdb.c)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_tdb.h (renamed from source4/lib/ldb/ldb_tdb/ldb_tdb.h)0
-rw-r--r--lib/ldb/ldb_tdb/ldb_tdb_wrap.c (renamed from source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c)0
-rw-r--r--lib/ldb/mainpage.dox (renamed from source4/lib/ldb/mainpage.dox)0
-rw-r--r--lib/ldb/man/ldb.3.xml (renamed from source4/lib/ldb/man/ldb.3.xml)0
-rw-r--r--lib/ldb/man/ldbadd.1.xml (renamed from source4/lib/ldb/man/ldbadd.1.xml)0
-rw-r--r--lib/ldb/man/ldbdel.1.xml (renamed from source4/lib/ldb/man/ldbdel.1.xml)0
-rw-r--r--lib/ldb/man/ldbedit.1.xml (renamed from source4/lib/ldb/man/ldbedit.1.xml)0
-rw-r--r--lib/ldb/man/ldbmodify.1.xml (renamed from source4/lib/ldb/man/ldbmodify.1.xml)0
-rw-r--r--lib/ldb/man/ldbrename.1.xml (renamed from source4/lib/ldb/man/ldbrename.1.xml)0
-rw-r--r--lib/ldb/man/ldbsearch.1.xml (renamed from source4/lib/ldb/man/ldbsearch.1.xml)0
-rw-r--r--lib/ldb/modules/asq.c (renamed from source4/lib/ldb/modules/asq.c)0
-rw-r--r--lib/ldb/modules/paged_results.c (renamed from source4/lib/ldb/modules/paged_results.c)0
-rw-r--r--lib/ldb/modules/paged_searches.c (renamed from source4/lib/ldb/modules/paged_searches.c)0
-rw-r--r--lib/ldb/modules/rdn_name.c (renamed from source4/lib/ldb/modules/rdn_name.c)0
-rw-r--r--lib/ldb/modules/skel.c (renamed from source4/lib/ldb/modules/skel.c)0
-rw-r--r--lib/ldb/modules/sort.c (renamed from source4/lib/ldb/modules/sort.c)0
-rw-r--r--lib/ldb/nssldb/README.txt (renamed from source4/lib/ldb/nssldb/README.txt)0
-rw-r--r--lib/ldb/nssldb/ldb-grp.c (renamed from source4/lib/ldb/nssldb/ldb-grp.c)0
-rw-r--r--lib/ldb/nssldb/ldb-nss.c (renamed from source4/lib/ldb/nssldb/ldb-nss.c)0
-rw-r--r--lib/ldb/nssldb/ldb-nss.h (renamed from source4/lib/ldb/nssldb/ldb-nss.h)0
-rw-r--r--lib/ldb/nssldb/ldb-pwd.c (renamed from source4/lib/ldb/nssldb/ldb-pwd.c)0
-rw-r--r--lib/ldb/pyldb-util.pc.in (renamed from source4/lib/ldb/pyldb-util.pc.in)0
-rw-r--r--lib/ldb/pyldb.c (renamed from source4/lib/ldb/pyldb.c)0
-rw-r--r--lib/ldb/pyldb.h (renamed from source4/lib/ldb/pyldb.h)0
-rw-r--r--lib/ldb/pyldb_util.c (renamed from source4/lib/ldb/pyldb_util.c)0
-rw-r--r--lib/ldb/tests/init.ldif (renamed from source4/lib/ldb/tests/init.ldif)0
-rwxr-xr-xlib/ldb/tests/init_slapd.sh (renamed from source4/lib/ldb/tests/init_slapd.sh)0
-rwxr-xr-xlib/ldb/tests/kill_slapd.sh (renamed from source4/lib/ldb/tests/kill_slapd.sh)0
-rwxr-xr-xlib/ldb/tests/ldapi_url.sh (renamed from source4/lib/ldb/tests/ldapi_url.sh)0
-rw-r--r--lib/ldb/tests/photo.ldif (renamed from source4/lib/ldb/tests/photo.ldif)0
-rwxr-xr-xlib/ldb/tests/python/api.py (renamed from source4/lib/ldb/tests/python/api.py)0
-rw-r--r--lib/ldb/tests/samba4.png (renamed from source4/lib/ldb/tests/samba4.png)bin6239 -> 6239 bytes
-rw-r--r--lib/ldb/tests/sample_module.c (renamed from source4/lib/ldb/tests/sample_module.c)0
-rw-r--r--lib/ldb/tests/schema-tests/schema-add-test.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema-add-test.ldif)0
-rw-r--r--lib/ldb/tests/schema-tests/schema-mod-test-1.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema-mod-test-1.ldif)0
-rw-r--r--lib/ldb/tests/schema-tests/schema-mod-test-2.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema-mod-test-2.ldif)0
-rw-r--r--lib/ldb/tests/schema-tests/schema-mod-test-3.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema-mod-test-3.ldif)0
-rw-r--r--lib/ldb/tests/schema-tests/schema-mod-test-4.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema-mod-test-4.ldif)0
-rw-r--r--lib/ldb/tests/schema-tests/schema-mod-test-5.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema-mod-test-5.ldif)0
-rw-r--r--lib/ldb/tests/schema-tests/schema.ldif (renamed from source4/lib/ldb/tests/schema-tests/schema.ldif)0
-rw-r--r--lib/ldb/tests/slapd.conf (renamed from source4/lib/ldb/tests/slapd.conf)0
-rwxr-xr-xlib/ldb/tests/start_slapd.sh (renamed from source4/lib/ldb/tests/start_slapd.sh)0
-rw-r--r--lib/ldb/tests/test-attribs.ldif (renamed from source4/lib/ldb/tests/test-attribs.ldif)0
-rw-r--r--lib/ldb/tests/test-config.ldif (renamed from source4/lib/ldb/tests/test-config.ldif)0
-rwxr-xr-xlib/ldb/tests/test-controls.sh (renamed from source4/lib/ldb/tests/test-controls.sh)0
-rw-r--r--lib/ldb/tests/test-default-config.ldif (renamed from source4/lib/ldb/tests/test-default-config.ldif)0
-rwxr-xr-xlib/ldb/tests/test-extended.sh (renamed from source4/lib/ldb/tests/test-extended.sh)0
-rwxr-xr-xlib/ldb/tests/test-generic.sh (renamed from source4/lib/ldb/tests/test-generic.sh)0
-rw-r--r--lib/ldb/tests/test-index.ldif (renamed from source4/lib/ldb/tests/test-index.ldif)0
-rwxr-xr-xlib/ldb/tests/test-ldap.sh (renamed from source4/lib/ldb/tests/test-ldap.sh)0
-rw-r--r--lib/ldb/tests/test-modify-modrdn.ldif (renamed from source4/lib/ldb/tests/test-modify-modrdn.ldif)0
-rw-r--r--lib/ldb/tests/test-modify.ldif (renamed from source4/lib/ldb/tests/test-modify.ldif)0
-rwxr-xr-xlib/ldb/tests/test-schema.sh (renamed from source4/lib/ldb/tests/test-schema.sh)0
-rwxr-xr-xlib/ldb/tests/test-soloading.sh (renamed from source4/lib/ldb/tests/test-soloading.sh)0
-rwxr-xr-xlib/ldb/tests/test-sqlite3.sh (renamed from source4/lib/ldb/tests/test-sqlite3.sh)0
-rw-r--r--lib/ldb/tests/test-tdb-features.sh (renamed from source4/lib/ldb/tests/test-tdb-features.sh)0
-rwxr-xr-xlib/ldb/tests/test-tdb.sh (renamed from source4/lib/ldb/tests/test-tdb.sh)0
-rw-r--r--lib/ldb/tests/test-wildcard.ldif (renamed from source4/lib/ldb/tests/test-wildcard.ldif)0
-rw-r--r--lib/ldb/tests/test-wrong_attributes.ldif (renamed from source4/lib/ldb/tests/test-wrong_attributes.ldif)0
-rw-r--r--lib/ldb/tests/test.ldif (renamed from source4/lib/ldb/tests/test.ldif)0
-rw-r--r--lib/ldb/tests/testdata.txt (renamed from source4/lib/ldb/tests/testdata.txt)0
-rw-r--r--lib/ldb/tests/testsearch.txt (renamed from source4/lib/ldb/tests/testsearch.txt)0
-rw-r--r--lib/ldb/tools/cmdline.c (renamed from source4/lib/ldb/tools/cmdline.c)0
-rw-r--r--lib/ldb/tools/cmdline.h (renamed from source4/lib/ldb/tools/cmdline.h)0
-rw-r--r--lib/ldb/tools/ldbadd.c (renamed from source4/lib/ldb/tools/ldbadd.c)0
-rw-r--r--lib/ldb/tools/ldbdel.c (renamed from source4/lib/ldb/tools/ldbdel.c)0
-rw-r--r--lib/ldb/tools/ldbedit.c (renamed from source4/lib/ldb/tools/ldbedit.c)0
-rw-r--r--lib/ldb/tools/ldbmodify.c (renamed from source4/lib/ldb/tools/ldbmodify.c)0
-rw-r--r--lib/ldb/tools/ldbrename.c (renamed from source4/lib/ldb/tools/ldbrename.c)0
-rw-r--r--lib/ldb/tools/ldbsearch.c (renamed from source4/lib/ldb/tools/ldbsearch.c)0
-rw-r--r--lib/ldb/tools/ldbtest.c (renamed from source4/lib/ldb/tools/ldbtest.c)0
-rw-r--r--lib/ldb/tools/ldbutil.c (renamed from source4/lib/ldb/tools/ldbutil.c)0
-rw-r--r--lib/ldb/tools/ldbutil.h (renamed from source4/lib/ldb/tools/ldbutil.h)0
-rw-r--r--lib/ldb/web/index.html (renamed from source4/lib/ldb/web/index.html)0
-rwxr-xr-xlib/ldb/wscript (renamed from source4/lib/ldb/wscript)2
-rwxr-xr-xscript/autobuild.py4
-rwxr-xr-xscript/land.py2
-rwxr-xr-xsource4/selftest/tests.py4
-rwxr-xr-xwscript4
-rw-r--r--wscript_build4
156 files changed, 16 insertions, 16 deletions
diff --git a/MAINTAINERS.txt b/MAINTAINERS.txt
index 466ae54d6a..36e1840cbf 100644
--- a/MAINTAINERS.txt
+++ b/MAINTAINERS.txt
@@ -62,7 +62,7 @@ policy:
pass. Larger commits require discussion on samba-technical
list and review by the maintainer
-files: lib/tevent/py*, lib/talloc/py*, source4/lib/ldb/py*, lib/tdb/py*
+files: lib/tevent/py*, lib/talloc/py*, lib/ldb/py*, lib/tdb/py*
maintainers:
Jelmer Vernooij <jelmer@samba.org>
policy:
diff --git a/buildtools/testwaf.sh b/buildtools/testwaf.sh
index 8b65af2c10..127e525891 100755
--- a/buildtools/testwaf.sh
+++ b/buildtools/testwaf.sh
@@ -11,7 +11,7 @@ PREFIX=$HOME/testprefix
if [ $# -gt 0 ]; then
tests="$*"
else
- tests="lib/replace lib/talloc lib/tevent lib/tdb source4/lib/ldb"
+ tests="lib/replace lib/talloc lib/tevent lib/tdb lib/ldb"
fi
echo "testing in dirs $tests"
@@ -27,7 +27,7 @@ for d in $tests; do
make install
make distcheck
case $d in
- "source4/lib/ldb")
+ "lib/ldb")
ldd bin/ldbadd
;;
"lib/replace")
diff --git a/source4/lib/ldb-samba/README b/lib/ldb-samba/README
index 3fa47159ca..3fa47159ca 100644
--- a/source4/lib/ldb-samba/README
+++ b/lib/ldb-samba/README
diff --git a/source4/lib/ldb-samba/ldb_ildap.c b/lib/ldb-samba/ldb_ildap.c
index 3c28690bd6..3c28690bd6 100644
--- a/source4/lib/ldb-samba/ldb_ildap.c
+++ b/lib/ldb-samba/ldb_ildap.c
diff --git a/source4/lib/ldb-samba/ldb_wrap.c b/lib/ldb-samba/ldb_wrap.c
index 66213bf288..66213bf288 100644
--- a/source4/lib/ldb-samba/ldb_wrap.c
+++ b/lib/ldb-samba/ldb_wrap.c
diff --git a/source4/lib/ldb-samba/ldb_wrap.h b/lib/ldb-samba/ldb_wrap.h
index aa7ccb3a23..aa7ccb3a23 100644
--- a/source4/lib/ldb-samba/ldb_wrap.h
+++ b/lib/ldb-samba/ldb_wrap.h
diff --git a/source4/lib/ldb-samba/ldif_handlers.c b/lib/ldb-samba/ldif_handlers.c
index af3c4b46e1..af3c4b46e1 100644
--- a/source4/lib/ldb-samba/ldif_handlers.c
+++ b/lib/ldb-samba/ldif_handlers.c
diff --git a/source4/lib/ldb-samba/ldif_handlers.h b/lib/ldb-samba/ldif_handlers.h
index 62903c4a96..62903c4a96 100644
--- a/source4/lib/ldb-samba/ldif_handlers.h
+++ b/lib/ldb-samba/ldif_handlers.h
diff --git a/source4/lib/ldb-samba/pyldb.c b/lib/ldb-samba/pyldb.c
index ff48a3bb04..ff48a3bb04 100644
--- a/source4/lib/ldb-samba/pyldb.c
+++ b/lib/ldb-samba/pyldb.c
diff --git a/source4/lib/ldb-samba/samba_extensions.c b/lib/ldb-samba/samba_extensions.c
index be9f36a5a7..be9f36a5a7 100644
--- a/source4/lib/ldb-samba/samba_extensions.c
+++ b/lib/ldb-samba/samba_extensions.c
diff --git a/source4/lib/ldb-samba/wscript_build b/lib/ldb-samba/wscript_build
index 2e1cacba64..2e1cacba64 100644
--- a/source4/lib/ldb-samba/wscript_build
+++ b/lib/ldb-samba/wscript_build
diff --git a/source4/lib/ldb/ABI/ldb-0.9.10.sigs b/lib/ldb/ABI/ldb-0.9.10.sigs
index 012ac65bb7..012ac65bb7 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.10.sigs
+++ b/lib/ldb/ABI/ldb-0.9.10.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.12.sigs b/lib/ldb/ABI/ldb-0.9.12.sigs
index 2206e790fc..2206e790fc 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.12.sigs
+++ b/lib/ldb/ABI/ldb-0.9.12.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.15.sigs b/lib/ldb/ABI/ldb-0.9.15.sigs
index 39d2f3eac4..39d2f3eac4 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.15.sigs
+++ b/lib/ldb/ABI/ldb-0.9.15.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.16.sigs b/lib/ldb/ABI/ldb-0.9.16.sigs
index 610a0a4a75..610a0a4a75 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.16.sigs
+++ b/lib/ldb/ABI/ldb-0.9.16.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.17.sigs b/lib/ldb/ABI/ldb-0.9.17.sigs
index d0f56991d2..d0f56991d2 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.17.sigs
+++ b/lib/ldb/ABI/ldb-0.9.17.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.18.sigs b/lib/ldb/ABI/ldb-0.9.18.sigs
index 15913c9385..15913c9385 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.18.sigs
+++ b/lib/ldb/ABI/ldb-0.9.18.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.19.sigs b/lib/ldb/ABI/ldb-0.9.19.sigs
index 62738709e4..62738709e4 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.19.sigs
+++ b/lib/ldb/ABI/ldb-0.9.19.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.20.sigs b/lib/ldb/ABI/ldb-0.9.20.sigs
index 62738709e4..62738709e4 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.20.sigs
+++ b/lib/ldb/ABI/ldb-0.9.20.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.22.sigs b/lib/ldb/ABI/ldb-0.9.22.sigs
index b5a69c14a9..b5a69c14a9 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.22.sigs
+++ b/lib/ldb/ABI/ldb-0.9.22.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.23.sigs b/lib/ldb/ABI/ldb-0.9.23.sigs
index 73e5caa896..73e5caa896 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.23.sigs
+++ b/lib/ldb/ABI/ldb-0.9.23.sigs
diff --git a/source4/lib/ldb/ABI/ldb-0.9.24.sigs b/lib/ldb/ABI/ldb-0.9.24.sigs
index 5cb32f7c46..5cb32f7c46 100644
--- a/source4/lib/ldb/ABI/ldb-0.9.24.sigs
+++ b/lib/ldb/ABI/ldb-0.9.24.sigs
diff --git a/source4/lib/ldb/ABI/ldb-1.0.0.sigs b/lib/ldb/ABI/ldb-1.0.0.sigs
index 5cb32f7c46..5cb32f7c46 100644
--- a/source4/lib/ldb/ABI/ldb-1.0.0.sigs
+++ b/lib/ldb/ABI/ldb-1.0.0.sigs
diff --git a/source4/lib/ldb/ABI/ldb-1.0.1.sigs b/lib/ldb/ABI/ldb-1.0.1.sigs
index 5cb32f7c46..5cb32f7c46 100644
--- a/source4/lib/ldb/ABI/ldb-1.0.1.sigs
+++ b/lib/ldb/ABI/ldb-1.0.1.sigs
diff --git a/source4/lib/ldb/ABI/ldb-1.0.2.sigs b/lib/ldb/ABI/ldb-1.0.2.sigs
index c13ac873d2..c13ac873d2 100644
--- a/source4/lib/ldb/ABI/ldb-1.0.2.sigs
+++ b/lib/ldb/ABI/ldb-1.0.2.sigs
diff --git a/source4/lib/ldb/ABI/ldb-1.1.0.sigs b/lib/ldb/ABI/ldb-1.1.0.sigs
index 149d4bc0ae..149d4bc0ae 100644
--- a/source4/lib/ldb/ABI/ldb-1.1.0.sigs
+++ b/lib/ldb/ABI/ldb-1.1.0.sigs
diff --git a/source4/lib/ldb/ABI/ldb-ildap-0.9.12.sigs b/lib/ldb/ABI/ldb-ildap-0.9.12.sigs
index 4639220759..4639220759 100644
--- a/source4/lib/ldb/ABI/ldb-ildap-0.9.12.sigs
+++ b/lib/ldb/ABI/ldb-ildap-0.9.12.sigs
diff --git a/source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs b/lib/ldb/ABI/ldb-samba4-0.9.10.sigs
index 7f9dbb5297..7f9dbb5297 100644
--- a/source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs
+++ b/lib/ldb/ABI/ldb-samba4-0.9.10.sigs
diff --git a/source4/lib/ldb/ABI/ldb-samba4-0.9.11.sigs b/lib/ldb/ABI/ldb-samba4-0.9.11.sigs
index 4639220759..4639220759 100644
--- a/source4/lib/ldb/ABI/ldb-samba4-0.9.11.sigs
+++ b/lib/ldb/ABI/ldb-samba4-0.9.11.sigs
diff --git a/source4/lib/ldb/Doxyfile b/lib/ldb/Doxyfile
index 07b12b516a..07b12b516a 100644
--- a/source4/lib/ldb/Doxyfile
+++ b/lib/ldb/Doxyfile
diff --git a/source4/lib/ldb/Makefile b/lib/ldb/Makefile
index a07b4a7164..5acfcbce58 100644
--- a/source4/lib/ldb/Makefile
+++ b/lib/ldb/Makefile
@@ -1,6 +1,6 @@
# simple makefile wrapper to run waf
-WAF=WAF_MAKE=1 PATH=buildtools/bin:../../../buildtools/bin:$$PATH waf
+WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
all:
$(WAF) build
diff --git a/source4/lib/ldb/README_gcov.txt b/lib/ldb/README_gcov.txt
index 2abd9378f4..2abd9378f4 100644
--- a/source4/lib/ldb/README_gcov.txt
+++ b/lib/ldb/README_gcov.txt
diff --git a/source4/lib/ldb/common/attrib_handlers.c b/lib/ldb/common/attrib_handlers.c
index 2f4454c7b4..2f4454c7b4 100644
--- a/source4/lib/ldb/common/attrib_handlers.c
+++ b/lib/ldb/common/attrib_handlers.c
diff --git a/source4/lib/ldb/common/ldb.c b/lib/ldb/common/ldb.c
index 433f30b7c1..433f30b7c1 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/lib/ldb/common/ldb.c
diff --git a/source4/lib/ldb/common/ldb_attributes.c b/lib/ldb/common/ldb_attributes.c
index 21a3e6eb93..21a3e6eb93 100644
--- a/source4/lib/ldb/common/ldb_attributes.c
+++ b/lib/ldb/common/ldb_attributes.c
diff --git a/source4/lib/ldb/common/ldb_controls.c b/lib/ldb/common/ldb_controls.c
index b3ef243493..b3ef243493 100644
--- a/source4/lib/ldb/common/ldb_controls.c
+++ b/lib/ldb/common/ldb_controls.c
diff --git a/source4/lib/ldb/common/ldb_debug.c b/lib/ldb/common/ldb_debug.c
index 6aa58ccf71..6aa58ccf71 100644
--- a/source4/lib/ldb/common/ldb_debug.c
+++ b/lib/ldb/common/ldb_debug.c
diff --git a/source4/lib/ldb/common/ldb_dn.c b/lib/ldb/common/ldb_dn.c
index cd9055da92..cd9055da92 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/lib/ldb/common/ldb_dn.c
diff --git a/source4/lib/ldb/common/ldb_ldif.c b/lib/ldb/common/ldb_ldif.c
index 63b797c4f3..63b797c4f3 100644
--- a/source4/lib/ldb/common/ldb_ldif.c
+++ b/lib/ldb/common/ldb_ldif.c
diff --git a/source4/lib/ldb/common/ldb_match.c b/lib/ldb/common/ldb_match.c
index a42cf9449d..a42cf9449d 100644
--- a/source4/lib/ldb/common/ldb_match.c
+++ b/lib/ldb/common/ldb_match.c
diff --git a/source4/lib/ldb/common/ldb_modules.c b/lib/ldb/common/ldb_modules.c
index 61d1901513..61d1901513 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/lib/ldb/common/ldb_modules.c
diff --git a/source4/lib/ldb/common/ldb_msg.c b/lib/ldb/common/ldb_msg.c
index 28c414e6b2..28c414e6b2 100644
--- a/source4/lib/ldb/common/ldb_msg.c
+++ b/lib/ldb/common/ldb_msg.c
diff --git a/source4/lib/ldb/common/ldb_options.c b/lib/ldb/common/ldb_options.c
index f07f393562..f07f393562 100644
--- a/source4/lib/ldb/common/ldb_options.c
+++ b/lib/ldb/common/ldb_options.c
diff --git a/source4/lib/ldb/common/ldb_parse.c b/lib/ldb/common/ldb_parse.c
index b4eabf8375..b4eabf8375 100644
--- a/source4/lib/ldb/common/ldb_parse.c
+++ b/lib/ldb/common/ldb_parse.c
diff --git a/source4/lib/ldb/common/ldb_utf8.c b/lib/ldb/common/ldb_utf8.c
index 55d8f905d3..55d8f905d3 100644
--- a/source4/lib/ldb/common/ldb_utf8.c
+++ b/lib/ldb/common/ldb_utf8.c
diff --git a/source4/lib/ldb/common/qsort.c b/lib/ldb/common/qsort.c
index 1a0b886b8c..1a0b886b8c 100644
--- a/source4/lib/ldb/common/qsort.c
+++ b/lib/ldb/common/qsort.c
diff --git a/source4/lib/ldb/configure b/lib/ldb/configure
index 137a26bcbe..82146fe109 100755
--- a/source4/lib/ldb/configure
+++ b/lib/ldb/configure
@@ -2,8 +2,8 @@
PREVPATH=`dirname $0`
-if [ -f $PREVPATH/../../../buildtools/bin/waf ]; then
- WAF=../../../buildtools/bin/waf
+if [ -f $PREVPATH/../../buildtools/bin/waf ]; then
+ WAF=../../buildtools/bin/waf
elif [ -f $PREVPATH/buildtools/bin/waf ]; then
WAF=./buildtools/bin/waf
else
diff --git a/source4/lib/ldb/docs/builddocs.sh b/lib/ldb/docs/builddocs.sh
index 449dcb2681..449dcb2681 100755
--- a/source4/lib/ldb/docs/builddocs.sh
+++ b/lib/ldb/docs/builddocs.sh
diff --git a/source4/lib/ldb/docs/design.txt b/lib/ldb/docs/design.txt
index 0bb278b5b4..0bb278b5b4 100644
--- a/source4/lib/ldb/docs/design.txt
+++ b/lib/ldb/docs/design.txt
diff --git a/source4/lib/ldb/docs/installdocs.sh b/lib/ldb/docs/installdocs.sh
index 6cc7b74ad5..6cc7b74ad5 100755
--- a/source4/lib/ldb/docs/installdocs.sh
+++ b/lib/ldb/docs/installdocs.sh
diff --git a/source4/lib/ldb/examples.dox b/lib/ldb/examples.dox
index ef4b4f0a40..ef4b4f0a40 100644
--- a/source4/lib/ldb/examples.dox
+++ b/lib/ldb/examples.dox
diff --git a/source4/lib/ldb/examples/ldbreader.c b/lib/ldb/examples/ldbreader.c
index 3496baf4ce..3496baf4ce 100644
--- a/source4/lib/ldb/examples/ldbreader.c
+++ b/lib/ldb/examples/ldbreader.c
diff --git a/source4/lib/ldb/examples/ldifreader.c b/lib/ldb/examples/ldifreader.c
index dcd9daf812..dcd9daf812 100644
--- a/source4/lib/ldb/examples/ldifreader.c
+++ b/lib/ldb/examples/ldifreader.c
diff --git a/source4/lib/ldb/include/dlinklist.h b/lib/ldb/include/dlinklist.h
index 1c577bb6b9..1c577bb6b9 100644
--- a/source4/lib/ldb/include/dlinklist.h
+++ b/lib/ldb/include/dlinklist.h
diff --git a/source4/lib/ldb/include/ldb.h b/lib/ldb/include/ldb.h
index d745f377b6..d745f377b6 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/lib/ldb/include/ldb.h
diff --git a/source4/lib/ldb/include/ldb_errors.h b/lib/ldb/include/ldb_errors.h
index b247fbe09c..b247fbe09c 100644
--- a/source4/lib/ldb/include/ldb_errors.h
+++ b/lib/ldb/include/ldb_errors.h
diff --git a/source4/lib/ldb/include/ldb_handlers.h b/lib/ldb/include/ldb_handlers.h
index 6e71f1fa01..6e71f1fa01 100644
--- a/source4/lib/ldb/include/ldb_handlers.h
+++ b/lib/ldb/include/ldb_handlers.h
diff --git a/source4/lib/ldb/include/ldb_module.h b/lib/ldb/include/ldb_module.h
index 6d6fff251c..6d6fff251c 100644
--- a/source4/lib/ldb/include/ldb_module.h
+++ b/lib/ldb/include/ldb_module.h
diff --git a/source4/lib/ldb/include/ldb_private.h b/lib/ldb/include/ldb_private.h
index cafc020e29..cafc020e29 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/lib/ldb/include/ldb_private.h
diff --git a/source4/lib/ldb/ldb.pc.in b/lib/ldb/ldb.pc.in
index aeba17a677..aeba17a677 100644
--- a/source4/lib/ldb/ldb.pc.in
+++ b/lib/ldb/ldb.pc.in
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/lib/ldb/ldb_ldap/ldb_ldap.c
index 7e6ac903c8..7e6ac903c8 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/lib/ldb/ldb_ldap/ldb_ldap.c
diff --git a/source4/lib/ldb/ldb_map/ldb_map.c b/lib/ldb/ldb_map/ldb_map.c
index d35e5c604f..d35e5c604f 100644
--- a/source4/lib/ldb/ldb_map/ldb_map.c
+++ b/lib/ldb/ldb_map/ldb_map.c
diff --git a/source4/lib/ldb/ldb_map/ldb_map.h b/lib/ldb/ldb_map/ldb_map.h
index 5db3e02a08..5db3e02a08 100644
--- a/source4/lib/ldb/ldb_map/ldb_map.h
+++ b/lib/ldb/ldb_map/ldb_map.h
diff --git a/source4/lib/ldb/ldb_map/ldb_map_inbound.c b/lib/ldb/ldb_map/ldb_map_inbound.c
index b61037222a..b61037222a 100644
--- a/source4/lib/ldb/ldb_map/ldb_map_inbound.c
+++ b/lib/ldb/ldb_map/ldb_map_inbound.c
diff --git a/source4/lib/ldb/ldb_map/ldb_map_outbound.c b/lib/ldb/ldb_map/ldb_map_outbound.c
index 2c517a625d..2c517a625d 100644
--- a/source4/lib/ldb/ldb_map/ldb_map_outbound.c
+++ b/lib/ldb/ldb_map/ldb_map_outbound.c
diff --git a/source4/lib/ldb/ldb_map/ldb_map_private.h b/lib/ldb/ldb_map/ldb_map_private.h
index 7faaa99708..7faaa99708 100644
--- a/source4/lib/ldb/ldb_map/ldb_map_private.h
+++ b/lib/ldb/ldb_map/ldb_map_private.h
diff --git a/source4/lib/ldb/ldb_sqlite3/README b/lib/ldb/ldb_sqlite3/README
index 6cda0a7759..6cda0a7759 100644
--- a/source4/lib/ldb/ldb_sqlite3/README
+++ b/lib/ldb/ldb_sqlite3/README
diff --git a/source4/lib/ldb/ldb_sqlite3/base160.c b/lib/ldb/ldb_sqlite3/base160.c
index 7ad39f7c2f..7ad39f7c2f 100644
--- a/source4/lib/ldb/ldb_sqlite3/base160.c
+++ b/lib/ldb/ldb_sqlite3/base160.c
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index 223868a6c0..223868a6c0 100644
--- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
+++ b/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
diff --git a/source4/lib/ldb/ldb_sqlite3/schema b/lib/ldb/ldb_sqlite3/schema
index ab7c5cc406..ab7c5cc406 100644
--- a/source4/lib/ldb/ldb_sqlite3/schema
+++ b/lib/ldb/ldb_sqlite3/schema
diff --git a/source4/lib/ldb/ldb_sqlite3/trees.ps b/lib/ldb/ldb_sqlite3/trees.ps
index 433a064816..433a064816 100644
--- a/source4/lib/ldb/ldb_sqlite3/trees.ps
+++ b/lib/ldb/ldb_sqlite3/trees.ps
diff --git a/source4/lib/ldb/ldb_tdb/ldb_cache.c b/lib/ldb/ldb_tdb/ldb_cache.c
index e54ceaaa98..e54ceaaa98 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_cache.c
+++ b/lib/ldb/ldb_tdb/ldb_cache.c
diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/lib/ldb/ldb_tdb/ldb_index.c
index 24cc93feb9..24cc93feb9 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_index.c
+++ b/lib/ldb/ldb_tdb/ldb_index.c
diff --git a/source4/lib/ldb/ldb_tdb/ldb_pack.c b/lib/ldb/ldb_tdb/ldb_pack.c
index 7c13065aee..7c13065aee 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_pack.c
+++ b/lib/ldb/ldb_tdb/ldb_pack.c
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/lib/ldb/ldb_tdb/ldb_search.c
index 46e2d74998..46e2d74998 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/lib/ldb/ldb_tdb/ldb_search.c
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/lib/ldb/ldb_tdb/ldb_tdb.c
index 0d4be49123..0d4be49123 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/lib/ldb/ldb_tdb/ldb_tdb.c
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.h b/lib/ldb/ldb_tdb/ldb_tdb.h
index 96ad43fbd6..96ad43fbd6 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.h
+++ b/lib/ldb/ldb_tdb/ldb_tdb.h
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c b/lib/ldb/ldb_tdb/ldb_tdb_wrap.c
index 16a037a6c3..16a037a6c3 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c
+++ b/lib/ldb/ldb_tdb/ldb_tdb_wrap.c
diff --git a/source4/lib/ldb/mainpage.dox b/lib/ldb/mainpage.dox
index bbd8d9c502..bbd8d9c502 100644
--- a/source4/lib/ldb/mainpage.dox
+++ b/lib/ldb/mainpage.dox
diff --git a/source4/lib/ldb/man/ldb.3.xml b/lib/ldb/man/ldb.3.xml
index 19d9a89e10..19d9a89e10 100644
--- a/source4/lib/ldb/man/ldb.3.xml
+++ b/lib/ldb/man/ldb.3.xml
diff --git a/source4/lib/ldb/man/ldbadd.1.xml b/lib/ldb/man/ldbadd.1.xml
index b77b151e2d..b77b151e2d 100644
--- a/source4/lib/ldb/man/ldbadd.1.xml
+++ b/lib/ldb/man/ldbadd.1.xml
diff --git a/source4/lib/ldb/man/ldbdel.1.xml b/lib/ldb/man/ldbdel.1.xml
index 41da3bc984..41da3bc984 100644
--- a/source4/lib/ldb/man/ldbdel.1.xml
+++ b/lib/ldb/man/ldbdel.1.xml
diff --git a/source4/lib/ldb/man/ldbedit.1.xml b/lib/ldb/man/ldbedit.1.xml
index a2eec0579c..a2eec0579c 100644
--- a/source4/lib/ldb/man/ldbedit.1.xml
+++ b/lib/ldb/man/ldbedit.1.xml
diff --git a/source4/lib/ldb/man/ldbmodify.1.xml b/lib/ldb/man/ldbmodify.1.xml
index 9bb492ab1b..9bb492ab1b 100644
--- a/source4/lib/ldb/man/ldbmodify.1.xml
+++ b/lib/ldb/man/ldbmodify.1.xml
diff --git a/source4/lib/ldb/man/ldbrename.1.xml b/lib/ldb/man/ldbrename.1.xml
index 3576bc27bb..3576bc27bb 100644
--- a/source4/lib/ldb/man/ldbrename.1.xml
+++ b/lib/ldb/man/ldbrename.1.xml
diff --git a/source4/lib/ldb/man/ldbsearch.1.xml b/lib/ldb/man/ldbsearch.1.xml
index 623a5992e5..623a5992e5 100644
--- a/source4/lib/ldb/man/ldbsearch.1.xml
+++ b/lib/ldb/man/ldbsearch.1.xml
diff --git a/source4/lib/ldb/modules/asq.c b/lib/ldb/modules/asq.c
index 7482de826f..7482de826f 100644
--- a/source4/lib/ldb/modules/asq.c
+++ b/lib/ldb/modules/asq.c
diff --git a/source4/lib/ldb/modules/paged_results.c b/lib/ldb/modules/paged_results.c
index 2d6c62fd54..2d6c62fd54 100644
--- a/source4/lib/ldb/modules/paged_results.c
+++ b/lib/ldb/modules/paged_results.c
diff --git a/source4/lib/ldb/modules/paged_searches.c b/lib/ldb/modules/paged_searches.c
index 68eeb4c76e..68eeb4c76e 100644
--- a/source4/lib/ldb/modules/paged_searches.c
+++ b/lib/ldb/modules/paged_searches.c
diff --git a/source4/lib/ldb/modules/rdn_name.c b/lib/ldb/modules/rdn_name.c
index 50b63aee13..50b63aee13 100644
--- a/source4/lib/ldb/modules/rdn_name.c
+++ b/lib/ldb/modules/rdn_name.c
diff --git a/source4/lib/ldb/modules/skel.c b/lib/ldb/modules/skel.c
index 1ce3ec1df9..1ce3ec1df9 100644
--- a/source4/lib/ldb/modules/skel.c
+++ b/lib/ldb/modules/skel.c
diff --git a/source4/lib/ldb/modules/sort.c b/lib/ldb/modules/sort.c
index c6fce2d96e..c6fce2d96e 100644
--- a/source4/lib/ldb/modules/sort.c
+++ b/lib/ldb/modules/sort.c
diff --git a/source4/lib/ldb/nssldb/README.txt b/lib/ldb/nssldb/README.txt
index ddba62b380..ddba62b380 100644
--- a/source4/lib/ldb/nssldb/README.txt
+++ b/lib/ldb/nssldb/README.txt
diff --git a/source4/lib/ldb/nssldb/ldb-grp.c b/lib/ldb/nssldb/ldb-grp.c
index 5e7556dc73..5e7556dc73 100644
--- a/source4/lib/ldb/nssldb/ldb-grp.c
+++ b/lib/ldb/nssldb/ldb-grp.c
diff --git a/source4/lib/ldb/nssldb/ldb-nss.c b/lib/ldb/nssldb/ldb-nss.c
index 92b0635561..92b0635561 100644
--- a/source4/lib/ldb/nssldb/ldb-nss.c
+++ b/lib/ldb/nssldb/ldb-nss.c
diff --git a/source4/lib/ldb/nssldb/ldb-nss.h b/lib/ldb/nssldb/ldb-nss.h
index 583876fea6..583876fea6 100644
--- a/source4/lib/ldb/nssldb/ldb-nss.h
+++ b/lib/ldb/nssldb/ldb-nss.h
diff --git a/source4/lib/ldb/nssldb/ldb-pwd.c b/lib/ldb/nssldb/ldb-pwd.c
index 6ab103a6fe..6ab103a6fe 100644
--- a/source4/lib/ldb/nssldb/ldb-pwd.c
+++ b/lib/ldb/nssldb/ldb-pwd.c
diff --git a/source4/lib/ldb/pyldb-util.pc.in b/lib/ldb/pyldb-util.pc.in
index 348ae8b95d..348ae8b95d 100644
--- a/source4/lib/ldb/pyldb-util.pc.in
+++ b/lib/ldb/pyldb-util.pc.in
diff --git a/source4/lib/ldb/pyldb.c b/lib/ldb/pyldb.c
index e2a2e7180e..e2a2e7180e 100644
--- a/source4/lib/ldb/pyldb.c
+++ b/lib/ldb/pyldb.c
diff --git a/source4/lib/ldb/pyldb.h b/lib/ldb/pyldb.h
index 04d8ff856c..04d8ff856c 100644
--- a/source4/lib/ldb/pyldb.h
+++ b/lib/ldb/pyldb.h
diff --git a/source4/lib/ldb/pyldb_util.c b/lib/ldb/pyldb_util.c
index 79077416be..79077416be 100644
--- a/source4/lib/ldb/pyldb_util.c
+++ b/lib/ldb/pyldb_util.c
diff --git a/source4/lib/ldb/tests/init.ldif b/lib/ldb/tests/init.ldif
index 97b4561e37..97b4561e37 100644
--- a/source4/lib/ldb/tests/init.ldif
+++ b/lib/ldb/tests/init.ldif
diff --git a/source4/lib/ldb/tests/init_slapd.sh b/lib/ldb/tests/init_slapd.sh
index cf06acd08b..cf06acd08b 100755
--- a/source4/lib/ldb/tests/init_slapd.sh
+++ b/lib/ldb/tests/init_slapd.sh
diff --git a/source4/lib/ldb/tests/kill_slapd.sh b/lib/ldb/tests/kill_slapd.sh
index 91beb10814..91beb10814 100755
--- a/source4/lib/ldb/tests/kill_slapd.sh
+++ b/lib/ldb/tests/kill_slapd.sh
diff --git a/source4/lib/ldb/tests/ldapi_url.sh b/lib/ldb/tests/ldapi_url.sh
index fef6c35f2b..fef6c35f2b 100755
--- a/source4/lib/ldb/tests/ldapi_url.sh
+++ b/lib/ldb/tests/ldapi_url.sh
diff --git a/source4/lib/ldb/tests/photo.ldif b/lib/ldb/tests/photo.ldif
index 95ab065672..95ab065672 100644
--- a/source4/lib/ldb/tests/photo.ldif
+++ b/lib/ldb/tests/photo.ldif
diff --git a/source4/lib/ldb/tests/python/api.py b/lib/ldb/tests/python/api.py
index e7658d51ab..e7658d51ab 100755
--- a/source4/lib/ldb/tests/python/api.py
+++ b/lib/ldb/tests/python/api.py
diff --git a/source4/lib/ldb/tests/samba4.png b/lib/ldb/tests/samba4.png
index c8096889a6..c8096889a6 100644
--- a/source4/lib/ldb/tests/samba4.png
+++ b/lib/ldb/tests/samba4.png
Binary files differ
diff --git a/source4/lib/ldb/tests/sample_module.c b/lib/ldb/tests/sample_module.c
index bee40a5e80..bee40a5e80 100644
--- a/source4/lib/ldb/tests/sample_module.c
+++ b/lib/ldb/tests/sample_module.c
diff --git a/source4/lib/ldb/tests/schema-tests/schema-add-test.ldif b/lib/ldb/tests/schema-tests/schema-add-test.ldif
index 472ab48fac..472ab48fac 100644
--- a/source4/lib/ldb/tests/schema-tests/schema-add-test.ldif
+++ b/lib/ldb/tests/schema-tests/schema-add-test.ldif
diff --git a/source4/lib/ldb/tests/schema-tests/schema-mod-test-1.ldif b/lib/ldb/tests/schema-tests/schema-mod-test-1.ldif
index b976724485..b976724485 100644
--- a/source4/lib/ldb/tests/schema-tests/schema-mod-test-1.ldif
+++ b/lib/ldb/tests/schema-tests/schema-mod-test-1.ldif
diff --git a/source4/lib/ldb/tests/schema-tests/schema-mod-test-2.ldif b/lib/ldb/tests/schema-tests/schema-mod-test-2.ldif
index fa193af683..fa193af683 100644
--- a/source4/lib/ldb/tests/schema-tests/schema-mod-test-2.ldif
+++ b/lib/ldb/tests/schema-tests/schema-mod-test-2.ldif
diff --git a/source4/lib/ldb/tests/schema-tests/schema-mod-test-3.ldif b/lib/ldb/tests/schema-tests/schema-mod-test-3.ldif
index 8ab7798f9c..8ab7798f9c 100644
--- a/source4/lib/ldb/tests/schema-tests/schema-mod-test-3.ldif
+++ b/lib/ldb/tests/schema-tests/schema-mod-test-3.ldif
diff --git a/source4/lib/ldb/tests/schema-tests/schema-mod-test-4.ldif b/lib/ldb/tests/schema-tests/schema-mod-test-4.ldif
index cbf0e60bbe..cbf0e60bbe 100644
--- a/source4/lib/ldb/tests/schema-tests/schema-mod-test-4.ldif
+++ b/lib/ldb/tests/schema-tests/schema-mod-test-4.ldif
diff --git a/source4/lib/ldb/tests/schema-tests/schema-mod-test-5.ldif b/lib/ldb/tests/schema-tests/schema-mod-test-5.ldif
index bc64e9edb6..bc64e9edb6 100644
--- a/source4/lib/ldb/tests/schema-tests/schema-mod-test-5.ldif
+++ b/lib/ldb/tests/schema-tests/schema-mod-test-5.ldif
diff --git a/source4/lib/ldb/tests/schema-tests/schema.ldif b/lib/ldb/tests/schema-tests/schema.ldif
index 4ab1932839..4ab1932839 100644
--- a/source4/lib/ldb/tests/schema-tests/schema.ldif
+++ b/lib/ldb/tests/schema-tests/schema.ldif
diff --git a/source4/lib/ldb/tests/slapd.conf b/lib/ldb/tests/slapd.conf
index fa2789d8c1..fa2789d8c1 100644
--- a/source4/lib/ldb/tests/slapd.conf
+++ b/lib/ldb/tests/slapd.conf
diff --git a/source4/lib/ldb/tests/start_slapd.sh b/lib/ldb/tests/start_slapd.sh
index 11679d47a3..11679d47a3 100755
--- a/source4/lib/ldb/tests/start_slapd.sh
+++ b/lib/ldb/tests/start_slapd.sh
diff --git a/source4/lib/ldb/tests/test-attribs.ldif b/lib/ldb/tests/test-attribs.ldif
index 79508c4b7b..79508c4b7b 100644
--- a/source4/lib/ldb/tests/test-attribs.ldif
+++ b/lib/ldb/tests/test-attribs.ldif
diff --git a/source4/lib/ldb/tests/test-config.ldif b/lib/ldb/tests/test-config.ldif
index 7926a9e3c5..7926a9e3c5 100644
--- a/source4/lib/ldb/tests/test-config.ldif
+++ b/lib/ldb/tests/test-config.ldif
diff --git a/source4/lib/ldb/tests/test-controls.sh b/lib/ldb/tests/test-controls.sh
index 771085ec60..771085ec60 100755
--- a/source4/lib/ldb/tests/test-controls.sh
+++ b/lib/ldb/tests/test-controls.sh
diff --git a/source4/lib/ldb/tests/test-default-config.ldif b/lib/ldb/tests/test-default-config.ldif
index 87b7bcd3cc..87b7bcd3cc 100644
--- a/source4/lib/ldb/tests/test-default-config.ldif
+++ b/lib/ldb/tests/test-default-config.ldif
diff --git a/source4/lib/ldb/tests/test-extended.sh b/lib/ldb/tests/test-extended.sh
index 14b988e3f9..14b988e3f9 100755
--- a/source4/lib/ldb/tests/test-extended.sh
+++ b/lib/ldb/tests/test-extended.sh
diff --git a/source4/lib/ldb/tests/test-generic.sh b/lib/ldb/tests/test-generic.sh
index ae9ff7344a..ae9ff7344a 100755
--- a/source4/lib/ldb/tests/test-generic.sh
+++ b/lib/ldb/tests/test-generic.sh
diff --git a/source4/lib/ldb/tests/test-index.ldif b/lib/ldb/tests/test-index.ldif
index 268173641d..268173641d 100644
--- a/source4/lib/ldb/tests/test-index.ldif
+++ b/lib/ldb/tests/test-index.ldif
diff --git a/source4/lib/ldb/tests/test-ldap.sh b/lib/ldb/tests/test-ldap.sh
index 14cfb5f979..14cfb5f979 100755
--- a/source4/lib/ldb/tests/test-ldap.sh
+++ b/lib/ldb/tests/test-ldap.sh
diff --git a/source4/lib/ldb/tests/test-modify-modrdn.ldif b/lib/ldb/tests/test-modify-modrdn.ldif
index efa3149462..efa3149462 100644
--- a/source4/lib/ldb/tests/test-modify-modrdn.ldif
+++ b/lib/ldb/tests/test-modify-modrdn.ldif
diff --git a/source4/lib/ldb/tests/test-modify.ldif b/lib/ldb/tests/test-modify.ldif
index e5b9ca4086..e5b9ca4086 100644
--- a/source4/lib/ldb/tests/test-modify.ldif
+++ b/lib/ldb/tests/test-modify.ldif
diff --git a/source4/lib/ldb/tests/test-schema.sh b/lib/ldb/tests/test-schema.sh
index 97841844db..97841844db 100755
--- a/source4/lib/ldb/tests/test-schema.sh
+++ b/lib/ldb/tests/test-schema.sh
diff --git a/source4/lib/ldb/tests/test-soloading.sh b/lib/ldb/tests/test-soloading.sh
index da6d57541e..da6d57541e 100755
--- a/source4/lib/ldb/tests/test-soloading.sh
+++ b/lib/ldb/tests/test-soloading.sh
diff --git a/source4/lib/ldb/tests/test-sqlite3.sh b/lib/ldb/tests/test-sqlite3.sh
index 0cef318d98..0cef318d98 100755
--- a/source4/lib/ldb/tests/test-sqlite3.sh
+++ b/lib/ldb/tests/test-sqlite3.sh
diff --git a/source4/lib/ldb/tests/test-tdb-features.sh b/lib/ldb/tests/test-tdb-features.sh
index d4248366ca..d4248366ca 100644
--- a/source4/lib/ldb/tests/test-tdb-features.sh
+++ b/lib/ldb/tests/test-tdb-features.sh
diff --git a/source4/lib/ldb/tests/test-tdb.sh b/lib/ldb/tests/test-tdb.sh
index 9da1e57060..9da1e57060 100755
--- a/source4/lib/ldb/tests/test-tdb.sh
+++ b/lib/ldb/tests/test-tdb.sh
diff --git a/source4/lib/ldb/tests/test-wildcard.ldif b/lib/ldb/tests/test-wildcard.ldif
index 222512eeab..222512eeab 100644
--- a/source4/lib/ldb/tests/test-wildcard.ldif
+++ b/lib/ldb/tests/test-wildcard.ldif
diff --git a/source4/lib/ldb/tests/test-wrong_attributes.ldif b/lib/ldb/tests/test-wrong_attributes.ldif
index 27f45f0e56..27f45f0e56 100644
--- a/source4/lib/ldb/tests/test-wrong_attributes.ldif
+++ b/lib/ldb/tests/test-wrong_attributes.ldif
diff --git a/source4/lib/ldb/tests/test.ldif b/lib/ldb/tests/test.ldif
index fd37f0037e..fd37f0037e 100644
--- a/source4/lib/ldb/tests/test.ldif
+++ b/lib/ldb/tests/test.ldif
diff --git a/source4/lib/ldb/tests/testdata.txt b/lib/ldb/tests/testdata.txt
index dadb9f0f98..dadb9f0f98 100644
--- a/source4/lib/ldb/tests/testdata.txt
+++ b/lib/ldb/tests/testdata.txt
diff --git a/source4/lib/ldb/tests/testsearch.txt b/lib/ldb/tests/testsearch.txt
index c5738639b7..c5738639b7 100644
--- a/source4/lib/ldb/tests/testsearch.txt
+++ b/lib/ldb/tests/testsearch.txt
diff --git a/source4/lib/ldb/tools/cmdline.c b/lib/ldb/tools/cmdline.c
index a06445fc0f..a06445fc0f 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/lib/ldb/tools/cmdline.c
diff --git a/source4/lib/ldb/tools/cmdline.h b/lib/ldb/tools/cmdline.h
index 416bf51d22..416bf51d22 100644
--- a/source4/lib/ldb/tools/cmdline.h
+++ b/lib/ldb/tools/cmdline.h
diff --git a/source4/lib/ldb/tools/ldbadd.c b/lib/ldb/tools/ldbadd.c
index 47fd261841..47fd261841 100644
--- a/source4/lib/ldb/tools/ldbadd.c
+++ b/lib/ldb/tools/ldbadd.c
diff --git a/source4/lib/ldb/tools/ldbdel.c b/lib/ldb/tools/ldbdel.c
index 8036d09a70..8036d09a70 100644
--- a/source4/lib/ldb/tools/ldbdel.c
+++ b/lib/ldb/tools/ldbdel.c
diff --git a/source4/lib/ldb/tools/ldbedit.c b/lib/ldb/tools/ldbedit.c
index aaf6d80352..aaf6d80352 100644
--- a/source4/lib/ldb/tools/ldbedit.c
+++ b/lib/ldb/tools/ldbedit.c
diff --git a/source4/lib/ldb/tools/ldbmodify.c b/lib/ldb/tools/ldbmodify.c
index 2ca7b62b2c..2ca7b62b2c 100644
--- a/source4/lib/ldb/tools/ldbmodify.c
+++ b/lib/ldb/tools/ldbmodify.c
diff --git a/source4/lib/ldb/tools/ldbrename.c b/lib/ldb/tools/ldbrename.c
index 9bbd1f06b1..9bbd1f06b1 100644
--- a/source4/lib/ldb/tools/ldbrename.c
+++ b/lib/ldb/tools/ldbrename.c
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/lib/ldb/tools/ldbsearch.c
index d10b9650da..d10b9650da 100644
--- a/source4/lib/ldb/tools/ldbsearch.c
+++ b/lib/ldb/tools/ldbsearch.c
diff --git a/source4/lib/ldb/tools/ldbtest.c b/lib/ldb/tools/ldbtest.c
index 4e181af9d5..4e181af9d5 100644
--- a/source4/lib/ldb/tools/ldbtest.c
+++ b/lib/ldb/tools/ldbtest.c
diff --git a/source4/lib/ldb/tools/ldbutil.c b/lib/ldb/tools/ldbutil.c
index 26f252704c..26f252704c 100644
--- a/source4/lib/ldb/tools/ldbutil.c
+++ b/lib/ldb/tools/ldbutil.c
diff --git a/source4/lib/ldb/tools/ldbutil.h b/lib/ldb/tools/ldbutil.h
index f8d3f3a210..f8d3f3a210 100644
--- a/source4/lib/ldb/tools/ldbutil.h
+++ b/lib/ldb/tools/ldbutil.h
diff --git a/source4/lib/ldb/web/index.html b/lib/ldb/web/index.html
index 7f50cdc63a..7f50cdc63a 100644
--- a/source4/lib/ldb/web/index.html
+++ b/lib/ldb/web/index.html
diff --git a/source4/lib/ldb/wscript b/lib/ldb/wscript
index 7de95494c7..f184554665 100755
--- a/source4/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -15,7 +15,7 @@ sys.path.insert(0, srcdir + '/buildtools/wafsamba')
import wafsamba, samba_dist, Options
-samba_dist.DIST_DIRS('''source4/lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc
+samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc
lib/tdb:lib/tdb lib/tdb2:lib/tdb2 lib/tdb_compat:lib/tdb_compat lib/ccan:lib/ccan lib/tevent:lib/tevent lib/popt:lib/popt
buildtools:buildtools''')
diff --git a/script/autobuild.py b/script/autobuild.py
index 545e47ed48..3a8c0f81f0 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -18,7 +18,7 @@ builddirs = {
"samba3" : "source3",
"samba3-waf": "source3",
"samba4" : ".",
- "ldb" : "source4/lib/ldb",
+ "ldb" : "lib/ldb",
"tdb" : "lib/tdb",
"talloc" : "lib/talloc",
"replace" : "lib/replace",
@@ -59,7 +59,7 @@ tasks = {
("make", "make -j", "text/plain"),
("install", "make install", "text/plain"),
("test", "TDB_NO_FSYNC=1 make test", "text/plain"),
- ("check-clean-tree", "../../../script/clean-source-tree.sh", "text/plain"),
+ ("check-clean-tree", "../../script/clean-source-tree.sh", "text/plain"),
("distcheck", "make distcheck", "text/plain"),
("clean", "make clean", "text/plain") ],
diff --git a/script/land.py b/script/land.py
index f8ae7b4493..72bdd4b840 100755
--- a/script/land.py
+++ b/script/land.py
@@ -41,7 +41,7 @@ tasks = {
("install", "make install", "text/plain"),
("test", "TDB_NO_FSYNC=1 make subunit-test", "text/x-subunit") ],
- "source4/lib/ldb" : [ ("configure", "./configure --enable-developer -C ${PREFIX}", "text/plain"),
+ "lib/ldb" : [ ("configure", "./configure --enable-developer -C ${PREFIX}", "text/plain"),
("make", "make -j", "text/plain"),
("install", "make install", "text/plain"),
("test", "make test", "text/plain") ],
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 1ffc8cd74a..518c28452b 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -93,7 +93,7 @@ for options in ['-U"$USERNAME%$PASSWORD"']:
for t in smb4torture_testsuites("ldap."):
plansmbtorturetestsuite(t, "dc", '-U"$USERNAME%$PASSWORD" //$SERVER_IP/_none_')
-ldbdir = os.path.join(samba4srcdir, "lib/ldb")
+ldbdir = os.path.join(srcdir(), "lib/ldb")
# Don't run LDB tests when using system ldb, as we won't have ldbtest installed
if os.path.exists(os.path.join(samba4bindir, "ldbtest")):
plantestsuite("ldb.base", "none", "%s/tests/test-tdb.sh" % ldbdir,
@@ -377,7 +377,7 @@ def plansambapythontestsuite(name, env, path, module, environ={}, extra_args=[])
plantestsuite(name, env, args)
-plansambapythontestsuite("ldb.python", "none", "%s/lib/ldb/tests/python/" % samba4srcdir, 'api')
+plansambapythontestsuite("ldb.python", "none", "%s/lib/ldb/tests/python/" % srcdir(), 'api')
planpythontestsuite("none", "samba.tests.credentials")
plantestsuite_idlist("samba.tests.gensec", "dc:local", [subunitrun, "$LISTOPT", '-U"$USERNAME%$PASSWORD"', "samba.tests.gensec"])
planpythontestsuite("none", "samba.tests.registry")
diff --git a/wscript b/wscript
index a4fb470087..32c1c80f73 100755
--- a/wscript
+++ b/wscript
@@ -23,7 +23,7 @@ def set_options(opt):
opt.PRIVATE_EXTENSION_DEFAULT('samba4')
opt.RECURSE('lib/replace')
opt.RECURSE('dynconfig')
- opt.RECURSE('source4/lib/ldb')
+ opt.RECURSE('lib/ldb')
opt.RECURSE('selftest')
opt.RECURSE('source4/lib/tls')
opt.RECURSE('lib/nss_wrapper')
@@ -80,7 +80,7 @@ def configure(conf):
raise Utils.WafError('Python version 3.x is not supported by Samba yet')
conf.RECURSE('dynconfig')
- conf.RECURSE('source4/lib/ldb')
+ conf.RECURSE('lib/ldb')
conf.RECURSE('source4/heimdal_build')
conf.RECURSE('source4/lib/tls')
conf.RECURSE('source4/ntvfs/sysdep')
diff --git a/wscript_build b/wscript_build
index aa37c4bbc7..a7718385ff 100644
--- a/wscript_build
+++ b/wscript_build
@@ -38,7 +38,7 @@ bld.RECURSE('lib/talloc')
bld.RECURSE('lib/tevent')
bld.RECURSE('lib/ccan')
bld.RECURSE('lib/tdb_compat')
-bld.RECURSE('source4/lib/ldb')
+bld.RECURSE('lib/ldb')
bld.RECURSE('dynconfig')
bld.RECURSE('lib/util/charset')
bld.RECURSE('source4/scripting/python')
@@ -57,7 +57,7 @@ bld.RECURSE('nsswitch')
bld.RECURSE('nsswitch/libwbclient')
bld.RECURSE('source4/lib/samba3')
bld.RECURSE('source4/lib/socket')
-bld.RECURSE('source4/lib/ldb-samba')
+bld.RECURSE('lib/ldb-samba')
bld.RECURSE('source4/lib/tls')
bld.RECURSE('source4/lib/registry')
bld.RECURSE('source4/lib/messaging')