<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18702">
</head>
<body>
<div><font size="2" face="Arial"><span class="565050415-10112011">Hi,</span></font></div>
<div><font size="2" face="Arial"><span class="565050415-10112011"></span></font> </div>
<div><font size="2" face="Arial"><span class="565050415-10112011">We have a pmwiki site (version 2.2.0) that has been up for a few years. Recently we upgraded to RedHat 5 and PHP 5.3.7, after that the password protection is not working any more. To help figure
 out the problem, I've set up a new pmwiki 2.2.34, and use the simple config file with
</span></font></div>
<div><font size="2" face="Arial"><span class="565050415-10112011"></span></font> </div>
<div><font size="2" face="Arial"><span class="565050415-10112011">$DefaultPasswords['edit'] = crypt('operations');</span></font></div>
<div><font size="2" face="Arial"><span class="565050415-10112011"></span></font> </div>
<div><font size="2" face="Arial"><span class="565050415-10112011">and</span></font></div>
<div><font size="2" face="Arial"><span class="565050415-10112011"></span></font> </div>
<div><font size="2" face="Arial"><span class="565050415-10112011">$EnableDiag = 1;</span></font></div>
<div><font size="2" face="Arial"><span class="565050415-10112011"></span></font> </div>
<div><font size="2" face="Arial"><span class="565050415-10112011">but still the Edit is open to everyone and never got a password prompt. When I changed
<span class="565050415-10112011">$DefaultPasswords['edit'] <a href="mailto:='@lock'">
='@lock'</a> and the password was prompted. I notice there are some discussions about the new crypt() in php 5.3 and doubt if it's related to the issue I am having. Here is the test pmwiki I set up
<a href="http://newsletter.vaughanpl.info/pmwiki/pmwiki.php">http://newsletter.vaughanpl.info/pmwiki/pmwiki.php</a>. Can someone provide a help? Do I have to downgrade to php 5.2?</span></span></font></div>
<div><font size="2" face="Arial"><span class="565050415-10112011"><span class="565050415-10112011"></span></span></font> </div>
<div><font size="2" face="Arial"><span class="565050415-10112011"><span class="565050415-10112011">Any comments or suggestions would be appreciated!!</span></span></font></div>
<div> </div>
<div align="left"><font size="2" face="Arial"><span class="565050415-10112011">Yue</span></font></div>
<br>
<hr>
<font face="Arial" color="Blue" size="1">This e-mail, including any attachment(s), may be confidential and is intended solely for the attention and information of the named addressee(s). If you are not the intended recipient or have received this message in
 error, please notify me immediately by return e-mail and permanently delete the original transmission from your computer, including any attachment(s). Any unauthorized distribution, disclosure or copying of this message and attachment(s) by anyone other than
 the recipient is strictly prohibited.<br>
</font>
</body>
</html>