1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

(This used to be commit ddf9d6ef70f0a6b7da420f772b34962fb25d761a)
This commit is contained in:
Andrew Bartlett 2008-03-28 11:10:19 +11:00
commit 3d9589ba5a
2 changed files with 2 additions and 2 deletions

View 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;
}

View 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