Bug 1941 - lprNG printing broken with SuSE 9.0 binaries
Summary: lprNG printing broken with SuSE 9.0 binaries
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.7
Hardware: x86 Linux
: P3 regression
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 09:04 UTC by Wolfgang Fuertbauer
Modified: 2004-11-12 10:22 UTC (History)
0 users

See Also:


Attachments
sbmd -b (8.61 KB, text/plain)
2004-10-15 09:50 UTC, Wolfgang Fuertbauer
no flags Details
testparm -s -b smb.conf (6.72 KB, text/plain)
2004-10-15 09:50 UTC, Wolfgang Fuertbauer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Fuertbauer 2004-10-15 09:04:35 UTC
printing with lpr works fine; but samba doesn't load printers

example from the logs:

[2004/10/15 17:09:59, 0] smbd/service.c:make_connection(800)
Oct 15 17:09:59 horn-xylophon smbd[8390]:   organ3 (172.16.7.20) couldn't find
service dr-rg01

and on top of the logfile:
Oct 15 17:09:46 horn-xylophon smbd[8377]: [2004/10/15 17:09:46, 0]
printing/print_cups.c:cups_printer_fn(119)
Oct 15 17:09:46 horn-xylophon smbd[8377]:   Unable to connect to CUPS server
localhost - Connection refused
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-10-15 09:22:35 UTC
please attach your smb.conf, the output from 'smbd -b' and 
the output from testparm -v -s smb.conf'.  Thanks.
Comment 2 Wolfgang Fuertbauer 2004-10-15 09:34:55 UTC
(In reply to comment #1)
> please attach your smb.conf, the output from 'smbd -b' and 
> the output from testparm -v -s smb.conf'.  Thanks.

I had to backport to  2.2.8a (which works perfect; I'll install 
same environment on Monday on a testmachine and send you the things you
want 

Comment 3 Wolfgang Fuertbauer 2004-10-15 09:50:01 UTC
Created attachment 728 [details]
sbmd -b
Comment 4 Wolfgang Fuertbauer 2004-10-15 09:50:25 UTC
Created attachment 729 [details]
testparm -s -b smb.conf
Comment 5 Wolfgang Fuertbauer 2004-10-15 09:51:03 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > please attach your smb.conf, the output from 'smbd -b' and 
> > the output from testparm -v -s smb.conf'.  Thanks.
> 
> I had to backport to  2.2.8a (which works perfect; I'll install 
> same environment on Monday on a testmachine and send you the things you
> want 

files attaches; less printers than original; no shares
Comment 6 Wolfgang Fuertbauer 2004-11-09 06:21:29 UTC
even installed new binaries: 3.0.8 for SuSE 9.0 => same problem
installed newer version for lprng => same problem

Comment 7 Gerald (Jerry) Carter (dead mail address) 2004-11-12 10:22:29 UTC
This looks to be a configuration problem.  The smbd was compiled 
with cups support so the default printing value is cups and 
'printcap name = cups'.  You set printing = lprng in [global]
but did not set 'printcap name = /etc/printcap'.

Note that 'printing' is a service level parameter (although it 
can be defined in the glbal section of smb.conf) and 'printcap name' 
is a global option.  So we can't just overwrite the value of 
'printcap name' when you set 'printing = lprng'