Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-gmake3
authorJelmer Vernooij <jelmer@samba.org>
Fri, 28 Mar 2008 00:00:13 +0000 (01:00 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 28 Mar 2008 00:00:13 +0000 (01:00 +0100)
(This used to be commit 71110c8e7d58f42312938d0a8d0b216cbc313885)

source4/scripting/libjs/provision.js
source4/scripting/python/samba/__init__.py

index 3ba93debf98100da234e425fbdd84025c5ba80b4..86baa0c003810037393eefb843b84980371037a2 100644 (file)
@@ -1174,7 +1174,7 @@ member: %s
 // 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 (strlen(name) > 15) return false;
        return true;
 }
 
index e91b320c073ad6ec8a05b82b24cf6db5db3d2f80..b9d81c6c3c42cc0b371942b9c0df81485e029fa4 100644 (file)
@@ -225,7 +225,7 @@ def valid_netbios_name(name):
     """Check whether a name is valid as a NetBIOS name. """
     # FIXME: There are probably more constraints here. 
     # crh has a paragraph on this in his book (1.4.1.1)
-    if len(name) > 13:
+    if len(name) > 15:
         return False
     return True