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
--
TWikiGuest - 08 Feb 2006
Answer
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:
- 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
- Edit the new module, rename the package to TWiki::Users::DBM, and provide implementations of all the methods.
- Edit TWiki.cfg and add the new module as another option alongside TWiki::Users::ApacheHtpasswdUser and TWiki::Users::HtpasswdUser.
- 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