Author: abartlet Date: 2007-06-01 03:47:35 +0000 (Fri, 01 Jun 2007) New Revision: 23286
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23286 Log: 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 Modified: branches/SAMBA_4_0/webapps/install/provision.esp Changeset: Modified: branches/SAMBA_4_0/webapps/install/provision.esp =================================================================== --- branches/SAMBA_4_0/webapps/install/provision.esp 2007-06-01 00:04:13 UTC (rev 23285) +++ branches/SAMBA_4_0/webapps/install/provision.esp 2007-06-01 03:47:35 UTC (rev 23286) @@ -47,7 +47,10 @@ } 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) {