Edward Wissner
2004-Jan-23 17:14 UTC
[Samba] Samba Print "ERROR: NULL dest in safe_strcpy"
I'm new to SAMBA and to Linux. Am trying to replace windows file and print servers with RedHat9. I set up the server and installed Samba 3.0.0. I had everything running fine for two weeks(file and print sharing). Yesterday I must have tweaked something, because now I cannot print! I can connect to the printer via Network Neighborhood, but print jobs do not make it to the printer. I still have access to my shared directories. The log file has the following line printed over and over: "[2004/01/23 12:02:20, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy". My config file: " # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/01/23 11:45:52 # Global parameters [global] workgroup = GMLOGIC server string = Rochester Samba Server interfaces = eth0, 192.168.1.5/24 min passwd length = 2 map to guest = Bad User guest account = smbprint username map = /etc/samba/smbusers log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = No domain master = No wins proxy = Yes wins server = 192.168.0.1 ldap ssl = no remote announce = 192.168.0.255/gmlogic valid users = @users admin users = root, ed, michael printer admin = root, ed, michael read only = No guest ok = Yes printing = cups [homes] comment = Home Directories valid users = %U browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes use client driver = Yes browseable = No [share] comment = samba share path = /home/share username = root,ed,michael,patty [RochesterLexmark] path = /tmp valid users = @users, @ftp printable = Yes use client driver = Yes " thanks, ed
Andrew Bartlett
2004-Jan-25 06:44 UTC
[Samba] Samba Print "ERROR: NULL dest in safe_strcpy"
On Sat, 2004-01-24 at 04:13, Edward Wissner wrote:> I'm new to SAMBA and to Linux. Am trying to replace windows file and print > servers with RedHat9. I set up the server and installed Samba 3.0.0. I had > everything running fine for two weeks(file and print sharing). Yesterday I > must have tweaked something, because now I cannot print! I can connect to > the printer via Network Neighborhood, but print jobs do not make it to the > printer. I still have access to my shared directories. > > The log file has the following line printed over and over: > > "[2004/01/23 12:02:20, 0] lib/util_str.c:safe_strcpy_fn(577) > ERROR: NULL dest in safe_strcpy".'mostly harmless'. The bug has been fixed in 3.0.1. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040125/2c01292e/attachment.bin