[Samba] Can' t delete printjobs spooled in cups
Robert Schetterer
robert at schetterer.org
Tue Oct 4 16:57:52 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Grabner schrieb:
| Hi,
| i learned a lot about cups, samba and printerdrivers the last few days
| and hours. I found a lot of mistakes but i can't change the following
| situation:
|
| I CAN NOT delete printjobs!
| I can connect to the printers, automatic download the driver, print,
| stop the printer, start the printer.
| Any tips, links, hints would be nice.
|
| My setup: Debian Sarge - Samba 3.0.14a - Cups 1.1.23. nss_ldap
| Server role: ROLE_DOMAIN_MEMBER
|
| The log says:
| [2005/10/04 14:53:08, 0] printing/print_cups.c:cups_job_delete(339)
| Unable to cancel job 8721 - client-error-not-authorized
|
| smbstat:
| 19744 andreasg admins teststatandi (192.168.112.118)
|
| IPC$ 19744 teststatandi Tue Oct 4 14:38:33 2005
|
| id andreasg:
| uid=1249(andreasg) gid=512(admins)
|
Gruppen=512(admins),1120(Administratoren),1122(Druck-Operatoren),.....,550(printeradmins)
|
| net groupmap list:
| Druck-Operatoren (S-1-5-32-550) -> Druck-Operatoren
| Domain Admins (S-1-5-21-196807016-63193077-1749447093-512) -> admins
| Domain Admins (S-1-5-21-196807016-63193077-1749447093-550) ->
| printeradmins
|
|
| smb.conf:
| load printers = yes
| printing = cups
| printcap name = cups
| # or printcap name = /var/run/cups/printcap
| printer admin = @admins, @users
|
| ...
| [printers]
| comment = Alle Drucker
| browseable = no
| path = /var/spool/samba
| printable = yes
| public = yes
| writable = no
| printer admin = @admins, @users
|
| ...
|
|
| [print$]
| comment = Drucker treiber
| path = /var/lib/samba/printers
| browseable = yes
| read only = yes
| guest ok = no
| write list = root, @admins
|
|
|
| Thanks for any help
|
| Andreas Grabner
|
|
hi,
make sure that /var/spool/samba has the right owner attributes
try -R 007 for testing, but have a eye on your local security policy.
Regards
- --
Mit freundlichen Gruessen
Best Regards
Robert Schetterer
robert_at_schetterer.org
Munich / Bavaria / Germany
https://www.schetterer.org
\**********************************
\* gnupgp
\* public key:
\* https://www.schetterer.org/public.key
\**********************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDQrSQb0iqzJq+0MgRAlISAJ9KLuBKDxGyBTA+6mcUqgwZRVvL7gCfYNNz
g7Bxgb3osr4aE7SispYK+ek=
=oBTS
-----END PGP SIGNATURE-----
More information about the samba
mailing list