1
0
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:
Andrew Kroeger
2008-03-27 16:30:18 -05:00
parent e15b35e389
commit b2c6ba69a4
2 changed files with 2 additions and 2 deletions

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