1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-25 00:59:11 +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 used to be commit b1829da8f7)
This commit is contained in:
Andrew Bartlett
2008-03-28 10:38:12 +11:00
parent de80e63efa
commit 4ddce8c28c

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