s3-nmbd: Fix netbios name truncation.
commit76ff1da55d36677a809c2c93761e713b6c2fae1c
authorJeremy Allison <jra@samba.org>
Tue, 28 Oct 2014 18:55:30 +0000 (28 11:55 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 29 Oct 2014 20:16:07 +0000 (29 21:16 +0100)
treefdf2e2eccd300575c9a2a62ab026d3d9adb3acfb
parente158ed9d56c1d125deab00b46f325c5147045801
s3-nmbd: Fix netbios name truncation.

Try and cope with truncation more intelligently.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10896

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 6adcc7bffd5e1474ecba04d2328955c0b208cabc)
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/nmbd/nmbd_nameregister.c