summaryrefslogtreecommitdiff
path: root/webapps/install
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-06-01 03:47:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:08 -0500
commit6ebe9f2a50ce2c3b408f93e886da26272b043c6c (patch)
tree77738d6c3b56f06278cc02316782567b37f151d9 /webapps/install
parentf7d79d31319e87d7a81f431a3cb39a90856b2c55 (diff)
downloadsamba-6ebe9f2a50ce2c3b408f93e886da26272b043c6c.tar.gz
samba-6ebe9f2a50ce2c3b408f93e886da26272b043c6c.tar.bz2
samba-6ebe9f2a50ce2c3b408f93e886da26272b043c6c.zip
r23286: In SWAT, it was not possible to use a domain name other than the default.
Fix this in the same way the setup/provision script does. Andrew Bartlett (This used to be commit bed522df4bd976851ad983e8af3946c7bb7bcd4f)
Diffstat (limited to 'webapps/install')
-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) {