www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject Re: mod_auth-any/7234: DBM authentication looks for the wrong files
Date Wed, 14 Feb 2001 01:47:03 GMT
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]

Synopsis: DBM authentication looks for the wrong files

State-Changed-From-To: open-closed
State-Changed-By: slive
State-Changed-When: Tue Feb 13 17:47:03 PST 2001

I am not an expert in this area, but if you look at the
mod_auth_dbm code, you will see that Apache passes the
exact contents of the AuthDBMFile directive to the
dbm_open routines.  It is the dbm libraries on your
system that decide how exactly that maps into a filename.
You can usually find more information about how your
operating system deals with this using "man dbm_open".
In general, there is not a problem because whatever
method you use to create the dbm file (eg dbmmanage)
should use the same dbm_* calls, and therefore map to
filenames in exactly the same way.  Problems do arise
when apache and the dbm creator use conflicting libraries.

Unfortunately, it is necessary to have some knowledge about
how your system handles dbm files in order to make use
of mod_auth_dbm.  Because of the different ways different
systems handle this, it would be impossible to document
all the possibilities.  The documentation could certainly
use improving, so if you have any specific suggestions, 
please feel free to let us know.

Thanks for using Apache!

Release-Changed-From-To: 1.3.17, probably more-1.3.17
Release-Changed-By: slive
Release-Changed-When: Tue Feb 13 17:47:03 PST 2001

View raw message