[pmwiki-users] Problem With AuthUser

Alan Perryman A.Perryman at student.manchester.ac.uk
Mon Dec 12 09:16:56 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.)

Thats OK - the wiki will be a fairly standalone system; at the moment the
user names are set as "Firstname Surname" but I can always change that.

In the future I'd like to be able to pull groups and users from a database
of somekind so that the admin processes are easy for newcomers and
directors.

>
> 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

Thanks for the quick response.

Alan P






More information about the pmwiki-users mailing list