1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00

r24858: Make the 'vampire' code work again - clearly nobody uses this...

Andrew Bartlett
(This used to be commit 6961ab9291)
This commit is contained in:
Andrew Bartlett 2007-08-31 23:13:18 +02:00 committed by Stefan Metzmacher
parent 5f9077c549
commit 00f1c64913

View File

@ -51,7 +51,11 @@ if (session.authinfo.user_class == "ADMINISTRATOR"
}
if (form['submit'] == "Migrate") {
/* overcome an initially blank smb.conf */
lp.set("realm", subobj.REALM);
lp.set("workgroup", subobj.DOMAIN);
lp.reload();
if (subobj.ADMINPASS == "") {
write("<h3>We need the administrator password for the " + subobj.DOMAIN + " domain to proceed. Please try again.</h3>");
f.display();