summaryrefslogtreecommitdiff
path: root/webapps/install/provision.esp
diff options
context:
space:
mode:
Diffstat (limited to 'webapps/install/provision.esp')
-rw-r--r--webapps/install/provision.esp3
1 files changed, 3 insertions, 0 deletions
diff --git a/webapps/install/provision.esp b/webapps/install/provision.esp
index 12db022a3e..e4597af1c1 100644
--- a/webapps/install/provision.esp
+++ b/webapps/install/provision.esp
@@ -47,7 +47,10 @@ for (i=0;i<f.element.length;i++) {
}
if (form['submit'] == "Provision") {
+ /* overcome an initially blank smb.conf */
lp.set("realm", subobj.REALM);
+ lp.set("workgroup", subobj.DOMAIN);
+ lp.reload()
var goodpass = (subobj.CONFIRM == subobj.ADMINPASS);
if (!goodpass) {