Re: [mp2.0] wrong crypt behavior

2002-10-13 Thread Ask Bjoern Hansen
On Thu, 10 Oct 2002, Ask Bjoern Hansen wrote: 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

Re: [mp2.0] wrong crypt behavior

2002-10-10 Thread Ask Bjoern Hansen
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

Re: [mp2.0] wrong crypt behavior

2002-10-10 Thread Ask Bjoern Hansen
On Thu, 10 Oct 2002, Ask Bjoern Hansen 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

Re: [mp2.0] wrong crypt behavior

2002-10-10 Thread D. Hageman
I missed part of this thread, but I have my doubts about perl's internal crypt working correctly in a threaded environment. Using 5.8.0 threaded for the x86 platform / mod_perl 1.27 that on an uniprocessor machine it would produce correct results most of the time, but on a multiprocessor

Re: [mp2.0] wrong crypt behavior

2002-10-03 Thread Rick Bradley
On Fri, 6 Sep 2002 08:23:33 +0200 Toma'? Procha'zka [EMAIL PROTECTED] wrote: For comparsion of password user entered and password stored in database is crypt function used. Here is the code: my $real_pass = $d-[0][0]; # crypted password from database my $salt = substr $real_pass,0,2; #

Re: [mp2.0] wrong crypt behavior

2002-09-06 Thread Enrico Sorcinelli
On Fri, 6 Sep 2002 08:23:33 +0200 Tomá¹ Procházka [EMAIL PROTECTED] wrote: Hello, I use own PerlAuthenHandler module to verify users' login and password from database. For comparsion of password user entered and password stored in database is crypt function used. Here is the code: my

Re: [mp2.0] wrong crypt behavior

2002-09-06 Thread Tom Prochzka
Fri, Sep 06, 2002 ve 09:57:01AM +0200 Enrico Sorcinelli napsal(a): On Fri, 6 Sep 2002 08:23:33 +0200 Tom? Prochzka [EMAIL PROTECTED] wrote: Hello, I use own PerlAuthenHandler module to verify users' login and password from database. For comparsion of password user entered and

[mp2.0] wrong crypt behavior

2002-09-05 Thread Tom Prochzka
Hello, I use own PerlAuthenHandler module to verify users' login and password from database. For comparsion of password user entered and password stored in database is crypt function used. Here is the code: my $real_pass = $d-[0][0]; # crypted password from database my $salt = substr