[pmwiki-users] authuser
Rene Paquin
rpaquin at wlu.ca
Tue Mar 21 09:46:18 CST 2006
Yes that does fix it. Thank you. However i notice that with the
following configuration when I log in as rene/testing I can access the
admin area. I shouldnt be able to do that am I correct?
## Enable authentication based on username.
## Define usernames and passwords.
$AuthUser['rene'] = crypt('testing');
$DefaultPasswords['edit'] = 'id:*';
$DefaultPasswords['read'] = 'id:*';
$DefaultPasswords['admin'] = crypt('admin');
include_once('scripts/authuser.php');
================================
Rene Paquin, MCSE
Library Network Administrator
Wilfrid Laurier University
Waterloo, Ontario, Canada
(519)884-0710 x3795
rpaquin at wlu.ca
**********************************************
>>> "Jon Haupt" <jhaupt at gmail.com> 3/21/2006 10:09:29 AM >>>
I think you may need to include authuser.php AFTER you set everything
else, including the default passwords... and change the first password
to crypt('testing'); does that fix it?
Jon
On 3/21/06, Rene Paquin <rpaquin at wlu.ca> wrote:
>
> Sorry. That didnt work either.
>
> ================================
> Rene Paquin, MCSE
> Library Network Administrator
> Wilfrid Laurier University
> Waterloo, Ontario, Canada
> (519)884-0710 x3795
> rpaquin at wlu.ca
> **********************************************
>
>
> >>> Patrick Ogay <lists at basel-inside.ch> 3/20/2006 3:41 PM >>>
>
> >## Define usernames and passwords.
> *>$AuthUser['rene'] = 'testing';*
>
> try:
> *$AuthUser['rene'] =** crypt('testing'); /* or String from
> ?action=crypt */*
> **
> regards
> Patrick Ogay
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
--
Jon Haupt
Fine & Performing Arts Librarian
Iowa State University
152 Parks Library
Ames, IA 50011
515-294-0904
jhaupt at iastate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060321/4086917e/attachment.html
More information about the pmwiki-users
mailing list