I have seen those problems also.

If you are certain that you have the correct driver (this must
be right) then try supplying a username and password.

It is quite possible that 'nobody' doesn't have the correct
access with samba for the printer share to be able to print.

Within Samba, it checks username/passwords.. even to print..

Cleanest way is to make sure you have the user registered on
the debian etch printing machine with smbpasswd.

In the print administration, click and select the log in with
a user option if you need to test with a know userid/password.

Regards

David

Quoting dbmoodb <[EMAIL PROTECTED]>:

I have a problem printing from an ubuntu gutsy box. I am trying to print to
a scx-4200 printer shared by a debian etch server. My other debian etch
computers can all print and two windows xp boxes can as well. However, the
ubuntu box does not want to print. I have sudo aa-compain ed about cups,
turned off apparmor and it still will not work.  The  error  cupsys provides
is  "Can not get the ticket cache for ...blah" (where blah is my username).

file="/usr/sbin/cupsd"
[16361.151404] audit(1200900536.960:146):  type=1502
operation="inode_permission" requested_mask="r" denied_mask="r"
name="/var/run/samba/unexpected.tdb" pid=21447 profile="/usr/sbin/cupsd"
[16361.151441] audit(1200900536.960:147):  type=1502 operation="file_mmap"
requested_mask="r" denied_mask="r" name="/var/run/samba/unexpected.tdb"
pid=21447 profile="/usr/sbin/cupsd"
[16361.243346] audit(1200900536.960:148):  type=1502
operation="inode_permission" requested_mask="r" denied_mask="r"
name="/var/run/samba/unexpected.tdb" pid=21447 profile="/usr/sbin/cupsd"
[16361.243385] audit(1200900536.960:149):  type=1502 operation="file_mmap"
requested_mask="r" denied_mask="r" name="/var/run/samba/unexpected.tdb"
pid=21447 profile="/usr/sbin/cupsd"

D [21/Jan/2008:18:49:45 +1100] PID 22418
(/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] CUPS-Get-Printers
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/PDF
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/zelda
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [21/Jan/2008:18:49:47 +1100] cupsdReadClient: 8 POST / HTTP/1.1
D [21/Jan/2008:18:49:47 +1100] cupsdAuthorize: No authentication data
provided.
D [21/Jan/2008:18:49:47 +1100] Get-Printer-Attributes
ipp://localhost/printers/zles
D [21/Jan/2008:18:49:47 +1100] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)

On the debian etch server I get the following errors - Jan 21 06:45:16
localhost RECV[5902]: lp: Check_for_missing_files: FAILED 'hfA5$


and
194 process=6197
opening device '/dev/usb/lp0' at 2008-01-21-14:23:31.661 ## A=
[EMAIL PROTECTED] number=194 process=6197
printing job '[EMAIL PROTECTED]' at 2008-01-21-14:23:31.662 ## A=
[EMAIL PROTECTED] number=194 process=6197
processing 'dfA194localhost.localdomain', size 39189, format 'f', IF filter
'none - passthrough' at 2008-01-21-14:23:31.664 ## [EMAIL PROTECTED]
number=194 process=6197
printing finished at 2008-01-21-14:23:31.865 ## [EMAIL PROTECTED]
number=194 process=6197
accounting at end at 2008-01-21-14:23:31.866 ## [EMAIL PROTECTED]
number=194 process=6197
finished '[EMAIL PROTECTED]', status 'JSUCC' at 2008-01-21-14:23:31.867## A=
[EMAIL PROTECTED] number=194 process=6197
[EMAIL PROTECTED]: job '[EMAIL PROTECTED]' printed at
2008-01-21-14:23:31.872 ## [EMAIL PROTECTED] number=194 process=6196
job '[EMAIL PROTECTED]' saved at 2008-01-21-14:23:31.874 ## A=
[EMAIL PROTECTED] number=194 process=6196
lp: Check_for_missing_files: FAILED 'hfA501' lp: no permission to print at
2008-01-21-17:45:16.962 ## A=<NULL> number=0 process=5902


Oddly enough if i change the permissoins of the other shares i have ( the
actual file permissions) the other computers cannot print either. (they
require to be a user name blah-)
I think that it maybe that nobody or nogroup will not work because nobody
isn't part of the group lp or lpadmin perhaps. I shall test this out.

If anyone else has any ideas please respond.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to