1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00

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
This commit is contained in:
Andrew Bartlett
2008-03-28 10:38:12 +11:00
parent 59d8d17093
commit b1829da8f7

View File

@@ -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")