Question
I have installed TWiki and enabled user-authentication, as per
http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide#Enabling_Authentication_of_Users
I registered as a user, using the
TWikiRegistration page (copied from
TWikiRegistrationPub)
and got the confirmation email. My user page was created and an entry appeared in data/.htpasswd.
BUT... when I click on 'Edit' on a page, I get the "Enter your
WikiName..." login dialog.
Entering my name and password, I press OK... and get the same dialog again, and again...
pressing Cancel, I get the 'Either you need to register...' page.
The .htpasswd file looks like:
MalcolmRyan:tLrFm7d5sdX0E
I have also tried using
ChangePassword (same problem) and
ResetPassword (does not fix).
I don't know whether its relevant, but if I use
ResetPassword several times with the same
password, I get different encypted entries.
Oh, and nothing is coming up in the Apache error_log.
Environment
--
MalcolmRyan - 23 Jun 2004
Answer
The encrypted entries are supposed to be always unique (never the same twice) regardless of what you enter.
Does the
TWikiGuest (password 'guest') account work?
--
MattWilkie - 23 Jun 2004
I restored the original .htpasswd file and tried this. It shows the same problem.
(But thanks for the prompt response!)
--
MR
I just used the Apache 'htpasswd' utility to create a password for me, and it works. Ie:
% htpasswd -b data/.htpasswd MalcolmRyan password
Created a working password for me.
--
MalcolmRyan - 24 Jun 2004.
There are different types of encryption for the password, such as MD5. It looks like your Apache expects a different type. Check the Apache settings, then set the type in TWiki.cfg's
$htpasswdFormatFamily
--
PeterThoeny - 01 Aug 2004