s3-util: Fix authentication with long hostnames.
commitda2611adef32107f5a0eec97501c01232ab72efc
authorAndreas Schneider <asn@samba.org>
Mon, 12 Jan 2015 17:12:13 +0000 (12 18:12 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 12 Jan 2015 22:10:30 +0000 (12 23:10 +0100)
tree97efb4c98527c49ad1ae512bd73ac84cb906ae68
parent8365318b6d5df5db3f47ee496b3cf5ce83252572
s3-util: Fix authentication with long hostnames.

If the hostname is longer than MAX_NETBIOSNAME_LEN we fail to correctly
check the hostname.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jan 12 23:10:30 CET 2015 on sn-devel-104
source3/lib/util.c