[Samba] Trouble with CUPS/SAMBA

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...

> ;[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...

> [bosse]
> [lennart]
> [martin]
> [peter]
> [semmy]
> [steven]

> cups error_log:
> 
> 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...

> [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) fo\
> r 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) fo\
> r 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...

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!

brad
-- 
Bradley W. Langhorst <brad at langhorst.com>




More information about the samba mailing list