summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/tests/samdb.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-02-26 22:23:27 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-02-26 23:19:07 +0100
commit852418133ee5a8fc629bf8d3e01458eac6a0342d (patch)
tree1905eafca2b07048aa0fc7b8d2368a666f275e4c /source4/scripting/python/samba/tests/samdb.py
parent3bfccdfbc89acf9a88043698ded045042bf4c577 (diff)
downloadsamba-852418133ee5a8fc629bf8d3e01458eac6a0342d.tar.gz
samba-852418133ee5a8fc629bf8d3e01458eac6a0342d.tar.xz
samba-852418133ee5a8fc629bf8d3e01458eac6a0342d.zip
provision: Simplify make_smbconf a bit.
Diffstat (limited to 'source4/scripting/python/samba/tests/samdb.py')
-rw-r--r--source4/scripting/python/samba/tests/samdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py
index 3df72b0840b..a60062d6b66 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -53,7 +53,7 @@ class SamDBTestCase(TestCaseInTempDir):
domainsid = security.random_sid()
path = os.path.join(self.tempdir, "samdb.ldb")
session_info = system_session()
-
+
hostname="foo"
domain="EXAMPLE"
dnsdomain="example.com"
@@ -62,7 +62,7 @@ class SamDBTestCase(TestCaseInTempDir):
smbconf = os.path.join(self.tempdir, "smb.conf")
make_smbconf(smbconf, hostname, domain, dnsdomain,
- serverrole, self.tempdir)
+ self.tempdir, serverrole=serverrole)
self.lp = param.LoadParm()
self.lp.load(smbconf)