[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 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



More information about the samba mailing list