Mac OS X 10.4 and Digest Auth

Michael Sweet mike at easysw.com
Sun Jul 16 05:58:05 PDT 2006


Sergio Trejo wrote:
> Hi,
> 
> I successfully configured CUPS 1.2.1 from source, and installed it in an isolated directory on my Mac OS X Server 10.4.6 system (separate from Apple's installation of CUPS 1.1.x on the same server). I had no problems configuring, making, etc.
> 
> I enabled the default configuration (cupsd.config) with an AuthType of Digest for various Location directives including Location /admin and no where in my config file did I make use of Basic AuthType. To make use of the Digest AuthType, of course I used lppasswd to create a user account which was granted rights to access various Locations including the /admin Location, as in ...
> 
>   Require user myprivilegedusername
> 
> I had no problems accessing most of the various Locations once the user, myprivilegedusername username and password were entered from my client's web browser the first time trying to enter those specific Locations. However, no matter what I tried, I was never able to add a printer (the username and password window attached to my client's web browser (Firefox) would constantly return asking me to enter the user name and password even though I was adding what I thought to be the correct username and password saved to the passwd.md5 file previously using the lppasswd program.
> 
> In my CUPS log file, with Debug level 2 turned on, I would get:
> 
> D [10/Jul/2006:12:06:01 +0000] cupsdAuthorize: Bad authentication data.
> 
> but few clues as to what the real problem was.

Hmm, I'd guess there is a problem with how your browser is generating
the message digest.  What browsers have you tried?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list