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:
parent
f7d79d3131
commit
6ebe9f2a50
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user