[PATCH] Improve netbios name handling
Andreas Schneider
asn at samba.org
Fri Feb 20 05:27:21 MST 2015
On Thursday 19 February 2015 11:59:25 Jeremy Allison wrote:
> On Fri, Jan 30, 2015 at 05:29:38PM +0100, Andreas Schneider wrote:
> > + nbt_len = strlen(node_name);
> > + if (nbt_len > MAX_NETBIOSNAME_LEN - 1) {
> > + printf("The specified netbios name is to long.\n");
>
> Should be 'is too long', not 'to long'.
>
> Also print out the name in this printf.
The issues are resolved in the attached patchset.
Thanks,
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netbios_name.patch
Type: text/x-patch
Size: 5583 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150220/794f7c2c/attachment.bin>
More information about the samba-technical
mailing list