Bluehost.com Web Hosting $6.95

CUPS & unauthorized error msgs

This is a discussion on CUPS & unauthorized error msgs within the Linux General forums, part of the Linux Forums category; I'm new to cups... thought I had it setup but when I tried to create a new printer (/usr/...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-16-2005
pj
 
Posts: n/a
Default CUPS & unauthorized error msgs

I'm new to cups... thought I had it setup but when I tried to create a
new printer (/usr/local/cups/sbin/lpadmin -p Belk406 -E -v
socket://123.321.123.321:9100 -m laserjet.ppd), my daemon appears to go
into a loop. The error log then contains (debug2 level of debugging):

d [16/Mar/2005:14:02:07 +0500] CloseClient: Removing fd 5 from InputSet
and OutputSet...
d [16/Mar/2005:14:02:07 +0500] AcceptClient(lis=5fae0) 0 NumClients = 0
D [16/Mar/2005:14:02:07 +0500] AcceptClient: 5 from localhost:631.
d [16/Mar/2005:14:02:07 +0500] AcceptClient: Adding fd 5 to InputSet...
d [16/Mar/2005:14:02:07 +0500] ReadClient: 5, used=0, file=-1
D [16/Mar/2005:14:02:07 +0500] ReadClient: 5 POST /admin/ HTTP/1.1
d [16/Mar/2005:14:02:07 +0500] decode_auth(6acf0): Authorization string
= "Local E18D65F6B942722D0069AC2EC02F5D03"
d [16/Mar/2005:14:02:07 +0500] decode_auth: 5 username=""
d [16/Mar/2005:14:02:07 +0500] IsAuthorized: con->uri = "/admin/"
d [16/Mar/2005:14:02:07 +0500] FindBest: uri = "/admin/"...
d [16/Mar/2005:14:02:07 +0500] FindBest: Location / Limit 7f
d [16/Mar/2005:14:02:07 +0500] FindBest: Location /admin Limit 7f
d [16/Mar/2005:14:02:07 +0500] FindBest: best = "/admin"
d [16/Mar/2005:14:02:07 +0500] IsAuthorized: auth = 0, satisfy=0...
d [16/Mar/2005:14:02:07 +0500] IsAuthorized: username = "" password = 0
chars
d [16/Mar/2005:14:02:07 +0500] ReadClient: Unauthorized request for
/admin/...
D [16/Mar/2005:14:02:07 +0500] SendError: 5 code=401 (Unauthorized)
d [16/Mar/2005:14:02:07 +0500] FindBest: uri = "/admin/"...
d [16/Mar/2005:14:02:07 +0500] FindBest: Location / Limit 7f
d [16/Mar/2005:14:02:07 +0500] FindBest: Location /admin Limit 7f
d [16/Mar/2005:14:02:07 +0500] FindBest: best = "/admin"
D [16/Mar/2005:14:02:07 +0500] CloseClient: 5

I'm dumbfuzzled - why am I getting an unauthorized??

tia
pj

Reply With Quote
  #2 (permalink)  
Old 03-16-2005
noi
 
Posts: n/a
Default Re: CUPS & unauthorized error msgs

On Wed, 16 Mar 2005 11:08:58 -0800, pj thoughtfully wrote:

> I'm new to cups... thought I had it setup but when I tried to create a new
> printer

/usr/local/cups/sbin/lpadmin -p Belk406 -E -v socket://123.321.123.321:9100 -m laserjet.ppd

, my daemon appears to go
> into a loop. The error log then contains (debug2 level of debugging):
>

{[snip]
> [16/Mar/2005:14:02:07 +0500] ReadClient: 5 POST /admin/ HTTP/1.1 d
> [16/Mar/2005:14:02:07 +0500] decode_auth(6acf0): Authorization string =
> "Local E18D65F6B942722D0069AC2EC02F5D03" d [16/Mar/2005:14:02:07 +0500]
> decode_auth: 5 username="" d [16/Mar/2005:14:02:07 +0500] IsAuthorized:
> con->uri = "/admin/" d [16/Mar/2005:14:02:07 +0500] FindBest: uri =
> "/admin/"... d [16/Mar/2005:14:02:07 +0500] FindBest: Location / Limit 7f
> d [16/Mar/2005:14:02:07 +0500] FindBest: Location /admin Limit 7f d

[snip]
> [16/Mar/2005:14:02:07 +0500] IsAuthorized: username = "" password = 0
> chars
> d [16/Mar/2005:14:02:07 +0500] ReadClient: Unauthorized request for
> /admin/...
> D [16/Mar/2005:14:02:07 +0500] SendError: 5 code=401 (Unauthorized) d

[snip]

Don't know but it looks like it's trying to access folder /admin/ without
suppling a user or password, too much security? Try simple lpadmin

/usr/local/cups/sbin/lpadmin -p Belk406 -E -h 123.321.123.321 -m
laserjet.ppd


Reply With Quote
  #3 (permalink)  
Old 03-16-2005
pj
 
Posts: n/a
Default Re: CUPS & unauthorized error msgs

Thanks... but that's what I was doing that was, in turn, generating
that error message (leading me to believe that the gui actually does a
hit on that "page"). That command just sits there - appearing to do
nothing. What it's actually doing is filling the error_log w/ those
messages (it's the cause of the error_log msgs, I'm sure cuz nothing
else is happening on that machine at that time).

pj

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0