git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e3a47
)
r26139: Based on a report by Theodor Chirana, don't assert() on invalid
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 27 Nov 2007 01:49:37 +0000
(
02:49
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:46:20 +0000
(
05:46
+0100)
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
)
source4/scripting/libjs/provision.js
patch
|
blob
|
history
diff --git
a/source4/scripting/libjs/provision.js
b/source4/scripting/libjs/provision.js
index ecd21975ae2f8b353b0c4e1275737d6ddc19217d..f78d994237f5a209416b00b718c787e481a3d264 100644
(file)
--- 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),