[pmwiki-users] authuser

Neil Herber nospam at eton.ca
Tue Jun 21 11:39:12 CDT 2005


At 2005-06-21  05:28 PM +0100, Hans is rumored to have said:
>Maybe my problem lies in a confusion of where and how to set the
>password.
>
>I just set in config.php
>    $DefaultPasswords['edit'] = 'id:hans';
>
>and it worked! The password for 'hans' is in local/.htpasswd.
>
>It does not work if
>    $DefaultPasswords['edit'] = crypt('apassword');
>
>with a general default password for 'edit' set, the password for an
>individual username does not work. Only the general one, and then it
>does not matter what username is entered.
>
>so it seems I would need to create a password file with a list of
>users and passwords, and enable them by setting
>$DefaultPasswords[edit] = 'id:user1,user2,user3,etc';
>??
>or am I missing here something?
>
>Best,
>~Hans

In theory, you should be able to enter
         $DefaultPasswords[edit] = 'id:*';
to match any username in the password file, but it doesn't work for me!


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 




More information about the pmwiki-users mailing list