From 92461359f79803d97f942912d347c692fa596dc4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 3 Jan 2006 17:22:19 +0000 Subject: r12695: A dot is allowed in NetBIOS names. (This used to be commit f4ac7d6359b5a6de04a6ea518dec99f4c9b49b3d) --- source4/scripting/libjs/provision.js | 4 ++-- 1 file 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; } -- cgit