[Samba] Samba Print "ERROR: NULL dest in safe_strcpy"

Edward Wissner ewissner at gmlogic.com
Fri Jan 23 17:13:27 GMT 2004

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 (
# Date: 2004/01/23 11:45:52

# Global parameters
	workgroup = GMLOGIC
	server string = Rochester Samba Server
	interfaces = eth0,
	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 =
	ldap ssl = no
	remote announce =
	valid users = @users
	admin users = root, ed, michael
	printer admin = root, ed, michael
	read only = No
	guest ok = Yes
	printing = cups

	comment = Home Directories
	valid users = %U
	browseable = No

	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	use client driver = Yes
	browseable = No

	comment = samba share
	path = /home/share
	username = root,ed,michael,patty

	path = /tmp
	valid users = @users, @ftp
	printable = Yes
	use client driver = Yes

More information about the samba mailing list