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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user