summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs/provision.js
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-20 10:18:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:04 -0500
commit8103ef397409dc4b780ea9bcd98da090a3b01d1e (patch)
tree5d91b80f55a850d90a283e95902a0e8e92ecc6ef /source4/scripting/libjs/provision.js
parent532b16f3d5b55c91f10ef747b13861be1a969dce (diff)
downloadsamba-8103ef397409dc4b780ea9bcd98da090a3b01d1e.tar.gz
samba-8103ef397409dc4b780ea9bcd98da090a3b01d1e.tar.bz2
samba-8103ef397409dc4b780ea9bcd98da090a3b01d1e.zip
r11217: Ensure the realm is substituted in UPPER case.
Andrew Bartlett (This used to be commit 0c29f0e30d64be09baad792eb2850aa0b8fa9981)
Diffstat (limited to 'source4/scripting/libjs/provision.js')
-rw-r--r--source4/scripting/libjs/provision.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 56f8251015..3090626d04 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -252,7 +252,7 @@ function provision(subobj, message, blank, paths)
/*
some options need to be upper/lower case
*/
- subobj.REALM = strlower(subobj.REALM);
+ subobj.REALM = strupper(subobj.REALM);
subobj.HOSTNAME = strlower(subobj.HOSTNAME);
subobj.DOMAIN = strupper(subobj.DOMAIN);
assert(valid_netbios_name(subobj.DOMAIN));
@@ -309,7 +309,7 @@ function provision_guess()
var rdn_list;
random_init(local);
- subobj.REALM = lp.get("realm");
+ subobj.REALM = strupper(lp.get("realm"));
subobj.DOMAIN = lp.get("workgroup");
subobj.HOSTNAME = hostname();