access_control1Add my vote for this tag database1Add my vote for this tag create new tag
, view all tags


This is a plugin you can use to have new users automatically added to one or more groups stored in a DBM file. Apache can use these files for access control.

Syntax Rules




Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %ADDDBMGROUPPLUGIN_SHORTDESCRIPTION%

Note: Until GROUP_FILE is set, this plugin is effectively disabled.

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin can be used to add a user's name to an Apache group when DBM files are being used for access control.

  • The full path to the DBM file that holds the group database:
    • Set GROUP_FILE =

  • A comma-separated list of Perl modules to try when opening the DB file. The default (which is the same as in Apache's dbmmanage script) handles all of the common cases.
    • Set DBM_MODULES = DB_File, NDBM_File, GDBM_File, SDBM_File

  • The group or groups to which new users will automatically be added. The value USER! is special; it will be replaced with the user's WikiName.
    • Set WIKI_GROUP = USER!, wikiusers

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip AddDBMGroupPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/AddDBMGroupPlugin.txt Plugin topic
    data/TWiki/AddDBMGroupPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/AddDBMGroupPlugin.pm Plugin Perl module
  • Edit AddDBMGroupPlugin to configure the plugin settings
  • Register a new user and verify that they've been added to the correct group(s). Check data/warning.txt for clues about any failures.

Plugin Info

Plugin Author: TWiki:Main/CloyceSpradling
Plugin Version: 02 Jan 2005 (V1.000)
Change History:  
02 Jan 2005: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.024
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: GoodStyle 99%, FormattedSearch 99%, AddDBMGroupPlugin 98%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/AddDBMGroupPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/AddDBMGroupPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/AddDBMGroupPluginAppraisal

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/CloyceSpradling - 02 Jan 2005

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 AddDBMGroupPlugin.md5 r2 r1 manage 0.2 K 2008-12-12 - 11:01 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz AddDBMGroupPlugin.tgz r2 r1 manage 4.4 K 2008-12-12 - 11:00 SopanShewale See AddDBMGroupPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip AddDBMGroupPlugin.zip r3 r2 r1 manage 5.8 K 2008-12-12 - 11:01 SopanShewale See AddDBMGroupPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatEXT AddDBMGroupPlugin_installer r2 r1 manage 3.4 K 2008-12-12 - 11:01 SopanShewale Installer Script, Uploaded as a part of Release Process
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-12-12 - SopanShewale
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.