Bartschies, Thomas
2007-Jul-20 06:34 UTC
[Samba] safe_strcpy errors from winbindd (Samba 3.0.25b)
Hi, we've upgraded recently from samba 3.0.23 to 3.0.25b. Since then, we've getting these error messages from winbindd: Jul 17 12:00:23 cvk027 winbindd[20772]: [2007/07/17 12:00:23, 0] lib/util_str.c:safe_strcpy_fn(659) The volume of these messages is very high, many times together with unreadable character garbage. Is there any way to correct or suppress these messages? Our environment is Fedora Core 4 (32-Bit). Kernel 2.6.12.2. Samba is a member Server in a W2K+3 AD Forest. Multiple Domains with Trust Relationsships exist. "wbinfo -t" and "wbinfo -m" work properly. "wbinfo -u" works also. The member domain is in Windows 2003 native mode. Here's the first part of our smb.conf: [global] workgroup = xxxxxx netbios name = cvkxxx server string = Internet Server log file = /var/log/samba/access.log log level = 1 max log size = 500000 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No printing = lprng guest account = nobody encrypt passwords = yes ldap timeout = 60 winbind separator = + idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum groups = yes template homedir = /home/%U template shell = /bin/bash host msdfs = no winbind use default domain = yes security = ADS password server = * realm = intra.cvk.de [homes] comment = Home Directories browseable = no writable = yes ... Regards, -- i. A. Thomas Bartschies IT Systeme Cornelsen Verlagskontor GmbH & Co. KG Kammerratsheide 66, 33609 Bielefeld Telefon 0521.9719-310 Telefax 0521.9719-93310 http://www.cvk.de AG Bielefeld HRA 10578 - Gesch?ftsf?hrer: Horst Keplinger Gesch?ftsf?hrende Komplement?rin: AG Bielefeld HRB 7107 - Cornelsen Verlagskontor Verwaltungs-GmbH Weitere Komplement?rin: AG Charlottenburg HRA 20764 - Cornelsen Verlagsholding GmbH & Co., Berlin
Volker Lendecke
2007-Jul-20 06:52 UTC
[Samba] safe_strcpy errors from winbindd (Samba 3.0.25b)
On Fri, Jul 20, 2007 at 08:17:15AM +0200, Bartschies, Thomas wrote:> > Hi, > > we've upgraded recently from samba 3.0.23 to 3.0.25b. Since then, we've getting these error > messages from winbindd: > > Jul 17 12:00:23 cvk027 winbindd[20772]: [2007/07/17 12:00:23, 0] lib/util_str.c:safe_strcpy_fn(659) > > The volume of these messages is very high, many times together with unreadable character garbage. > > Is there any way to correct or suppress these messages?Can we get a debug level 10 log of winbind leading to this message? Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070720/a4b0ac9f/attachment.bin
Volker Lendecke
2007-Jul-20 09:13 UTC
[Samba] safe_strcpy errors from winbindd (Samba 3.0.25b)
On Fri, Jul 20, 2007 at 10:45:07AM +0200, Bartschies, Thomas wrote:> > Hi, > > we've raised the winbind error level to 10. Hope it helps.[2007/07/20 10:00:21, 3] nsswitch/winbindd_async.c:winbindd_dual_lookupname(931) [27298]: lookupname ^Q+??B????<87>z^\]^^s?2,?^<9C>?g?=?pE>X^A<90>?U?lr5?Tm19E <93>?^Z??? ^_^S?"x????_??^S]<82>^Dyh??a7I??f???<82>?<92> That's definitely garbage, I have no real idea where this might come from. What applications are running on your box? Only Samba? Did you also replace /lib/libnss_winbind.so, and did you reboot? Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070720/589549d9/attachment.bin