You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Wilfredo Sánchez <ws...@wsanchez.net> on 2002/11/29 11:53:32 UTC

httpd 2.0.44 and 2.1.0 crash in mod_auth_digest

   While fiddling around around to get digest auth working again, I 
tried this config:

         AuthType Digest
         AuthName "wsanchez.net"
         AuthDigestDomain http://www.wsanchez.net/ 
http://dav.www.wsanchez.net/
         #AuthDigestFile /etc/httpd/auth_digest

   Basically, I commented out AuthDigestFile since it's no longer 
recognized.  I didn't expect it to work, of course, but even better, it 
crashes the server.  Backtrace below.

	-wsv


(gdb) bt
#0  get_hash (r=0x623260, user=0x624b68 "wsanchez", conf=0x5a57e8) at 
mod_auth_digest.c:1486
#1  0x00280990 in authenticate_digest_user (r=0x623260) at 
mod_auth_digest.c:1866
#2  0x00012fd0 in ap_run_check_user_id (r=0x623260) at request.c:112
#3  0x00013c2c in ap_process_request_internal (r=0x623260) at 
request.c:254
#4  0x00007820 in ap_process_request (r=0x623260) at http_request.c:286
#5  0x00002798 in ap_process_http_connection (c=0x61d278) at 
http_core.c:293
#6  0x00018400 in ap_run_process_connection (c=0x61d278) at 
connection.c:85
#7  0x00008f2c in child_main (child_num_arg=0) at prefork.c:696
#8  0x000090c0 in make_child (s=0x150318, slot=4) at prefork.c:790
#9  0x0000936c in perform_idle_server_maintenance (p=0x0) at 
prefork.c:925
#10 0x000097d0 in ap_mpm_run (_pconf=0x2, plog=0x2821a0, s=0x39df0) at 
prefork.c:1120
#11 0x0000aed4 in main (argc=5, argv=0xbffffb88) at main.c:651
#12 0x000020e8 in _start (argc=5, argv=0xbffffb88, envp=0xbffffba0) at 
/SourceCache/Csu/Csu-45/crt.c:267
#13 0x00001f68 in start ()


Re: httpd 2.0.44 and 2.1.0 crash in mod_auth_digest

Posted by Wilfredo Sánchez <ws...@wsanchez.net>.
On Friday, November 29, 2002, at 03:49  PM, Justin Erenkrantz wrote:

> Doesn't crash for me if AuthDigestFile or AuthUserFile isn't specified.

   Using AuthDigestFile is a syntax error now...

> Do you by any chance have mod_authn_file disabled?  It's explicitly 
> set to be 'yes' unless disabled at configure time.  If that module is 
> disabled, I think I see where the failure could be...  -- justin

...perhaps because it's disabled, yes.  I didn't change my module 
loading to keep up with the changed modules.  More reason I agree it's 
a 2.1 thing.

	-wsv


Re: httpd 2.0.44 and 2.1.0 crash in mod_auth_digest

Posted by Justin Erenkrantz <je...@apache.org>.
--On Friday, November 29, 2002 2:53 AM -0800 Wilfredo Sánchez 
<ws...@wsanchez.net> wrote:

>    While fiddling around around to get digest auth working again, I
> tried this config:
>
>          AuthType Digest
>          AuthName "wsanchez.net"
>          AuthDigestDomain http://www.wsanchez.net/
> http://dav.www.wsanchez.net/          #AuthDigestFile
> /etc/httpd/auth_digest
>
>    Basically, I commented out AuthDigestFile since it's no longer
> recognized.  I didn't expect it to work, of course, but even
> better, it crashes the server.  Backtrace below.

Doesn't crash for me if AuthDigestFile or AuthUserFile isn't 
specified.

Do you by any chance have mod_authn_file disabled?  It's explicitly 
set to be 'yes' unless disabled at configure time.  If that module is 
disabled, I think I see where the failure could be...  -- justin