summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-28 01:00:48 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-28 01:00:48 +0100
commitb6c61bee649734f6000fbf3fe3736d8c82155ac9 (patch)
tree39bb5746cb2aa4656f063b193692bf750e8022de /source
parentcd275862c65542ea1118cfb76d7d1b082427098a (diff)
parentee9ad77009ef5e36655a49c41730a4a963ba9d43 (diff)
downloadsamba-b6c61bee649734f6000fbf3fe3736d8c82155ac9.tar.gz
samba-b6c61bee649734f6000fbf3fe3736d8c82155ac9.tar.xz
samba-b6c61bee649734f6000fbf3fe3736d8c82155ac9.zip
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test
Diffstat (limited to 'source')
-rw-r--r--source/scripting/libjs/provision.js2
-rw-r--r--source/scripting/python/samba/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/scripting/libjs/provision.js b/source/scripting/libjs/provision.js
index 3ba93debf98..86baa0c0038 100644
--- a/source/scripting/libjs/provision.js
+++ b/source/scripting/libjs/provision.js
@@ -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;
}
diff --git a/source/scripting/python/samba/__init__.py b/source/scripting/python/samba/__init__.py
index e91b320c073..b9d81c6c3c4 100644
--- a/source/scripting/python/samba/__init__.py
+++ b/source/scripting/python/samba/__init__.py
@@ -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