Tags:
create new tag
view all tags

Question

Hello,

I am trying to upgrade a TWiki to TWiki release 4. The problem is that my current TWiki uses DBM files (AuthDBUserFile) for authentication via the DBMmanage patch. As far as I can tell, there is no support in TWiki release 4 for DBM file authentication, and so much has changed that the instructions provided with the DBMmanage patch are no longer accurate.

So, considering this, how can I upgrade to TWiki version 4 and continue to authenticate with DBM files? Has anyone developed any work arounds yet?

I would really appreciate your help on this matter. Thanks in advance!

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: CommentPlugin, DefaultPlugin, EditTablePlugin, EmptyPlugin, InterwikiPlugin, PreferencesPlugin, RenderListPlugin, SessionPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin, WysiwygPlugin
Server OS: Linux
Web server: Apache
Perl version: v5.8.0
Client OS: Windows
Web Browser: Firefox
Categories: Authentication

-- TWikiGuest - 08 Feb 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Which Add-on/Plugin are you refering to? Probably good to post this question to the relevant *Dev topic.

-- PeterThoeny - 08 Feb 2006

I'm referring to the patch to add DBM user database handling developed by CloyceSpradling and discussed in the AddDBMFileHandling topic.

-- TWikiGuest - 08 Feb 2006

AFAIK no-one has reworked this patch. TWiki-4 doesn't actually require a patch. Here's what needs to be done:

  1. Create a new password handler module by copying lib/TWiki/Users/Password.pm to a new module name e.g. lib/TWiki/Users/DBMUser.pm
  2. Edit the new module, rename the package to TWiki::Users::DBM, and provide implementations of all the methods.
  3. Edit TWiki.cfg and add the new module as another option alongside TWiki::Users::ApacheHtpasswdUser and TWiki::Users::HtpasswdUser.
  4. You might consider bundling it as DBUserContrib, so other users can benefit from your improvement. Don't forget to add tests!

-- CrawfordCurrie - 12 Mar 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-03-12 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.