1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

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

(This used to be commit 71110c8e7d58f42312938d0a8d0b216cbc313885)
This commit is contained in:
Jelmer Vernooij 2008-03-28 01:00:13 +01:00
commit 237f1cca02
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