DokuWiki

It's better when it's simple

User Tools

Site Tools


auth:lemonldap

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
auth:lemonldap [2009-04-10 18:48] 196.12.243.184auth:lemonldap [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== LemonLDAP SSO with DokuWiki ====== 
  
-DokuWiki can be used with an [[http://wiki.lemonldap.objectweb.org|LemonLDAP]] SSO solution. 
- 
-//Note: This plugin hasn't be really tested in production for the moment, feel free to change it your own way.// 
- 
-===== Installation ===== 
- 
-Simply unpack [[http://nixtrib.fr/lemonldap_plugin.tar.gz|lemonldap_plugin.tar.gz]] and copy the lemonldap.class.php and lemonldapuserdatabackend.class.php in your inc/auth/ directory. 
- 
-//Note: The DokuWiki must be provided by the http server wheris the lemonLDAP handler.// 
- 
-===== Configuration ===== 
- 
-Very simple too, the only thing you have to change is the conf/local.php to add this line: 
- 
-<code>$conf[authtype]    = lemonldap;</code> 
- 
-That's it! 
- 
-===== LemonLDAP / DokuWiki / Apache2 VHost example ===== 
- 
-There is an example of an apache2 vhost which provides an LemonLDAP authenticated DokuWiki: 
- 
-For information, this can be an Apache2 lemon/doku config file: 
- 
-<code> 
-PerlRequire /var/lib/lemonldap-ng/handler/MyHandler.pm 
- 
-<VirtualHost *> 
-    ServerName dokuwiki.sso-lemonldap.com; 
-    PerlOptions +GlobalRequest 
-    PerlHeaderParserHandler MyHandler 
- 
-    <Files *.pl> 
-        SetHandler perl-script 
-        PerlResponseHandler ModPerl::Registry 
-        PerlSendHeader  On 
-    </Files> 
- 
-    # DocumentRoot 
-    DocumentRoot /var/www/dokuwiki.sso-lemonldap.com 
- 
-    <Directory /var/www/dokuwiki.sso-lemonldap.com> 
-        Order deny,allow 
-        #Deny from all 
-        Allow from all 
-        Options -Indexes +FollowSymLinks +MultiViews 
-    </Directory> 
- 
-    <Location /logout > 
-            PerlHeaderParserHandler MyHandler->logout 
-    </Location> 
- 
- 
-        <IfModule mod_dir.c> 
-            DirectoryIndex index.pl index.php index.html 
-        </IfModule> 
- 
-    # Logs 
-    LogLevel warn 
-    ErrorLog /var/log/apache2/dokuwikisso-lemonldap.com-error.log 
-    CustomLog /var/log/apache2/dokuwikisso-lemonldap.com-access.log combined 
- 
-</VirtualHost> 
-</code> 
auth/lemonldap.1239382090.txt.gz · Last modified: 2013-07-15 22:08 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki