Also after upgrading to 3.5.1, using cups-1.1.23-40.46, we're unable to printer. Samba logs reports: [2010/03/18 11:27:49.776325, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Success And CUPS reports: E [18/Mar/2010:11:31:58 -0300] Bad request line "��" from localhost! Looks like they're not speaking the same language.
Created attachment 5509 [details] smb.conf server configuration
Ways to reproduce: 1. Get a SLES10 Box with CUPS installed. 2. Upgrade samba to 3.5.1 from openSUSE repo. 3. Create a printer on CUPS 4. Install that printer on the client via SMB and try to print
Created attachment 5682 [details] Fix cups encryption setting I had the same problem and it's due to the fact that samba doesn't respect the "cups encryption" setting since lp_cups_encrypt changes the value: if you set "cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER, since that is 1 (i.e. true), the next call will change it to HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS. This patch fixes this problem.
looks good, thank you VERY much for finding that Luca!
+1 from me on this patch. Pushed to master. Re-assigning to Karolin for inclusion in 3.5.x. Jeremy.
Pushed to v3-5-test. Closing out bug report. Thanks a lot!