summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-28 10:38:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-28 10:38:12 +1100
commitb1829da8f75175fcc569a3a9195f2358731055a9 (patch)
tree834830d4e617d19f77d6d3afcc739f6dce50dfbc /source
parent59d8d17093efac3a177a032f2e121ea6f43a96c8 (diff)
downloadsamba-b1829da8f75175fcc569a3a9195f2358731055a9.tar.gz
samba-b1829da8f75175fcc569a3a9195f2358731055a9.tar.xz
samba-b1829da8f75175fcc569a3a9195f2358731055a9.zip
Don't specify what should be a default option in the generated smb.conf
Instead, sub in "", so that the default continued to come from the code. Andrew Bartlett
Diffstat (limited to 'source')
-rw-r--r--source/scripting/python/samba/provision.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/scripting/python/samba/provision.py b/source/scripting/python/samba/provision.py
index e97ce694b4c..d5e66d842c1 100644
--- a/source/scripting/python/samba/provision.py
+++ b/source/scripting/python/samba/provision.py
@@ -374,8 +374,8 @@ def load_or_make_smbconf(smbconf, setup_path, hostname, domain, realm, serverrol
default_lp.set("lock dir", os.path.abspath(targetdir))
else:
- privatedir_line = "private_dir = " + default_lp.get("private dir")
- lockdir_line = "lock dir = " + default_lp.get("lock dir")
+ privatedir_line = ""
+ lockdir_line = ""
sysvol = os.path.join(default_lp.get("lock dir"), "sysvol")
netlogon = os.path.join(sysvol, realm.lower(), "scripts")