[Samba] Trouble with CUPS/SAMBA

Kurt Pfeifle kpfeifle at danka.de
Tue Jun 24 01:12:48 GMT 2003


Bradley W. Langhorst brad at langhorst.com

> Mon Jun 23 21:34:26 GMT 2003
> 
> 
> On Mon, 2003-06-23 at 04:34, Bo Mellberg wrote:
> 
>> ;[fredsprn]
>> ;   comment = Fred's Printer
>> ;   valid users = fred
>> ;   path = /home/fred
>> ;   printer = freds_printer
>> ;   public = no
>> ;   writable = no
>> ;   printable = yes
> you should'nt need this ...
> the printers will automatically get loaded from the printcap
> or cups api...

But he had all this commented out....

>> ;[fredsdir]
>> ;   comment = Fred's Service
>> ;   path = /usr/somewhere/private
>> ;   valid users = fred
>> ;   public = no
>> ;   writable = yes
>> ;   printable = no
>> ;[pchome]
>> ;  comment = PC Directories
>> ;  path = /usr/local/pc/%m
>> ;  public = no
>> ;  writable = yes
>> ;[public]
>> ;   path = /usr/somewhere/else/public
>> ;   public = yes
>> ;   only guest = yes
>> ;   writable = yes
>> ;   printable = no
>> ;[myshare]
>> ;   comment = Mary's and Fred's stuff
>> ;   path = /usr/somewhere/shared
>> ;   valid users = mary fred
>> ;   public = no
>> ;   writable = yes
>> ;   printable = no
>> ;   create mask = 0765
>> [jolife shared]
>>         comment = Shared Jolife documents
>>         path = /home/jolife/
>>         writeable = yes
>>         guest ok = yes
> do you really want all these?
> the homes share does it automatically...

This is also commented out....

>> [bosse]
>> [lennart]
>> [martin]
>> [peter]
>> [semmy]
>> [steven]
> 
>> cups error_log:
>> 

He should set "LogLevel debug" in cupsd.conf....

>> E [23/Jun/2003:09:51:31 +0200] Scheduler shutting down due to SIGTERM.
>> E [23/Jun/2003:09:51:31 +0200] Unknown directive AuthType on line 729.your config file for cups is bad at line 729...
>> I [23/Jun/2003:09:51:47 +0200] Job 30 queued on 'hp4550' by 'bosse'.
>> I [23/Jun/2003:09:51:47 +0200] Started filter /usr/lib/cups/filter/cupsomatic (PID 32466) for job 30.
>> I [23/Jun/2003:09:51:47 +0200] Started backend /usr/lib/cups/backend/socket (PID 32467) for job 30.
>> I [23/Jun/2003:10:02:06 +0200] Job 31 queued on 'hp4550' by 'bosse'.
>> I [23/Jun/2003:10:02:06 +0200] Started filter /usr/lib/cups/filter/cupsomatic (PID 335) for job 31.
>> I [23/Jun/2003:10:02:06 +0200] Started backend /usr/lib/cups/backend/socket (PID 336) for job 31.

> these lines look like your job has made it to cups and is failing in
> there...

This is likely, but not conclusive. Is it really a job originating
from a Windows client? Only "LogLevel debug" would show...
Also, "LogLevel debug" would show if and why "job 30" failed.
(There is not yet an error in this part of the log. It would appear
on the next few lines, but these were not provided....)

> so you don't need to mess with your samba configuration.
> 
> if this doesn't work - take it to the cups lists...
> 
> one problem you may have is that the windows pcs are sending jobs that
> are ready for printing with no ripping...
> you could try setting up your printer in cups as a raw printer instead
> of pcl5 or whatever you set it up as.
> 
> best wishes!
> 

Cheers,
Kurt




More information about the samba mailing list