From 79f9a2240e310d8e1fecec67084f25be694ff3b8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 16 Dec 2011 19:03:54 +0100 Subject: [PATCH] s4-provision: Fix tdbdump path lookup in make test. Signed-off-by: Stefan Metzmacher --- source4/scripting/python/samba/provision/sambadns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py index 9d8530728b6..5fa022bea15 100644 --- a/source4/scripting/python/samba/provision/sambadns.py +++ b/source4/scripting/python/samba/provision/sambadns.py @@ -669,7 +669,7 @@ def tdb_copy(logger, file1, file2): """Copy tdb file using tdbbackup utility and rename it """ # Find the location of tdbbackup tool - dirs = ["bin", samba.param.bin_dir()] + dirs = ["bin", samba.param.bin_dir()] + os.getenv('PATH').split(os.pathsep) for d in dirs: toolpath = os.path.join(d, "tdbbackup") if os.path.exists(toolpath):