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