plugin:authad
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:authad [2023-02-28 21:41] – Aleksandr | plugin:authad [2025-04-01 11:36] (current) – [Web Server] gssapi setup andi | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : Auth | type : Auth | ||
- | lastupdate : 2014-04-03 | + | lastupdate : 2023-04-04 |
compatible : (bundled) | compatible : (bundled) | ||
depends | depends | ||
Line 43: | Line 43: | ||
===Apache=== | ===Apache=== | ||
- | If you're using Apache on Ubuntu or Debian, just install the '' | + | If you're using Apache on Ubuntu or Debian, just install the '' |
Line 63: | Line 63: | ||
===Other=== | ===Other=== | ||
- | If you're using a web server other than Apache or IIS7, you have to figure it out yourself. :( Please update this article if you succeed. | + | If you're using a web server other than Apache, Nginx, |
===== Configuration===== | ===== Configuration===== | ||
Line 120: | Line 120: | ||
==Other options== | ==Other options== | ||
- | Any other options given in '' | + | Any other options given in '' |
In combination with Single-Sign-On, | In combination with Single-Sign-On, | ||
Line 154: | Line 154: | ||
===== User Profile and Password Changes ===== | ===== User Profile and Password Changes ===== | ||
- | Users can change their user details (name, email and passwords) using the profile button. This may require to set up a privileged user through the '' | + | Users can change their user details (name, email and passwords) using the profile button. This may require to set up a privileged user through the '' |
Please note that DokuWiki' | Please note that DokuWiki' | ||
Line 335: | Line 335: | ||
klist | klist | ||
kdestroy | kdestroy | ||
- | (If you get any errors here, make sure your DNS setup is working and you wrote all marked as " | + | </ |
- Create a keytab file for your DokuWiki server. Make sure you have created a non-admin user in Active Directory with no password expiration. Run this as a Domain Admin on a Windows server with Support Tools installed: < | - Create a keytab file for your DokuWiki server. Make sure you have created a non-admin user in Active Directory with no password expiration. Run this as a Domain Admin on a Windows server with Support Tools installed: < | ||
- If no errors occurred, copy the keytab file to / | - If no errors occurred, copy the keytab file to / | ||
+ | - Check if authentication via the keytab file works < | ||
+ | kinit -k -t / | ||
+ | kdestroy | ||
+ | </ | ||
- Create / | - Create / | ||
< | < | ||
Line 362: | Line 366: | ||
* Review this instruction from start to end. See reference links where possible. | * Review this instruction from start to end. See reference links where possible. | ||
+ | === Kerberos via GSSAPI on Apache (Linux) === | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | <code apache> | ||
+ | < | ||
+ | # Kerberos Auth | ||
+ | AuthType GSSAPI | ||
+ | AuthName " | ||
+ | GssapiCredStore keytab:/ | ||
+ | GssapiAllowedMech krb5 | ||
+ | GssapiBasicAuth On | ||
+ | GssapiBasicAuthMech krb5 | ||
+ | GssapiLocalName On | ||
+ | # If you need to restrict to specific realms | ||
+ | # GssapiAcceptorName HTTP/ | ||
+ | Require valid-user | ||
+ | </ | ||
+ | </ | ||
==== Browser ==== | ==== Browser ==== | ||
Line 390: | Line 414: | ||
Some plug-ins may not gracefully work once you've switched over to the ad auth backend. Specifically, | Some plug-ins may not gracefully work once you've switched over to the ad auth backend. Specifically, | ||
- | Due to [[http:// | + | Due to [[http:// |
plugin/authad.1677616878.txt.gz · Last modified: by Aleksandr