httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Mansfield <dmansfi...@sbcglobal.net>
Subject Re: [users@httpd] problem with authn_dbd / auth digest and sqlite3
Date Tue, 12 Oct 2010 15:52:31 GMT


startx wrote:
> hello.
>
> i am trying to set up AuthDigest against a sqlite3 database
> using mod_authn_dbd ( system is Debian squeeze) and it seems
> i am missing something.
>
> i created a user database for a user "myself" with password "foobar" in
> realm "admin". the password prompt shows up  but any login attempt
> fails ( get prompted again) and my error log reports :
>
>      "Digest: user `myself' in realm `admin' not found.
>
> why is that? anybody can point me into a direction?
>
>
> my sqlite3 database looks like this  
>
>           password              | username |  realm
> ----------------------------------------------------
> 4c324a0a70009f01e9804e1326c51ae9|myself|admin
>
>
> and this looks alright to me, no?
>
>
> i created the password with   "echo -n 'myself:admin:foobar' | md5sum"
> ( i double checked with htdigest, but the output was the same)
>
>
> from my vhost:
>
> ###### from my vhost file ####
>
> DBDriver sqlite3
> DBDParams "/home/myself/web/authn.db"
>   
STW for examples of SQLite connection strings.

-- D Mansfield


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message