Create a user topic if it does not exist yet
This plugin is of use in those cases where TWiki users are registered and authenticated externally,
for example using LDAP.
So users are not registered to TWiki using its own registration workflow and therefore don't
have a user topic in the Main web.
This plugin fills that gap and creates a user's topic if it does not yet exist.
You can customize the template that is used to create a new user topic
by setting the
preference variable (e.g. in TWikiPreferences
If not set, it defaults to NewUserTemplate. This plugin comes with an example template,
, to illustrate how to extract user data from an LDAP directory and integrate
the information into the user's topic dynamically. You will need to install the
and the TWiki:Plugins/GluePlugin
to make use of it.
On creation of the user home topic only
get expanded by default. To expand additional VARIABLES, you can use the
All percent signs have to be escaped by
, deeper recursion levels may
, too. Multiline EXPANDs are not supported.
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Like many other TWiki extensions, this module is shipped with a fully
automatic installer script written using the BuildContrib.
- If you have TWiki 4.2 or later, you can install from the
configure interface (Go to Plugins->Find More Extensions)
- If you have any problems, then you can still install manually from the command-line:
- Download one of the
- Unpack the archive in the root directory of your TWiki installation.
- Run the installer script (
perl <module>_installer )
configure and enable the module, if it is a plugin.
- Repeat for any missing dependencies.
- If you are still having problems, then instead of running the installer script:
- Make sure that the file permissions allow the webserver user to access all files.
- Check in any installed files that have existing
,v files in your existing install (take care not to lock the files when you check in)
- Manually edit LocalSite.cfg to set any configuration variables.
This work is partly funded by T+T Hennerich GmbH
Related Topics: NewLdapUserTemplate