job owner can't move job?

Don Prezioso dprez at ashland.edu
Wed Feb 6 08:57:24 PST 2008


I was a little too quick on the send there... I should also note we are on Red Hat EL 4.6, with CUPS 1.3.3.

Thanks

Don

> I am having a problem where a job owner cannot move their job to a different queue. If the user belongs to the 'lp' group it works fine. Also the owner can cancel their job, hold their job, or release their job. When they attempt to move a job however, it continually prompts for their username and password.
>
> Here is what I see in the error log:
> D [06/Feb/2008:10:28:34 -0500] cupsdAcceptClient: 8 from localhost:631 (IPv4)
> D [06/Feb/2008:10:28:34 -0500] cupsdReadClient: 8 POST /jobs HTTP/1.1
> D [06/Feb/2008:10:28:34 -0500] cupsdAuthorize: Authorized as dprez using Basic
> D [06/Feb/2008:10:28:34 -0500] CUPS-Move-Job ipp://localhost/printers/3008
> D [06/Feb/2008:10:28:34 -0500] cupsdIsAuthorized: username="dprez"
> E [06/Feb/2008:10:28:34 -0500] CUPS-Move-Job: Unauthorized
> D [06/Feb/2008:10:28:34 -0500] cupsdSendError: 8 code=401 (Unauthorized)
>
> And here is my current cupsd.conf file:
> LogLevel debug
> SystemGroup sys root
> DefaultAuthType Basic
> <Location />
>   Encryption Required
>   # Allow remote administration...
>   Order allow,deny
>   Allow @LOCAL
>   Allow 172.16.*
>   Allow 10.*
> </Location>
> <Location /admin>
>   Encryption Required
>   # Allow remote administration...
>   Order allow,deny
>   Allow @LOCAL
>   Allow 172.16.*
>   Allow 10.*
> </Location>
> <Location /admin/conf>
>   Encryption Required
>   AuthType Basic
>   Require user @SYSTEM
>   # Allow remote access to the configuration files...
>   Order allow,deny
>   Allow @LOCAL
>   Allow 172.16.*
>   Allow 10.*
> </Location>
> <Policy default>
>   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
>     Require user @OWNER @SYSTEM @lp @adm
>     Order deny,allow
>   </Limit>
>   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
>     Require user @SYSTEM @adm
>     Order deny,allow
>   </Limit>
>   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
>     Require user @SYSTEM @lp @adm
>     Order deny,allow
>   </Limit>
>   <Limit Cancel-Job CUPS-Authenticate-Job>
>     Require user @OWNER @SYSTEM @lp @adm
>     Order deny,allow
>   </Limit>
>   <Limit All>
>     Order deny,allow
>   </Limit>
> </Policy>
> # Show shared printers on the local network.
> Browsing On
> BrowseOrder allow,deny
> BrowseAllow all
> BrowseProtocols cups
> # Allow remote access
> Port 631
>
>
> I can't figure out why users can hold and release their own jobs but cannot move them to a different queue. Any ideas?
>
> Thanks in advance.
>
> Don





More information about the cups mailing list