Skip to content

bverhagen/drupal7auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

drupal7 Plugin for DokuWiki

Drupal 7 backend authentication for Dokuwiki

All documentation for this plugin can be found at
https://github.com/bverhagen/drupal7auth/wiki

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) Bart Verhagen <barrie.verhagen@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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
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.

About

Drupal 7 authentication backend for Dokuwiki

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages