summaryrefslogtreecommitdiff
path: root/source4/setup/provision.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/provision.py')
-rwxr-xr-xsource4/setup/provision.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/setup/provision.py b/source4/setup/provision.py
index a65eff1cf8..c9ee2a9217 100755
--- a/source4/setup/provision.py
+++ b/source4/setup/provision.py
@@ -116,9 +116,9 @@ if opts.realm is None or opts.domain is None or opts.host_name is None:
# cope with an initially blank smb.conf
lp = param.ParamFile()
lp.read(opts.configfile)
-lp.set("realm", opts.realm);
-lp.set("workgroup", opts.domain);
-lp.set("server role", opts.server_role);
+lp.set_string("realm", opts.realm);
+lp.set_string("workgroup", opts.domain);
+lp.set_string("server role", opts.server_role);
subobj = provision_guess(lp)
subobj.domain_guid = opts.domain_guid