www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuele KIRSCH <Manuele.Kirsch_Pinhe...@inrialpes.fr>
Subject mod_auth-any/9433: DBM authentication doen't work anymore
Date Thu, 10 Jan 2002 14:33:58 GMT

>Number:         9433
>Category:       mod_auth-any
>Synopsis:       DBM authentication doen't work anymore
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jan 10 06:40:01 PST 2002
>Originator:     Manuele.Kirsch_Pinheiro@inrialpes.fr
>Release:        1.3.22
SO: Redhat linux 7.1 i686
Kernel: 2.2.16-22
Apache packages (rpm): apache-devel-1.3.22-1.7.1

[root@gnome /root]# httpd -V
Server version: Apache/1.3.22 (Unix)  (Red-Hat/Linux)
Server built:   Nov 15 2001 15:52:57
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D EAPI_MM_CORE_PATH="/var/run/httpd.mm"
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 -D DEFAULT_XFERLOG="/var/log/httpd/access_log"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"


I had an apache server (DAV/1.0.2 configured) working very well until yesterday, when I tried
to make some small changes in httpd.conf. I restored the httpd.conf backup, but the DBM auth
doesn't work anymore. 

My httpd.conf file :
User kirschpi
Group opera
<IfModule mod_dav.c>
    DAVLockDB /var/log/httpd/DAVLock
    DAVMinTimeout 600
    Alias /pub /var/www/html/pub
    <Location /pub>
    	#EnablePut On
    	DAV On
    	AuthType Basic
    	AuthName DAVPUT
    	AuthDBMUserFile /etc/httpd/conf/users
    	EnableDelete Off
    	umask 007
    	<Limit PUT>
		require valid-user

My user file (created by a perl script - I used ddb for verify it):
lrwxrwxrwx    1 kirschpi opera           8 Jan 10 16:30 users -> users.db
-rw-r--r--    1 kirschpi opera       12288 Jan 10 15:48 users.db

And for any user, the athentication fails for DBM and in the error.log the following message
[Thu Jan 10 16:31:26 2002] [error] [client] (-30990)Unknown error 4294936306:
could not open dbm auth file: /etc/httpd/conf/users
[Thu Jan 10 16:31:26 2002] [error] [client] DBM user kirsch not found: /var/www/html/pub/tst/I.html

And, also, the following message appeared in error.log when I restarted the server :
[Wed Jan  9 17:54:12 2002] [notice] Apache/1.3.22 (Unix)  (Red-Hat/Linux) DAV/1.0.2 configured
-- resuming normal operations
[Wed Jan  9 17:54:12 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan  9 17:54:12 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)

How may I resolve this? It's urgent!



 [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!     ]

View raw message