mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
provision: Increase max NetBIOS name length from 13 to 15.
Issue originally reported by user Julsa-FR on IRC.
(This used to be commit ee9ad77009
)
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user