From 9aed0993624ecd42ad68b3b080668fa07a9bc1b9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Jan 2010 12:45:49 +1100 Subject: s4-samba3samtest: force workgroup so the domain is right the samba3sid backend looks at lp_sam_name() which is based on the workgroup --- source4/dsdb/samdb/ldb_modules/tests/samba3sam.py | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') diff --git a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py index 8d4047b0b8..78b7eca077 100644 --- a/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py +++ b/source4/dsdb/samdb/ldb_modules/tests/samba3sam.py @@ -61,6 +61,7 @@ class MapBaseTestCase(TestCaseInTempDir): def setUp(self): cmdline_loadparm.set("sid generator", "backend") + cmdline_loadparm.set("workgroup", "TESTS") super(MapBaseTestCase, self).setUp() def make_dn(basedn, rdn): -- cgit