Tags:
create new tag
, view all tags

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

TWiki version: TWikiBetaRelease2004x05x07
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Linux kernel 2.4.26
Web server: Apache/1.3.29
Perl version: 5.8.2
Client OS: Debian Linux kernel 2.4.26
Web Browser: Mozilla Firefox 0.8

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

Topic revision: r5 - 2004-08-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.