The branch, master has been updated
via c31f541 samba3.py: Correctly initialize cache directory for passdb
test
from 81464dae smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c31f54112e21b2e76398a402e864a2b6b6c74e6c
Author: Christof Schmitt <[email protected]>
Date: Thu Jan 15 14:31:19 2015 -0700
samba3.py: Correctly initialize cache directory for passdb test
Running 'make test TESTS=tests.samba3' succeeds, but the log shows that
it tried to open the gencache tdb in the wrong directory:
Unable to create directory /usr/local/samba/var/cache for file
gencache.tdb. Error was No such file or directory
Fix this by correctly initializing the cache directory.
Signed-off-by: Christof Schmitt <[email protected]>
Reviewed-By: Jelmer Vernooij <[email protected]>
Autobuild-User(master): Christof Schmitt <[email protected]>
Autobuild-Date(master): Fri Jan 16 02:36:39 CET 2015 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
python/samba/tests/samba3.py | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/python/samba/tests/samba3.py b/python/samba/tests/samba3.py
index f449c64..126e133 100644
--- a/python/samba/tests/samba3.py
+++ b/python/samba/tests/samba3.py
@@ -72,6 +72,7 @@ class PassdbTestCase(TestCaseInTempDir):
self.lp.set("private dir", datadir)
self.lp.set("state directory", datadir)
self.lp.set("lock directory", datadir)
+ self.lp.set("cache directory", datadir)
passdb.set_secrets_dir(datadir)
self.pdb = passdb.PDB("tdbsam")
--
Samba Shared Repository