You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by John Malouf <jm...@imall.com> on 1999/07/28 21:30:06 UTC

mod_auth-any/4786: can't authenticate users from gdbm files

>Number:         4786
>Category:       mod_auth-any
>Synopsis:       can't authenticate users from gdbm files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jul 28 12:40:00 PDT 1999
>Last-Modified:
>Originator:     jmalouf@imall.com
>Organization:
apache
>Release:        1.3.6
>Environment:
Solaris 2.6 (SunOS ww02.imall.com 5.6 Generic_105181-07 sun4u sparc)
compiler: gcc 2.8.1
gdbm: 1.7.3
>Description:
[Wed Jul 28 12:07:39 1999] [error] [client 209.63.195.8] (2)No such file or directory: could not open dbm auth file: /web/db/userdbs/woodfamily
We've compiled Apache 1.3.6 with gdbm support, but get the following errors when trying to authenticate.

[Wed Jul 28 12:07:39 1999] [error] [client 209.63.195.8] DBM user dale not found: /web/html/stores/woodfamily/inc
[Wed Jul 28 12:07:43 1999] [error] [client 209.63.195.8] (2)No such file or directory: could not open dbm auth file: /web/db/userdbs/woodfamily
[Wed Jul 28 12:07:43 1999] [error] [client 209.63.195.8] DBM user dale not found: /web/html/stores/woodfamily/inc

The contents of the file are below:
admin: byMVkOkdnxV4U
apw: q8vFYoMsCW.Ow
dale: om.UxVnd8WHog

We have no problems authenticating from a text file.  Also, Apache 1.3.4 (which we currently use),
authenticates with no problems using the same gdbm files.
>How-To-Repeat:
(gdbm error)
http://el02.imall.com/stores/woodfamily/inc/
username: dale
password: ebar

(text file works)
http://el02.imall.com/accesslog/
username: bigguy
passwd: go4it
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]