summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-08 12:45:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:03:07 +1100
commit9aed0993624ecd42ad68b3b080668fa07a9bc1b9 (patch)
tree267fc5b27ba1f2e8cbaeab30af901b3db36b6242 /source4/dsdb
parentf68c43e80338921be8145f8b3a3b391a941715a2 (diff)
downloadsamba-9aed0993624ecd42ad68b3b080668fa07a9bc1b9.tar.gz
samba-9aed0993624ecd42ad68b3b080668fa07a9bc1b9.tar.bz2
samba-9aed0993624ecd42ad68b3b080668fa07a9bc1b9.zip
s4-samba3samtest: force workgroup so the domain is right
the samba3sid backend looks at lp_sam_name() which is based on the workgroup
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/tests/samba3sam.py1
1 files changed, 1 insertions, 0 deletions
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):