r12695: A dot is allowed in NetBIOS names.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 3 Jan 2006 17:22:19 +0000 (17:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:49:39 +0000 (13:49 -0500)
(This used to be commit f4ac7d6359b5a6de04a6ea518dec99f4c9b49b3d)

source4/scripting/libjs/provision.js

index f26c69d15e565748ef4f9cc1fa514febf02ca5f7..b5f8527bd018b427b2aaa49ef66f7a3faf79e2d2 100644 (file)
@@ -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;
 }