[pmwiki-users] Problem With AuthUser

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 12 09:03:37 CST 2005


On Mon, Dec 12, 2005 at 02:35:46PM +0000, Alan Perryman wrote:
> In my test wiki's .htpasswd file so far I have:
> 
> Stephen Bailey:$1$im..Dd/.$LXVPImGMyDnqeJBTESHHT/
> Nick Johnson:$1$Iw1.xC0.$1iA0CqKavwfa1IEzFWwV0.
> James House:$1$BX3.0K5.$QA0OqGRgU0bijhDOta1CZ/
> John Miles:$1$Dz0.Qp/.$BH6uPo7a12ZgMDmTh5tPZ.
> Derry Birse:$1$jR1.wl/.$MmDDk3C6./Lxij.7be5Ku.
> Dave Test:$1$iU3.Dz1.$aPCjq./rHgsFNR/391cdU.
> 
> @editors: Stephen Bailey, James House, Dave Test
> $DefaultPasswords['edit'] = @editors

AuthUser doesn't like having spaces in usernames, sorry about
that.  I suspect this is true for the vast majority of identity management
systems.  (If you're needing a way to have the author name be automatically
set, we can work on that.)

Also, at the moment @groups have to be defined in the 
Site.AuthUser page, not in .htpasswd files (since normal Apache
.htpasswd files don't use anything more than simple username/password
pairs).

> and in the config.php I have
> 
> $AuthUser['htpasswd'] = 'local/0.htpasswd';
> $DefaultPasswords['edit'] = 'local/0.htpasswd';
> ## $DefaultPasswords['edit'] = @editors ## incorrect line
> include_once('scripts/authuser.php');

This ought to be:

    $AuthUser['htpasswd'] = 'local/0.htpasswd';
    $DefaultPasswords['edit'] = '@editors';
    include_once('scripts/authuser.php');

Pm




More information about the pmwiki-users mailing list