Installation guide for CasLdapAuthSPIP
1. Pre-installation tasks2. cfg3. Installation4. Configuration5. TODO

1. Pre-installation tasks

SPIP is an web application programmed in php, it need next tools to works fine

Then install SPIP, this is easy to install, just follow next guide : SPIP Userguide.
Next, we'll assume SPIP is installed on a webserver with FTP access. $SPIP_HOME is the root directory of your SPIP instance on this machine.

CasLdapAuthSPIP has been validated with SPIP 1.9.2a, phpCAS 0.5.1-1, running under Apache 2, PHP5 and MySQL 5. LDAP directory was OpenLDAP 2.2.26, and CAS server CAS 2.0.

2. cfg

CasLdapAuthSPIP require SPIP plugin named cfg.

To install cfg, just upload extracted cfg package archive in $SPIP_HOME/plugins/1-config/, then, in SPIP administration, go to configuration panel, plugins management and activate this plugin.

cfg plugin must be loaded before CasLdapAuthSPIP. In order to do that, create $SPIP_HOME/plugins/1-config/ directory, and unzip cfg archive there.
Activation of SPIP plugins

3. Installation

Once cfg is installed, create $SPIP_HOME/plugins/2-auth/ directory and unzip CasLdapAuthBB archive there. Then, activate this plugin in SPIP administration.

4. Configuration

CAS plugin configuration

RSS are still avalaible in anonymous mode, you should restrict them : See SPIP documentation. Furthermore, if your SPIP templates are in squelettes directory, then CAS authentication can be twisted by putting ?var_skel=dist at the end of SPIP URL. The solution is to delete the dist directory or to include <INCLUDE(checkauth.php)>
in default templates.

5. TODO