On Fri, 6 Sep 2002, [iso-8859-2] Tom� Proch�zka wrote:
> Problem: Sometimes, although user entered correct password, is
> authentication rejected. I tried logging values of $real_pass and
> $test_pass and they differed. When I add line
Did anyone figure this out?
The following content handler gives a different output everytime I
restart my threaded mod_perl 2.0. Dm8yjkphWW352 is the correct
answer; I get that after about a third of the restarts.
- ask
package Develooper::MT::Test;
use strict;
use warnings;
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::Const -compile => 'OK';
my $clear = "foo";
my $salt = "Dm";
sub handler {
my $r = shift;
$r->content_type('text/plain');
my $crypted = crypt $clear, $salt;
$r->print("crypt $clear, $salt = $crypted");
return Apache::OK;
}
1;
--
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();