summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-28 01:00:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-28 01:00:13 +0100
commit237f1cca028881a57f961884f427673907c1535a (patch)
tree1f6c905df14fa306e199cbbda9c1191ce62e0858 /source4/scripting
parent90f76ae99b537c24e8e26fead1d8b857afa0a7a6 (diff)
parentb2c6ba69a453aaa7cbabb7be7b8c2a05b48a76c4 (diff)
downloadsamba-237f1cca028881a57f961884f427673907c1535a.tar.gz
samba-237f1cca028881a57f961884f427673907c1535a.tar.bz2
samba-237f1cca028881a57f961884f427673907c1535a.zip
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-gmake3
(This used to be commit 71110c8e7d58f42312938d0a8d0b216cbc313885)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/libjs/provision.js2
-rw-r--r--source4/scripting/python/samba/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 3ba93debf9..86baa0c003 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/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/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index e91b320c07..b9d81c6c3c 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/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