s3-winbind: Use strlcpy to avoid log entry.
authorAndreas Schneider <asn@samba.org>
Wed, 12 Feb 2014 12:26:02 +0000 (13:26 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 4 Jun 2014 14:49:11 +0000 (16:49 +0200)
commit62b4d442b9b43d40137ba82e9d00c864ef2d1c25
tree54630a505dc2305d40d5282dbe5be2fba8ea909a
parented89624896b782525bf75dba5d4b75fa3067e80f
s3-winbind: Use strlcpy to avoid log entry.

The full_name from Windows can be longer than 255 chars which results in
a warning on log level 0 that we have a string overflow. This will avoid
the warning. However we should fix this sooner or later on the protocol
level to have no limit.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jun  4 16:49:11 CEST 2014 on sn-devel-104
source3/winbindd/wb_fill_pwent.c