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:
commit
b6c61bee64
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user