diff options
-rw-r--r-- | source4/scripting/python/samba/provision/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index 48dd8673c7..d00c3ded47 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -645,8 +645,7 @@ def make_smbconf(smbconf, hostname, domain, realm, targetdir, shares = {} if serverrole == "domain controller": - shares["sysvol"] = os.path.join(global_settings["state directory"], - "sysvol") + shares["sysvol"] = os.path.join(lp.get("state directory"), "sysvol") shares["netlogon"] = os.path.join(shares["sysvol"], realm.lower(), "scripts") |