<div dir="ltr">Thanks to Hans who pointed me in the right direction. I've now fixed my problem below however I've delved into the usernames/groups issue and require a bit more prodding along.<br><br>I've gone into my SiteAdmin.AuthUser section and followed the appropriate directions. I've enabled my extension in my config.php.<br>
<br>I have a list of users in there with their password encrypted correctly. I think this is done right. I also have set those users into a group called @esupport<br>I think I've done that correctly. I've copied what I have below<br>
<h2 style="margin-left: 80px;">Authorization groups</h2>
<p style="margin-left: 80px;">Authorization groups are specified with a leading "@" sign. Define
either the login accounts belonging to a group or the groups for a
login account:
</p>
<pre style="margin-left: 80px;"> # @writers: alice, bob <br> # carol: @editors, @writers<br> # @admins: alice, dave<br></pre><p style="margin-left: 80px;" class="vspace">@esupport: tim, rob, mattp, liz, mattj, davef, daveb, anthony, roge</p>
<p style="margin-left: 80px;" class="vspace"><br></p><p class="vspace">In my config.php I have the following<br></p><div style="margin-left: 80px;">## This does the Various User Groups I'm doing<br>include_once("$FarmD/scripts/authuser.php");<br>
<br>## You'll probably want to set an administrative password that you<br>## can use to get into password-protected pages. Also, by default <br>## the "attr" passwords for the PmWiki and Main groups are locked, so<br>
## an admin password is a good way to unlock those. See PmWiki.Passwords<br>## and PmWiki.PasswordsAdmin.<br>$DefaultPasswords['admin'] = 'encryptedpass';<br>$DefaultPasswords['attr'] = 'encryptedpass';<br>
$DefaultPasswords['edit'] = '@esupport';<br>$DefaultPasswords['read'] = '@esupport';<br><br>$ForbiddenPasswords = array('yyy', 'zzz');<br>if (in_array(@$_POST['authpw'], $ForbiddenPasswords)) <br>
unset($_POST['authpw']);<br><br></div>I can't log in with the various names I've set. What am I missing or what have I done wrong?<br><br>Thanks all!<br><br>Peter<br><div><div><div><br><div class="gmail_quote">
On Mon, Sep 29, 2008 at 8:05 PM, Peter <span dir="ltr"><<a href="mailto:redfive@gmail.com">redfive@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">This hopefully will be an easy question. I've looked over the Passwords part on the website but I can't find my answer.<br><br>I'm trying to change the password on my Wiki and I'm having a bit of trouble. Below is part of my config.php and let me explain what's happening. My admin password (qqq) works fine. My attr password is the same so it works fine. My edit password (xxx) is given out to my employees and it's not fine.<br>
<br>The problem began when I wanted to change the old edit password (yyy) since we had a bit of a turnover in staff and I didn't want any wiki vandalism. Currently the 'yyy' password will get you edit privileges into the site and I don't want it to. When I uncomment out the ForbiddenPasswords section suddenly the new edit password 'xxx' fails to work. They are completely different passwords. The 'zzz' password is quite similar to the 'yyy' password and hence it's there also in case any guesswork is attempted and to also remind me not to use that one. To fix my issue where nobody can log in but myself I have to comment out the ForbiddenPasswords section.<br>
<br>My question is where is the 'yyy' password being stored that also knocks out the 'xxx' password?<br><br>$DefaultPasswords['admin'] = crypt('qqq');<br>$DefaultPasswords['attr'] = crypt('qqq');<br>
$DefaultPasswords['edit'] = crypt('xxx');<br><br>##$ForbiddenPasswords = array('yyy', 'zzz');<br>##if (in_array(@$_POST['authpw'], $ForbiddenPasswords)) <br>##unset($_POST['authpw']);<br>
</div>
</blockquote></div><br></div></div></div></div>