1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test

This commit is contained in:
Jelmer Vernooij 2008-03-28 01:00:48 +01:00
commit b6c61bee64
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) // crh has a paragraph on this in his book (1.4.1.1)
function valid_netbios_name(name) function valid_netbios_name(name)
{ {
if (strlen(name) > 13) return false; if (strlen(name) > 15) return false;
return true; return true;
} }

View File

@ -225,7 +225,7 @@ def valid_netbios_name(name):
"""Check whether a name is valid as a NetBIOS name. """ """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) # crh has a paragraph on this in his book (1.4.1.1)
if len(name) > 13: if len(name) > 15:
return False return False
return True return True