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/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |