summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-11-27 02:49:37 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:20 +0100
commitc4d7646f294df54d6b5e7a3ac236dfa4e861c501 (patch)
treeb139e1f71c9f55f2c0f505d2885614e00a72939f /source4/scripting/libjs
parent93e3a4720622253397d0965ef80ea803576ae110 (diff)
downloadsamba-c4d7646f294df54d6b5e7a3ac236dfa4e861c501.tar.gz
samba-c4d7646f294df54d6b5e7a3ac236dfa4e861c501.tar.bz2
samba-c4d7646f294df54d6b5e7a3ac236dfa4e861c501.zip
r26139: Based on a report by Theodor Chirana, don't assert() on invalid
netbios names at this point, the calling order has changed, and we have a more informative place to do it. Andrew Bartlett (This used to be commit 3136dccd542a72ecda0c73a91674383736571bb5)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index ecd21975ae..f78d994237 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -464,9 +464,7 @@ function provision_fix_subobj(subobj, paths)
subobj.REALM = strupper(subobj.REALM);
subobj.HOSTNAME = strlower(subobj.HOSTNAME);
subobj.DOMAIN = strupper(subobj.DOMAIN);
- assert(valid_netbios_name(subobj.DOMAIN));
subobj.NETBIOSNAME = strupper(subobj.HOSTNAME);
- assert(valid_netbios_name(subobj.NETBIOSNAME));
subobj.DNSDOMAIN = strlower(subobj.REALM);
subobj.DNSNAME = sprintf("%s.%s",
strlower(subobj.HOSTNAME),