[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#746270: cupsctl: Unauthorized when not specifying "-h localhost"



On Fri, Jul 17, 2015 at 4:02 PM, Brian Potkin <claremont102@gmail.com> wrote:
> We were hoping you would repeat your testing with at least the most
> up-to-date Wheezy (1.5.3-5+deb7u5) or with cups from testing or unstable
> on the *same* system.

I noticed that it didn't update because our company repository did not
have the new version. I installed the latest official version for
Wheezy (1.5.3+deb7u6), but this did not have any effect on the error.

> The message "cupsctl: Unauthorized" looks like you are trying to connect
> to a server for which you have no permission to do so. Do you have a
> file client.conf in either /etc/cups or /root/.cups?

-bash-4.2# ls /etc/cups
classes.conf cupsd.conf.default cups-files.conf mailto.conf
printers.conf raw.convs snmp.conf subscriptions.conf cupsd.conf
cupsd.conf.O cups-pdf.conf ppd printers.conf.O raw.types ssl
subscriptions.conf.O

-bash-4.2# ls /root/.cups
ls: cannot access /root/.cups: No such file or directory

> By the way: is "cupsctl: Unauthorized" what was displayed on the screen
> or a translation of what you saw?

This is the actual output:

-bash-4.2# cupsctl
cupsctl: Unauthorized

-bash-4.2# cupsctl -h localhost
_debug_logging=1
_remote_admin=0
_remote_any=1
_remote_printers=1
_share_printers=0
_user_cancel_any=0
BrowseLocalProtocols=CUPS dnssd
DefaultAuthType=Basic
JobPrivateAccess=default
JobPrivateValues=default
MaxLogSize=0
ServerAlias=*
SubscriptionPrivateAccess=default
SubscriptionPrivateValues=default
WebInterface=Yes


Reply to: