s3-nmbd: Fix netbios name truncation.
commit39a9211e2c59f98b3185419c6409298c0abb77f5
authorJeremy Allison <jra@samba.org>
Tue, 28 Oct 2014 18:55:30 +0000 (28 11:55 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 9 Nov 2014 19:47:09 +0000 (9 20:47 +0100)
tree218623ddc8b1ac0db2207876fc3f853df27f9b13
parent0e03a17bc70232cd07fbd1e0e8a99b3b3e10feb5
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