summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-08-31 23:13:18 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 03:32:21 +0100
commit00f1c64913fed4ad162b99bbe87557820eb4de97 (patch)
treecaac3c09f67e00c29f3b66696186cec946e25d05
parent5f9077c5497ead237063c4d91186dc747e8bdc83 (diff)
downloadsamba-00f1c64913fed4ad162b99bbe87557820eb4de97.tar.gz
samba-00f1c64913fed4ad162b99bbe87557820eb4de97.tar.bz2
samba-00f1c64913fed4ad162b99bbe87557820eb4de97.zip
r24858: Make the 'vampire' code work again - clearly nobody uses this...
Andrew Bartlett (This used to be commit 6961ab9291d719fa556d116b60d186cf1110c249)
-rw-r--r--webapps/install/vampire.esp4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapps/install/vampire.esp b/webapps/install/vampire.esp
index e0c895404c..d5b7a73c53 100644
--- a/webapps/install/vampire.esp
+++ b/webapps/install/vampire.esp
@@ -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();