Cannot print to Windows Vista printers (SMB) from Ubuntu

Bug #133703 reported by Mikko Ohtamaa
2
Affects Status Importance Assigned to Milestone
samba
Fix Released
Medium
samba (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: samba

Samba 3.0.24 doesn't work with Windows Vista. Vista uses newer SMB2 protocol and Samba doesn't properly fallback to old SMB version 1.

However, if one installs LPD service on Vista, the printing is possible. Here are some details: http://blog.redinnovation.com/2007/08/20/printing-to-windows-vista-printer-from-linux/

Revision history for this message
Paul van Genderen (paulvg) wrote :

Upstream dev raises a valid question, is the printer up for anonymous access?

Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

This is not assigned to a correct upstream bug.

The problem here is Vista specific. smbclient based applications cannot access Vista shares or printers.

Please read about SMB2 in http://www.linux-magazine.com/issue/75/Microsoft_Vista_With_Linux_Interoperability.pdf

Revision history for this message
Paul van Genderen (paulvg) wrote :

That article is from February 2007 and the problem described therein may have been fixed already, as I'm unable to find an open bug report related to your problem. If you do find one, please change the bug number (remember to select "Samba Bugzilla"). If you don't please look into the DACL of the printer share to see if "Everyone" is listed and is effectively allowed. Other network security policies could restrict access as well. But we can't help you with that as we don't provide support for Vista. The official Windows Vista support website is here: http://support.microsoft.com/windowsvista
There are also unofficial community support forums, for example on neowin.net: http://www.neowin.net/forum/index.php?showforum=194

Revision history for this message
Mathias Gug (mathiaz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Could you try to connect to your vista share with the latest version from gutsy (3.0.25b)?

Changed in samba:
status: New → Incomplete
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

Thank you for you response.

I don't need support. I just wanted to notify about the problem so that other users suffering from the same problem (Feisty is pretty popular!) will find the cause and possible solution for it (as there is, in the blog link given in the first comment).

I will test Gutsy later, when it gets more mature and I have time to install it some of my machines.

There will be fix in Samba 3.0.25. I think the correct bug report is this: https://bugzilla.samba.org/show_bug.cgi?id=4309

Changed in samba:
status: Unknown → In Progress
Revision history for this message
Mathias Gug (mathiaz) wrote :

Thanks for your report. The version of samba in Gutsy is 3.0.25b. It should fix your problem. Could test that it works in your environment ?

Changed in samba:
importance: Undecided → Medium
Changed in samba:
status: Unknown → Fix Released
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

I have got Gutsy installed on one machine. I will confirm this later. Please do not close this yet.

Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

Confirmed to work with Gutsy. This bug can be closed.

Mathias Gug (mathiaz)
Changed in samba:
status: Incomplete → Fix Released
Changed in samba:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.