ID: 22806 User updated by: anj at aps dot anl dot gov Reported By: anj at aps dot anl dot gov -Status: Feedback +Status: Open Bug Type: *Encryption and hash functions Operating System: Solaris 8 PHP Version: 4.3.1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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' ------------------------------------------------------------------------ [2003-03-20 17:27:57] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I can not reproduce this. If this happens with the latest stable snapshot, please add your configure line here. ------------------------------------------------------------------------ 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
