You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/08/14 15:01:39 UTC
Re: WWW Form Bug Report: "mod_dbm_auth break in apache > 0.8.16" on Solaris 2.x (fwd)
acked. There's a suggestion at the end..
----- Forwarded message from andy@webindonesia.com -----
Date: Wed, 14 Aug 1996 08:32:56 -0400 (EDT)
From: andy@webindonesia.com
To: Rob Hartill <ro...@imdb.com>
cc: apache-bugs%apache.org@organic.com
Subject: Re: WWW Form Bug Report: "mod_dbm_auth break in apache > 0.8.16" on Solaris 2.x
On Wed, 14 Aug 1996, Rob Hartill wrote:
> andy@webindonesia.com wrote:
> >
> >Submitter: andy@webindonesia.com
> >Operating system: Solaris 2.x, version:
> >Version of Apache Used: apache_1.1.1
> >Extra Modules used: mod_dbm_auth
> >URL exhibiting problem:
> >
> >Symptoms:
> >--
> >dbm files created by dbmmanage
> >When accessing a protected directory it never lets
> >me in (with correct username and passwd).
> >
> >The error log shows:
> >access to /home/account/passwd2 failed for xxx.xxx.xxx.xxx
> >
> >passwd2.[pag|dir] does exist and the file permission is correct.
> >
> >truss output shows that it successfully opens passwd2.pag but it doesn't even try to open passwd2.dir
>
> Sounds like the database was created with different DB libs than apache is
> using. There are lots of different flavours of DB.. dbm, ndbm, sdbm,
> db, gdbm. None are compatible and none are portable between OSes.
>
I figured it out, it works now. Changed:
EXTRA_LIBS= -L/usr/local/db/lib -ldb
to
EXTRA_LIBS= -lc -L/usr/local/db/lib -ldb
To force it using libc dbm_open instead of the one from libdb.a
This way AuthDBUserFile and AuthDBMUserFile can co-exist.
Maybe this one could be usefull somewhere in the docs or faq...
I'm on sparc running Solaris 2.5
Thank's!
-Andy