[cups.general] Cannot Authenticate Login to CUPS for doing Admin Tasks

Michael Sweet msweet at apple.com
Thu Sep 23 11:12:52 PDT 2010


Any errors in /var/log/cups/error_log?

On Sep 23, 2010, at 7:48 AM, Anurag wrote:

> Dear CUPS Team,
> 
> When doing any admin task on the printer through the CUPS Interface(http://localhost:631), we are prompted for the user ID and Password. But no matter what we enter(including root or any other user's credentials) the CUPS Interface is not accepting the User/Password. The User/Password keeps popping up as if the entered credentials were wrong (even when they were correct). End of this message has the config file for CUPS that we are using.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> Red Hat Enterprise Linux Server release 5.5 (Tikanga)
> Kernel 2.6.18-194.8.1.el5 on an x86_64
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> yum info cups.x86_64
> Loaded plugins: rhnplugin, security
> Installed Packages
> Name       : cups
> Arch       : x86_64
> Epoch      : 1
> Version    : 1.3.7
> Release    : 18.el5_5.7
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> MaxLogSize 2000000000
> # Show troubleshooting information in error_log.
> LogLevel debug
> SystemGroup sys root
> # Allow remote access
> Port 631
> Listen /var/run/cups/cups.sock
> # Enable printer sharing and shared printers.
> Browsing On
> BrowseOrder allow,deny
> # (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
> BrowseAllow @LOCAL
> BrowseAddress @LOCAL
> DefaultAuthType Basic
> <Location />
>  # Allow shared printing and remote administration...
>  Order allow,deny
>  Allow @LOCAL
> </Location>
> <Location /admin>
>  Encryption Required
>  # Allow remote administration...
>  Order allow,deny
>  Allow @LOCAL
> </Location>
> <Location /admin/conf>
>  AuthType Default
>  Require user @SYSTEM @OWNER
>  # Allow remote access to the configuration files...
>  Order allow,deny
>  Allow @LOCAL
> </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
>    Order deny,allow
>  </Limit>
>  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
>    AuthType Default
>    Require user @SYSTEM
>    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>
>    AuthType Default
>    Require user @SYSTEM
>    Order deny,allow
>  </Limit>
>  <Limit CUPS-Authenticate-Job>
>    Require user @OWNER @SYSTEM
>    Order deny,allow
>  </Limit>
>  <Limit All>
>    Order deny,allow
>  </Limit>
> </Policy>
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> Kindly help me out here.
> 
> Regards,
> Anurag
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list