[pmwiki-users] Having problems adding a user to SiteAdmin/AuthUser
Tamara Temple
tamouse.lists at gmail.com
Sat Jul 2 08:40:03 CDT 2011
On Jul 1, 2011, at 8:41 PM, Petko Yotov wrote:
> On Wednesday 29 June 2011 09:11:30, Tamara Temple wrote :
>> I have been trying to add a user to the SiteAdmin/AuthUser page and
>> having a devil of a time trying to get it to work.
>>
>> My SiteAdmin/AuthUser page source is at http://pastie.org/2138288 so
>> you can see what I'm trying to do.
>>
>> I am trying to add the user nikki, which you can see on line 20. I
>> already have user tamara working (at line 18). Further down the page,
>> you can see where I add nikki to existing groups (lines 38, 39).
>>
>> When I go to test the new login, I get "Password required" and "Name/
>> password not recognized." I am most positive I typed the name and
>> password correctly.
>
> If you get "Name/password not recognized" you may have mis-typed the
> name or
> the password -- check CAPS lock, keyboard input language or similar.
>
I did check all that, triple checked it, reset the password a few
times and triple checked it again, still no love.
> The passwords shouldn't contain characters not found in the active
> codepage:
> if your wiki is in ISO8859-1, the passwords cannot contain the €
> EURO symbol
> or a Greek letter for example. Spaces in passwords are unsupported,
> and quotes
> or apostrophes may produce unexpected results - report any problems
> to the
> PITS.
All standard ASCII lower case letters. User=nikki password=roobait
>
> There is a known issue with PHP 5 on Windows with short passwords, I
> believe 4
> characters or less - it is a bug outside PmWiki and we cannot fix it
> otherwise
> than suggest using longer passwords.
Password was 7 characters.
>
> If you have only "Password required" without "Name/password not
> recognized",
> check if the username or usergroup has the required permissions - a
> page can
> have individual passwords, different @usergroups etc., and a
> WikiGroup too.
>
It was both name and password required.
The pages I tried it on all have edit permissions set at @writers
@authors @admin. What's interesting is that the action was using was
just login, not edit, attr, or upload. I'm not exactly sure how it
works, but I would have thought any defined user would be able to
perform a login.
> Petko
I've since dumped AuthUser and have gone with UserAuth2. This worked
first time and every time for me, whereas I've had repeated problems
with AuthUser. It's pretty clear I just do not understand how AuthUser
works.
More information about the pmwiki-users
mailing list