diff options
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-x | source4/setup/provision | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index 7cd05538b5..90363fcf20 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -92,6 +92,12 @@ if (options["realm"] == undefined || ShowHelp(); } +/* cope with an initially blank smb.conf */ +var lp = loadparm_init(); +lp.set("realm", options.realm); +lp.set("workgroup", options.domain); +lp.reload(); + var subobj = provision_guess(); for (r in options) { var key = strupper(join("", split("-", r))); |