[Samba] Users can't pause or cancel print jobs

Gerald (Jerry) Carter jerry at samba.org
Tue Feb 7 14:11:32 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joris De Pooter wrote:
> Gerald (Jerry) Carter a écrit :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Joris De Pooter wrote:
>>
>>> Jan 12 10:11:37 bernie smbd[28408]:   Unable to cancel job 47201 -
>>> client-error-not-authorized
>>>
>>>
>>> I'll try to update my samba 3.0.14a-r2 to a newer release...
>>
>> Samba does use a username/password to access the cups
>> server.  smbd changes to root after making authorization checks
>> and then assumes that root can do whatever it wants.
>>
>> Does your cups server require authentication?
>>
> 
> Hi,
> 
> Sorry for the delay I missed your message...
> 
> I don't understand how samba interacts with cups : By the means of some
> kind of interprocess communication ? Or by the cups webserver directly ?
> 
> Actually my cupsd is configured to ask a password to gain access to
> administrative functions (add/del printer and accessing the job history)
> 
> Is this incompatible with samba ?

The easiest way to check I think it that you must be able
to run lpq without any user authentication.  Samba does not
use any credentials when submitting or querying jobs.  And
it assumes that root can remove any job from the queue.




cheer,s jerry
=====================================================================
I live in a Reply-to-All world                -----------------------
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD6KqUIR7qMdg1EfYRAk4SAJ9rwV6Gx3xEbcziEy0+yjg1pvvGkwCfZzwH
Mw7XLXHNAUXha7rS6wcuvwQ=
=QU4S
-----END PGP SIGNATURE-----


More information about the samba mailing list