Subject: Re: Cups authentication
To: None <netbsd-users@NetBSD.ORG>
From: MLH <>
List: netbsd-users
Date: 11/13/2002 20:36:56
On 12 Nov 2002 07:35:01 -0600, Julio Merino wrote:
> On Tue, 12 Nov 2002 03:30:39 -0800
> "Johnny C. Lam" <> wrote:
>> > I go to http://localhost:631/admin and it asks me for a user/password.
>> > I try with root but it does not allow the access. I remember it worked fine
>> > some time ago (probably a previous version).
>> That is odd.  The relevant group for CUPS administration is "sys", and
>> "root" should be a member of "sys" in the default NetBSD installation.
>> Is this what you have in your setup?
> Yes, and I do not remember changing this...
> sys:*:3:root
> Any other idea?

Maybe I'm missing something here, but check your pkg/etc/cups/cupsd.conf
for AuthType/AuthClass:

## Anonymous access (default)
#AuthType None
AuthType None

## Require a username and password (Basic authentication)
#AuthType Basic
#AuthClass User

If you don't have AuthType None, it requires authentication.

My problem is that I can't get cups' lp or lpr to work, even though
I finally got it to print the test page from the web interface for
my Samsung ML-1430 pcl6 laser (apparently requires a gdi filter).