Bug #2115
closed
mhash is depreciated in PHP 5.3 and must be changed
Added by Warren Baker almost 13 years ago.
Updated over 12 years ago.
Description
During the General Wizard setup after you specify the password the following error is returned:
Fatal error: Call to undefined function mhash() in /etc/inc/auth.inc on line 499
mhash was supposedly moved into the base of php 5.3. Will need to see why that's missing, as it is no longer a separate module, and doesn't appear to be an option on the port that could have been disabled.
- Subject changed from General Setup Wizard to mhash is depreciated in PHP 5.3 and must be changed
We only have two mhash calls, may not be too hard to convert to whatever is available.
etc/inc/auth.inc: $user['nt-hash'] = bin2hex(mhash(MHASH_MD4, $ustr));
etc/inc/ntlm_sasl_client.inc: $md4=mhash(MHASH_MD4,$unicode);
- Status changed from New to Feedback
- % Done changed from 0 to 90
This needs just more testing now.
- Parent task deleted (
#2109)
This should be OK with images made today. Confirmed working on new images. Must be running on images with updated PHP 5.3 from the date of this post or newer, can't gitsync up to get the fix as it's a binary change.
yup, I was able to change the admin password and create a new user after firmware upgrading to pfSense-Full-Update-2.1-DEVELOPMENT-i386-20120226-1331
- Status changed from Feedback to Resolved
Also available in: Atom
PDF