svn commit: samba r12695 - in
branches/SAMBA_4_0/source/scripting/libjs: .
jelmer at samba.org
jelmer at samba.org
Tue Jan 3 17:22:20 GMT 2006
Author: jelmer
Date: 2006-01-03 17:22:19 +0000 (Tue, 03 Jan 2006)
New Revision: 12695
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12695
Log:
A dot is allowed in NetBIOS names.
Modified:
branches/SAMBA_4_0/source/scripting/libjs/provision.js
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/provision.js 2006-01-03 15:40:05 UTC (rev 12694)
+++ branches/SAMBA_4_0/source/scripting/libjs/provision.js 2006-01-03 17:22:19 UTC (rev 12695)
@@ -481,11 +481,11 @@
}
// 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;
}
More information about the samba-cvs
mailing list