[Samba] Odd tdb cups/samba Printing Problem

Josh Trutwin josh at trutwins.homeip.net
Thu Aug 21 14:59:38 GMT 2003


Hello,

I am running SuSE 8.1 (2.4.19) with an installation of Samba 2.2.5 with Cups 1.1.15 from the distro CD's.  I'm having a strange problem when printing from a Windows 2000 laptop to the printer (HP882c using hpijs) connected to the SuSE samba box via USB.  Printing starts and usually works for a little while, but after a few minutes/pages printing stops, usually in the middle of printing a page.  The following errors are seen repeatedly in the smb log:

Aug 21 09:21:11 langly smbd-classic[1896]: [2003/08/21 09:21:11, 0] tdb/tdbutil.c:tdb_log(492)
Aug 21 09:21:11 langly smbd-classic[1896]:   tdb(/var/lib/samba/printing.tdb): tdb_free: left free failed at 2336

I looked for this on google, didn't find much at all.

Here are the contents of smb.conf:

[global]
	netbios name = langly
	workgroup = TRUTWIN
	server string = Linux Samba %v
	interfaces = 127.0.0.1 192.168.0.8
	bind interfaces only = Yes
	security = user
	username map = /etc/samba/smbusers
	password level = 8
	encrypt passwords = yes
	obey pam restrictions = yes
	pam password change = yes
	smb passwd file = /etc/samba/smbpasswd
	max log size = 50
	os level = 65
	lm announce = True
	valid users = trutwijd root nobody
	hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1
	wins support = yes
	name resolve order = wins lmhosts hosts bcast
	dns proxy = yes
	local master = yes
	preferred master = yes
	domain master = yes
	time server = yes
	unix extensions = yes
	browsable = yes
	guest ok = yes
	guest account = nobody
	read only = no
	force group = users
	force create mode = 0644
	force directory mode = 0755
	create mask = 0644
	directory mask = 0755
	load printers = yes
	printing = cups
	printcap = cups
	printcap name = cups
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
	large readwrite = yes
	character set = ISO8859-15
	client code page = 850
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[printers]
	comment = All Printers
	# MAKE SURE THIS EXISTS (chmod +t, 777, owned by lp.sys)
	path = /var/spool/samba  
	browseable = no
	public = yes
	guest ok = yes
	writable = no
	printable = yes
        printer admin = root trutwijd

[print$]
	comment = Printer Drivers
	path = /etc/samba/drivers
	browseable = yes
	guest ok = no
	read only = yes
	write list = root trutwijd

Printers were setup for Windows clients with "cupsaddsmb -a -v -U trutwijd"

Anything else I can provide to help diagnose?

Thanks in advance,

Josh Trutwin




More information about the samba mailing list