From f89c7a6e5eb082794d64b487e69fc442d138ca28 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 17 Dec 2007 12:07:51 +0100 Subject: r26505: Add python bindings for some samdb-related functions, improve provisioning in python. (This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033) --- source4/setup/provision.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/setup') 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 -- cgit