1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

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)
This commit is contained in:
Andrew Bartlett 2007-06-01 03:47:35 +00:00 committed by Gerald (Jerry) Carter
parent f7d79d3131
commit 6ebe9f2a50

View File

@ -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) {