Migration to Apache 2, DBM issue

This is a discussion on Migration to Apache 2, DBM issue within the Linux Web Servers forums, part of the Web Server and Related Forums category; I must be missing something simple so please be patient with me. I am trying to migrate from Apache 1....


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-03-2003
Doug Hubbard
 
Posts: n/a
Default Migration to Apache 2, DBM issue

I must be missing something simple so please be patient with me.
I am trying to migrate from Apache 1.3.27 to 2.0.47 (maybe 48 by the
time I get done)
I am using mod_auth_dbm to authenticate my users (I have a lot) I also
have perl scripts which manage ID/PW stuff and would rather not change
all my scripts if I don't have to.
From the setup on my system (solaris 8, perl 5.8 on my test bed and
5.61 on my production machine) I think I am using NDBM files. The
issue is that when I put the new server in place I get errors of
[Mon Nov 03 13:13:09 2003] [error] [client XXX.XXX.XXX.XXX] DBM user
UserName not found: /export/vendor/apache/docs/contest/data/results.shtml,
referer:
(IP snipped, referrer remnoved and User Name changed.)

When I put version 1.3.27 back I am authenticated with no problem. Did
something major change between 1.3 and 2.0 with regards to auth_dbm?
  #2 (permalink)  
Old 11-04-2003
Doug Hubbard
 
Posts: n/a
Default Re: Migration to Apache 2, DBM issue

doug@dougis.com (Doug Hubbard) wrote in message news:<8ee79d1d.0311031414.4fcaf063@posting.google. com>...
> I must be missing something simple so please be patient with me.
> I am trying to migrate from Apache 1.3.27 to 2.0.47 (maybe 48 by the
> time I get done)
> I am using mod_auth_dbm to authenticate my users (I have a lot) I also
> have perl scripts which manage ID/PW stuff and would rather not change
> all my scripts if I don't have to.
> From the setup on my system (solaris 8, perl 5.8 on my test bed and
> 5.61 on my production machine) I think I am using NDBM files. The
> issue is that when I put the new server in place I get errors of
> [Mon Nov 03 13:13:09 2003] [error] [client XXX.XXX.XXX.XXX] DBM user
> UserName not found: /export/vendor/apache/docs/contest/data/results.shtml,
> referer:
> (IP snipped, referrer remnoved and User Name changed.)
>
> When I put version 1.3.27 back I am authenticated with no problem. Did
> something major change between 1.3 and 2.0 with regards to auth_dbm?


After some more Testing I know something is different. If I change my
DBM file from an NDBM to an SDBM auth happens with no issues (so it
seems Apache 2 expects SDBM instead of NDBM). How do I get it to
support NDBM format (I have many different user DBs and lots of custom
code to update/manage them so changing DBM formats would be a LARGE
project)
  #3 (permalink)  
Old 11-04-2003
Doug Hubbard
 
Posts: n/a
Default Re: Migration to Apache 2, DBM issue

More testing (still no luck) I have tried adding the --with-ndbm flag to
configure when I build apache2 as well as adding the Directive of
AuthDBMType NDBM and I get a response of
(70023)This function has not been implemented on this platform: could not
open dbm (type NDBM) auth file:

Am I doing something wrong here or is this not possible (are you forced to
go from NDBM to SDBM if you want to move from 1.3 to 2.0 in Apache)

"Doug Hubbard" <doug@dougis.com> wrote in message
news:8ee79d1d.0311040804.332b2661@posting.google.c om...
> doug@dougis.com (Doug Hubbard) wrote in message

news:<8ee79d1d.0311031414.4fcaf063@posting.google. com>...
> > I must be missing something simple so please be patient with me.
> > I am trying to migrate from Apache 1.3.27 to 2.0.47 (maybe 48 by the
> > time I get done)
> > I am using mod_auth_dbm to authenticate my users (I have a lot) I also
> > have perl scripts which manage ID/PW stuff and would rather not change
> > all my scripts if I don't have to.
> > From the setup on my system (solaris 8, perl 5.8 on my test bed and
> > 5.61 on my production machine) I think I am using NDBM files. The
> > issue is that when I put the new server in place I get errors of
> > [Mon Nov 03 13:13:09 2003] [error] [client XXX.XXX.XXX.XXX] DBM user
> > UserName not found:

/export/vendor/apache/docs/contest/data/results.shtml,
> > referer:
> > (IP snipped, referrer remnoved and User Name changed.)
> >
> > When I put version 1.3.27 back I am authenticated with no problem. Did
> > something major change between 1.3 and 2.0 with regards to auth_dbm?

>
> After some more Testing I know something is different. If I change my
> DBM file from an NDBM to an SDBM auth happens with no issues (so it
> seems Apache 2 expects SDBM instead of NDBM). How do I get it to
> support NDBM format (I have many different user DBs and lots of custom
> code to update/manage them so changing DBM formats would be a LARGE
> project)



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0