Jeremy Allison wrote:
On Thu, Aug 14, 2008 at 02:01:26AM -0500, David C. Rankin wrote:
Guys,

My wife needed to print something this evening to our normal HP 4 attached to our cups server running samba-3.2.1-0.1.126. Nothing has changed in the last two months going from 3.0.28a to the 3.2.x flavor of samba. However, something has brought printing to its knees.

I pulled out all the old tricks, hacked the registry to delete any entries in HKCU\Printers\DevModes and DevModes2 of the type \\server\printer. Removal of the entries didn't change a thing. I captured an ethereal/wireshark trace and I have that available to anyone if interested.

Have there been any changes in 3.2.x that would effect printing? It does seem to print once every conceivable timer in window times out, but were talking 120-150 seconds. Any Ideas?

There's a bug with a missing reply_printclose() that just
got fixed in the tree by Bartosz Antosik that may be
causing this. It could cause print jobs to timeout
on the Windows side.

Patch is attached, and it will be in 3.2.2.

Jeremy.


Patch installed and verified -- IT IS FIXED!! Printing again works like a charm from XP. Now all we have to do is wait for the updated rpms from Lars and we can get off of the /usr/local/samba binaries ;-)

I don't know how Lars does it. I could not get anything to build from the samba.spec-10.3. The samba-vscan link doesn't work for "Source11:" So I just applied the patch, compiled and used the default local install. I had no problems with new binaries at all.

For anyone else wanting to test building from source on openSuSE, after the build and install to /usr/local/samba, you can use the following command lines to start nmbd and smbd to make use of the remainder of your standard rpm configuration and also keep your normal log files separate:

/usr/local/samba/sbin/nmbd --daemon --configfile=/etc/samba/smb.conf --log-basename=log.nmb.test

/usr/local/samba/sbin/smbd --daemon --configfile=/etc/samba/smb.conf --log-basename log.smb.test --smb-passwd-file=/etc/samba/smbpasswd --private-dir=/etc/samba



--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to