summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-03 17:22:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:39 -0500
commit92461359f79803d97f942912d347c692fa596dc4 (patch)
treef8df70e248f203787ab2b194131b1885dde475a5
parent78c50015bb8bd5a1d831a6e7ec796b3367c73145 (diff)
downloadsamba-92461359f79803d97f942912d347c692fa596dc4.tar.gz
samba-92461359f79803d97f942912d347c692fa596dc4.tar.bz2
samba-92461359f79803d97f942912d347c692fa596dc4.zip
r12695: A dot is allowed in NetBIOS names.
(This used to be commit f4ac7d6359b5a6de04a6ea518dec99f4c9b49b3d)
-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;
}