[Samba] samba no deleting spool files

linux power linuxpower2002 at yahoo.no
Fri Oct 4 19:01:01 GMT 2002


Bug in samba printing cups. It cant resolve -P %p in
the print command.Use this in printer share.
print command = lpr (absolute path to your printer)
%s;rm %s -r
Else u must create a cron job to remove them ie each
10 minutes.



 --- Pablo Marques <pmarques at herald.com> skrev: > I
have samba version  2.2.5 with printing patches.
> printpro 4.2.2 = cups version  1.1.14 (I think)
> 
> The files queued in /var/spool/samba don't ever get
> deleted!!
> They are deleted after they are printed by cups in
> the cups spool
> directory.
> Why is samba not deleting the files?
> Do I need to specify a pint command?
> 
> Thanks
> 
> This is my samba config:
> 
> # Global parameters
> [global]
>         workgroup = MINE
>         netbios name = PRINT
>         interfaces = eth0
>         security = DOMAIN
>         encrypt passwords = Yes
>         update encrypted = Yes
>         password server = *
>         pam password change = Yes
>         log level = 1
>         log file = /var/log/samba/%m.log
>         socket options = TCP_NODELAY SO_RCVBUF=8192
> SO_SNDBUF=8192
>         printcap name = cups
>         preferred master = False
>         local master = No
>         domain master = False
>         dns proxy = No
>         wins server = 192.168.250.30
>         hide local users = Yes
>         winbind uid = 10000-20000
>         winbind gid = 10000-20000
>         template shell = /bin/bash
>         winbind separator = +
>         winbind cache time = 600
>         winbind use default domain = Yes
>         printer admin = @Domain_Printer_Oper
>         printing = cups
> 
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         printable = Yes
>         browseable = No
> 
> [print$]
>         path = /var/spool/pdrivers
>         write list = @Domain_Printer_Oper
> 
> [PrintDriver]
>         path = /var/pdrivers
>         write list = @Domain_Printer_Oper
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

______________________________________________________
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok



More information about the samba mailing list