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-11 23:33] root |
tutorial:dokuwiki:ad_access [2018-06-03 14:10] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== Use Active Directory to authenticate with dokuwiki ====== | ====== Use Active Directory to authenticate with dokuwiki ====== | ||
- | **Requirements** | + | ===== Requirements |
- | * Dokuwiki 2013-05-10a " | + | * Dokuwiki 2013-05-10a " |
* One or more Domain Controllers (DC) | * One or more Domain Controllers (DC) | ||
* Server running dokuwiki can reach the DC, (i.e. via VPN) | * Server running dokuwiki can reach the DC, (i.e. via VPN) | ||
Line 11: | Line 11: | ||
---- | ---- | ||
- | **Step ~~#~~** | + | ===== Step 1 ===== |
+ | | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Step 2 ===== | ||
* Connect to your server hosting dokuwiki. | * Connect to your server hosting dokuwiki. | ||
- | * Locate the dokuwiki folder, (i.e. / | + | * Locate the dokuwiki folder, (i.e. '' |
---- | ---- | ||
- | **Step ~~#~~** | + | ===== Step 3 ===== |
- | * Go to conf/ and open local.php with your favorite text editor. | + | * Go to '' |
* Add the following lines to it: | * Add the following lines to it: | ||
< | < | ||
$conf[' | $conf[' | ||
+ | $conf[' | ||
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
$conf[' | $conf[' | ||
</ | </ | ||
- | * Replace | + | * 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, for every piece of your domain, add a DC=, i.e. DC=my, | + | * In line 3, replace |
- | * In line 4, enter one or more DCs. You can enter hostnames or IP addresses. | + | * 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. | |
- | ---- | + | |
- | + | ||
- | **Step ~~#~~** | + | |
- | TODO: How to add some accounts as wiki admins? | + | |
---- | ---- | ||
- | **Troubleshooting** | + | ===== Troubleshooting |
- | * If you experience problems, you can add < | + | * If you experience problems, you can add '' |
---- | ---- |