ID:               22806
 Updated by:       [EMAIL PROTECTED]
 Reported By:      anj at aps dot anl dot gov
-Status:           Open
+Status:           Closed
 Bug Type:         *Encryption and hash functions
 Operating System: Solaris 8
 PHP Version:      4.3.1
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-03-27 15:03:59] anj at aps dot anl dot gov

This bug is present when using php4-STABLE-200303202230.

main/php_config.h does have the line
  #define HAVE_RAND_R 1

As I said before, this only occurs when I use the nsapi interface from
Sun's iPlanet server (SERVER_SOFTWARE is
iPlanet-WebServer-Enterprise/4.1); with the command-line/cgi interface
to PHP the salt is always random.

------------------------------------------------------------------------

[2003-03-24 03:38:35] [EMAIL PROTECTED]

And please check the line with HAVE_RAND_R in main/php_config.h, is it
defined to 1 ?



------------------------------------------------------------------------

[2003-03-24 03:35:00] [EMAIL PROTECTED]

Set to 'Open' when you really give the feedback of whether the snapshot
works or not.


------------------------------------------------------------------------

[2003-03-23 11:29:25] [EMAIL PROTECTED]

I cannot reproduce this. And: the nsapi module has nothing to do with
crypt.
The only difference is that PHP is always reinitialized when running as
cgi. Could be that it always uses same crypt salt since restarting the
webserver.

------------------------------------------------------------------------

[2003-03-21 17:20:28] anj at aps dot anl dot gov

After further testing I note that I can only see this problem when
using the NSAPI interface; when run through the CGI (command-line)
version it doesn't occur.  I guess that indicates the problem is with
NSAPI, so I've changed the bug category to "iPlanet related".

As I said before I'm not the sysadmin for our webserver, but I am
trying to get the php4-STABLE-200303202230 version installed to test -
I'll report back if I succeed.

The configure line on the 4.3.1 install that definitely exhibits the
problem is reported by phpinfo() as this:
'./configure' '--prefix=/opt/local/php' '--with-mysql=/usr/local/mysql'
'--with-nsapi=/usr/local/iplanet/server4'
'--with-config-file-path=/etc' '--enable-libgcc'

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22806

-- 
Edit this bug report at http://bugs.php.net/?id=22806&edit=1

Reply via email to