Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


drupal7 Plugin for DokuWiki

Drupal 7 backend authentication for Dokuwiki

All documentation for this plugin can be found at

If you install this plugin manually, make sure it is installed in
lib/plugins/drupal7/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info
on how to install plugins in DokuWiki.

Copyright (C) big_smile_21 <big_smile_21@hotmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

See the COPYING file in your DokuWiki folder for details

How to install the Drupal 7 backend authentication plugin for Dokuwiki

1) Copy the content of the drupal7 folder to <dokuwiki root>/lib/plugins/drupal7/.
2) Configure <dokuwiki root>/lib/plugins/drupal7/conf/default.php:
	- Fill in the database host server at $conf['server'] = '<host>';
	- Fill in the username of the database at $conf['user'] = '<username>';
	- Fill in the associated password at $conf['password'] = '<password>';
	- Fill in the name of the Drupal 7 database at $conf['database'] = '<database>';
	- Fill in the table prefix of the Drupal 7 database (this is chosen during the Drupal 7 installation process) at $conf['db_prefix'] = '<table prefix>';
3) Login on the administrator account on Dokuwiki
4) Go to admin => Configuration settings:
	- Set 'Authentication backend' to 'drupal7_auth'
	- Add to 'superuser' the Drupal 7 administration role(s) preceded by a '@' in a comma separated list. 
	E.g. if 'admin' is the original Dokuwiki administration group and 'administrator' is the only Drupal 7 role with administration rights, the field should read '@admin, @administrator'.

How to use the Drupal 7 backend authentication plugin for Dokuwiki

Users that are authenticated at the Drupal 7 website are also automatically authenticated at the Dokuwiki part of the website. Note that users cannot login using the Dokuwiki login fields. Note that the original administration account of Dokuwiki is disabled aswell. For administering administration access refer to 'How to install the Drupal 7 backend authentication plugin for Dokuwiki' section above.