diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-01-24 00:16:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:24 -0500 |
commit | 29478d3c23d21067784f85b3c128de62837d186a (patch) | |
tree | d0e86c7246cf5b8007990f73a4ab066e87192f59 /source4/scripting | |
parent | 0fb2e148d1e65ed5e55adb5b733d08ffded180e4 (diff) | |
download | samba-29478d3c23d21067784f85b3c128de62837d186a.tar.gz samba-29478d3c23d21067784f85b3c128de62837d186a.tar.bz2 samba-29478d3c23d21067784f85b3c128de62837d186a.zip |
r13098: make check for workgroup and realm case insensitive
(This used to be commit 0cacd69dd57254cb1b51ad7969993bc24bae86c7)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/libjs/provision.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 90bc082341..14a81e898d 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -608,13 +608,13 @@ function provision_validate(subobj, message) } - if (lp.get("workgroup") != subobj.DOMAIN) { + if (strupper(lp.get("workgroup")) != strupper(subobj.DOMAIN)) { message("workgroup '%s' in smb.conf must match chosen domain '%s'\n", lp.get("workgroup"), subobj.DOMAIN); return false; } - if (lp.get("realm") != subobj.REALM) { + if (strupper(lp.get("realm")) != strupper(subobj.REALM)) { message("realm '%s' in smb.conf must match chosen realm '%s'\n", lp.get("realm"), subobj.REALM); return false; |