www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Klaas <joergkl...@netside.de>
Subject mod_auth-any/1860: DBM Authentication not working...
Date Mon, 23 Feb 1998 10:46:39 GMT

>Number:         1860
>Category:       mod_auth-any
>Synopsis:       DBM Authentication not working...
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb 23 02:50:00 PST 1998
>Originator:     joergklaas@netside.de
>Release:        1.2.4 and 1.2.5 and 1.3.x
S.u.S.e Linux Kernel 2.0.32
I already read all Bug-Reports and found people who seem to have the
same problem.
Unfortunately I still cannot find a solution.

I try to use the DBM Authentication Method but get always the results
listed below.
I downloaded and installed the newest Version of gdbm and successfully
re-compiled Apache, but without any improvment in authentication...

My '.htaccess' file looks like this
    <Limit GET POST>
    require valid-user
    AuthName TEST
    Authtype basic
    AuthDBMUserFile /usr/local/httpd/htdocs/adr/htpasswd

I created my DBM File 'htpasswd'  using 
'dbmmanage.new /usr/local/httpd/htdocs/adr/htpasswd adduser test test '.

but if I try to login using my browser, the following is printed in the
servers error logfile (this is the version with Apache 1.3.x):

[Mon Feb 23 10:52:03 1998] [error] (2)No such file or directory:
could not open dbm auth file: /usr/local/httpd/htdocs/adr/htpasswd

[Mon Feb 23 10:52:03 1998] [error] DBM user test not found:

I did nothing special, I tried this on several new machines, several times.
I always downloaded the latest versions. (Apache, gdbm)
Actually it seems to me that there's a very good chance that this 
is working nowhere ;-). (maybe except a few sites)
except for a few
I'm not a expierenced programmer, so, no idea
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message