On Thu, Feb 17, 2011 at 3:45 PM, Noel Butler <noel.butler@xxxxxxxxxx> wrote: > The change_sqlpass cracklib function in 3.3.2 will not work because of > variables error. > > In functions, the new pass is cp_newpass > but cracklib segment refers to $new_pw1 Thank you! Patch accepted. Cheers, Paul > Simple patch to correct: > > --- functions.php 2010-03-18 05:03:18.000000000 +1000 > +++ functions.php.1 2011-02-18 09:39:32.000000000 +1000 > @@ -884,7 +884,7 @@ > // > if (empty($cracklib_dict_path)) > { > - if (crack_check($new_pw1) === FALSE) > + if (crack_check($cp_newpass) === FALSE) > { > $msg = crack_getlastmessage(); > //$msg = _(crack_getlastmessage()); > @@ -895,7 +895,7 @@ > else > { > $dictionary = crack_opendict($cracklib_dict_path); > - if (crack_check($dictionary, $new_pw1) === FALSE) > + if (crack_check($dictionary, $cp_newpass) === FALSE) > { > $msg = crack_getlastmessage(); > //$msg = _(crack_getlastmessage()); > > > ... and patch is also attached in case the list screws with formatting.. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users