tutorial:dokuwiki:ad_access

Starting TLS failed
LDAP: couldn't connect to LDAP server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:dokuwiki:ad_access [2013-07-11 23:34] roottutorial:dokuwiki:ad_access [2025-06-16 14:41] (current) – removed weichbr
Line 1: Line 1:
-{{tag>tutorial dokuwiki}} 
  
-====== Use Active Directory to authenticate with dokuwiki ====== 
- 
-**Requirements** 
-  * Dokuwiki 2013-05-10a "Weatherwax" installation 
-  * One or more Domain Controllers (DC) 
-  * Server running dokuwiki can reach the DC, (i.e. via VPN) 
-  * php-ldap plugin for PHP 
- 
----- 
- 
-**Step ~~#~~** 
-  * Connect to your server hosting dokuwiki. 
-  * Locate the dokuwiki folder, (i.e. /var/www/dokuwiki/) 
- 
----- 
- 
-**Step ~~#~~** 
-  * Go to conf/ and open local.php with your favorite text editor. 
-  * Add the following lines to it: 
-<code> 
-$conf['authtype'] = 'authad'; 
-$conf['plugin']['authad']['account_suffix'] = '@yourdomain.tld'; 
-$conf['plugin']['authad']['base_dn'] = 'DC=yourdomain,DC=tld'; 
-$conf['plugin']['authad']['domain_controllers'] = 'dc1.yourdomain.tld,123.123.123.123'; 
-</code> 
-  * Replace yourdomain.tld with your domainname, i.e. example.org or my.example.org 
-  * In line 3, for every piece of your domain, add a DC=, i.e. DC=my,DC=example,DC=org 
-  * In line 4, enter one or more DCs seperated by a comma. You can enter hostnames or IP addresses. 
- 
----- 
- 
-**Step ~~#~~** 
-TODO: How to add some accounts as wiki admins? 
- 
----- 
- 
-**Troubleshooting** 
-  * If you experience problems, you can add <code>$conf['plugin']['authad']['debug'] = 1;<code> to your local.php. This should give you some helpful error messages. 
- 
----- 
  • tutorial/dokuwiki/ad_access.1373578455.txt.gz
  • Last modified: 2018-06-03 14:10
  • (external edit)