summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f26c69d15e..b5f8527bd0 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -481,11 +481,11 @@ member: %s
}
// Check whether a name is valid as a NetBIOS name.
-// FIXME: There are probably more constraints here
+// FIXME: There are probably more constraints here.
+// crh has a paragraph on this in his book (1.4.1.1)
function valid_netbios_name(name)
{
if (strlen(name) > 13) return false;
- if (strstr(name, ".")) return false;
return true;
}