git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb2e14
)
r13098: make check for workgroup and realm case insensitive
author
Andrew Tridgell
<tridge@samba.org>
Tue, 24 Jan 2006 00:16:54 +0000
(
00:16
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:51:24 +0000
(13:51 -0500)
(This used to be commit
0cacd69dd57254cb1b51ad7969993bc24bae86c7
)
source4/scripting/libjs/provision.js
patch
|
blob
|
history
diff --git
a/source4/scripting/libjs/provision.js
b/source4/scripting/libjs/provision.js
index 90bc08234166a2c2c18b47cd537cc9a55f2eacf7..14a81e898d8ffe95b4090b92ab379e0723d9abb3 100644
(file)
--- 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;