diff options
Diffstat (limited to 'swat/install')
-rw-r--r-- | swat/install/index.esp | 4 | ||||
-rw-r--r-- | swat/install/provision.esp | 4 | ||||
-rw-r--r-- | swat/install/samba3.esp | 4 | ||||
-rw-r--r-- | swat/install/vampire.esp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/swat/install/index.esp b/swat/install/index.esp index 73b7ea24d5..4ba581c1fd 100644 --- a/swat/install/index.esp +++ b/swat/install/index.esp @@ -1,7 +1,7 @@ <% page_header("columns", "Server Installation", "install"); -if (session.authinfo.user_class == "ADMINISTRATOR" - || session.authinfo.user_class == "SYSTEM") { +if ((session.authinfo.user_class == "ADMINISTRATOR") + || (session.authinfo.user_class == "SYSTEM")) { %> diff --git a/swat/install/provision.esp b/swat/install/provision.esp index 6183722cb4..0b0a83fba6 100644 --- a/swat/install/provision.esp +++ b/swat/install/provision.esp @@ -12,8 +12,8 @@ var f = FormObj("Provisioning", 0, 2); var i; var lp = loadparm_init(); -if (session.authinfo.user_class == "ADMINISTRATOR" - || session.authinfo.user_class == "SYSTEM") { +if ((session.authinfo.user_class == "ADMINISTRATOR") + || (session.authinfo.user_class == "SYSTEM")) { if (lp.get("realm") == "") { lp.set("realm", lp.get("workgroup") + ".example.com"); diff --git a/swat/install/samba3.esp b/swat/install/samba3.esp index c6fc9f1418..4de942f972 100644 --- a/swat/install/samba3.esp +++ b/swat/install/samba3.esp @@ -15,8 +15,8 @@ <h1>Import from Samba3</h1> <% -if (session.authinfo.user_class == "ADMINISTRATOR" - || session.authinfo.user_class == "SYSTEM") { +if ((session.authinfo.user_class == "ADMINISTRATOR") + || (session.authinfo.user_class == "SYSTEM")) { if (form['submit'] == "Cancel") { redirect("/"); diff --git a/swat/install/vampire.esp b/swat/install/vampire.esp index d5b7a73c53..93971c1216 100644 --- a/swat/install/vampire.esp +++ b/swat/install/vampire.esp @@ -14,8 +14,8 @@ var f = FormObj("Provisioning", 0, 2); var i; var lp = loadparm_init(); -if (session.authinfo.user_class == "ADMINISTRATOR" - || session.authinfo.user_class == "SYSTEM") { +if ((session.authinfo.user_class == "ADMINISTRATOR") + || (session.authinfo.user_class == "SYSTEM")) { if (lp.get("realm") == "") { lp.set("realm", lp.get("workgroup") + ".example.com"); |