samba 3.2.0: /usr/lib/cups/backend/smb does not try port 139 anymore by default

Karolin Seeger ks at sernet.de
Wed Aug 13 19:33:33 GMT 2008


Hi Noèl, 

On Tue, Aug 12, 2008 at 04:17:42AM +0200, Noèl Köthe wrote:
> Hello samba-technical and Mike,
> 
> git commit 8eff35bc4acc13807c895af43b52db79ee195cb5
> 
> with the comment:
> 
>     smbspool: Fix CUPS authentication protocol support.
>     
>     There were a couple of places where we weren't checking for
>     authentication correctly. This chance fixes those places and properly
>     supports Kerberos where available.
> 
> changed in source/client/smbspool.c
> ...
> @@ -234,8 +235,7 @@ static bool smb_encrypt;
>      port=atoi(sep);
>    }
>    else 
> -  	port=0;
> -	
> +    port = 445;
>   
>   /*
>    * Setup the SAMBA server state...
> ...
> 
> because of this change there is now a problem with cups printing to port
> 139; see http://bugs.debian.org/491881 and http://bugs.debian.org/493112
> 
> I'm asking in the first place via mail to be sure this change was
> intended or not or where I'm wrong.
> If you prefer to have it in bugzilla just tell me.

Thank you very much for tracking that down!
Could you please try if the attached patch fixes the issue for you?

Karolin

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smbspool-Try-to-fix-printing-on-port-139.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080813/f8418709/0001-smbspool-Try-to-fix-printing-on-port-139.bin


More information about the samba-technical mailing list