From 00f1c64913fed4ad162b99bbe87557820eb4de97 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 31 Aug 2007 23:13:18 +0200 Subject: r24858: Make the 'vampire' code work again - clearly nobody uses this... Andrew Bartlett (This used to be commit 6961ab9291d719fa556d116b60d186cf1110c249) --- webapps/install/vampire.esp | 4 ++++ 1 file changed, 4 insertions(+) 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("

We need the administrator password for the " + subobj.DOMAIN + " domain to proceed. Please try again.

"); f.display(); -- cgit