I'm moving our system to a new computer (RH7.3), on old computer I have had
Apache compiled by myself but now wanted to try out RPM, apache-1.3.23-14.

The problem is that authentication using DBM doesn't work anymore. I have
uncommented LoadModule dbm_auth_module and AddModule mod_auth_dbm.c
lines from httpd.conf, .htaccess is copied from old system:
AuthType Basic
AuthName "Nothing"
AuthDBMUserFile /abc/passwd
order deny,allow
deny from all
allow from m.y.i.p
require valid-user

and passwd file is from old system too, file passwd says "GNU dbm 1.x or ndbm
database, little endian". Now, when I try to log in error message in 
error_log is
[Mon Aug 12 15:19:03 2002] [error] [client m.y.i.p] (2)No such file or 
directory: could
not open dbm auth file: /abc/passwd

If I rename passwd to passwd.db keeping /abc/passwd in .htaccess I get
[Mon Aug 12 15:20:22 2002] [error] [client m.y.i.p] (22)Invalid argument: 
could not
open dbm auth file: /abc/passwd

If I create new passwd file using dbmmanage, filetype is same as well as 
error messages.

Both Apache and Perl RPMs require libgdbm.so.2 so I would like to think 
they use
same DBM-format.

I'd prefer to stick with DBM since we've got quite many users in that database.

Thanks in advance!



-- 
Simo Varis - [EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to