Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:dokuwiki:ad_access [2013-07-13 20:01] – root | tutorial:dokuwiki:ad_access [2025-06-16 14:41] (current) – removed weichbr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | ||
- | ====== Use Active Directory to authenticate with dokuwiki ====== | ||
- | |||
- | **Requirements** | ||
- | * Dokuwiki 2013-05-10a " | ||
- | * One or more Domain Controllers (DC) | ||
- | * Server running dokuwiki can reach the DC, (i.e. via VPN) | ||
- | * php-ldap plugin for PHP | ||
- | |||
- | ---- | ||
- | |||
- | **Step ~~#~~** | ||
- | * Add a group to Active Directory and add all users who should get wiki admin rights to it. | ||
- | |||
- | ---- | ||
- | |||
- | **Step ~~#~~** | ||
- | * Connect to your server hosting dokuwiki. | ||
- | * Locate the dokuwiki folder, (i.e. / | ||
- | |||
- | ---- | ||
- | |||
- | **Step ~~#~~** | ||
- | * Go to conf/ and open local.php with your favorite text editor. | ||
- | * Add the following lines to it: | ||
- | < | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | $conf[' | ||
- | </ | ||
- | * In line 2, add your AD group name which holds the admin users; replace every space with an underscore and keep the @ at the start. | ||
- | * In line 3, replace yourdomain.tld with your domainname, i.e. example.org or my.example.org | ||
- | * In line 4, for every piece of your domain, add a DC=, i.e. DC=my, | ||
- | * In line 5, enter one or more DCs seperated by a comma. You can enter hostnames or IP addresses. | ||
- | |||
- | ---- | ||
- | |||
- | **Troubleshooting** | ||
- | * If you experience problems, you can add < | ||
- | |||
- | ---- |