[Samba] Print server communications back to the client during printing

Ryan Novosielski novosirj at umdnj.edu
Mon Oct 13 18:02:05 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy Allison wrote:
> On Mon, Oct 13, 2008 at 01:39:30PM -0400, Ryan Novosielski wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Jeremy Allison wrote:
>>> On Mon, Oct 13, 2008 at 11:57:45AM -0400, Gerald (Jerry) Carter wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Taylor, Marc wrote:
>>>>> Hello All,
>>>>>
>>>>> I was wondering if anyone knows why a print server needs to talk back on
>>>>> the submitting client's ports 139 or 445?
>>>> It's Microsoft's async print change notification protocol.  Jeremy
>>>> had talked about adding a separate timetou for the back channel connect,
>>>> but I don't remember if this was ever done.
>>> Like the man said, it's Microsoft's doing :-). No, we don't have
>>> a separate timeout in spoolss_connect_to_client()
>>> (rpc_server/srv_spoolss_nt.c) but we could add one.
>> How does this actually work in the case of Samba? Does the Samba server
>> attempt to contact the NT machine, and is there a benefit to allowing
>> this to happen?
> 
> We do *exactly* what the Windows server does. Yes, we attemt to contact
> the Windows client, as that's what Windows does. The benefit is it
> correctly implements the Windows printing change-notify protocol.

I didn't really mean "is there a benefit to supporting this," I meant
more that if my clients are currently blocking the traffic coming back
from the server, is there a tangible benefit I could expect from getting
that fixed (perhaps the "your document has printed" message, or more
speed, etc.), or is it a minor thing?

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI840cmb+gadEcsb4RAkZNAJ9/zhfK9YErQub6SKB3B2ScZjPDnwCeLOWI
vri44UM1BMR8o+q/yAoYIfU=
=SD5O
-----END PGP SIGNATURE-----


More information about the samba mailing list