diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-17 12:07:51 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:51:09 +0100 |
commit | f89c7a6e5eb082794d64b487e69fc442d138ca28 (patch) | |
tree | 3e53b034b4a3424d3c56c07797f33c478004fe75 /source4/setup | |
parent | c2604542295d5665172019da829544202ff034d6 (diff) | |
download | samba-f89c7a6e5eb082794d64b487e69fc442d138ca28.tar.gz samba-f89c7a6e5eb082794d64b487e69fc442d138ca28.tar.bz2 samba-f89c7a6e5eb082794d64b487e69fc442d138ca28.zip |
r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
(This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033)
Diffstat (limited to 'source4/setup')
-rwxr-xr-x | source4/setup/provision.py | 6 |
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 |