[pmwiki-users] authuser
Patrick R. Michaud
pmichaud at pobox.com
Tue Mar 21 09:47:31 CST 2006
On Mon, Mar 20, 2006 at 02:32:59PM -0500, Rene Paquin wrote:
> I am attempting to configure pmwiki ver2.0.13 Mysql ver 4.1 and php 5. I
> am stuck at the authentication process.
Note that authuser.php changed a fair bit from 2.0.13 to 2.1.x;
the AuthUser documentation that is online is for the 2.1 version.
(You might want to upgrade.)
> In the config.php file:
>
> ## Define usernames and passwords.
> $AuthUser['rene'] = 'testing';
You probably want crypt('testing') instead of just 'testing'.
>
> ## Enable authentication based on username.
> include_once('scripts/authuser.php');
> $DefaultPasswords['admin'] = crypt('admin');
> $DefaultPasswords['edit'] = 'id:*';
> # $DefaultPasswords['edit'] = crypt('secret');
> $DefaultPasswords['read'] = 'id:*';
The rest of this looks fine.
Pm
More information about the pmwiki-users
mailing list