aedf90d531
* Handler depends now from CGI (Handler/CGI.pm) * Lintian says that postinst must include "set -e" |
||
---|---|---|
.. | ||
po | ||
changelog | ||
compat | ||
configStorage.pm | ||
control | ||
copyright | ||
handler-apache.conf | ||
handler-apache2.conf | ||
lemonldap-ng-doc.docs | ||
lemonldap-ng.docs | ||
lemonldap-ng.examples | ||
liblemonldap-ng-conf-perl.config | ||
liblemonldap-ng-conf-perl.dirs | ||
liblemonldap-ng-conf-perl.docs | ||
liblemonldap-ng-conf-perl.examples | ||
liblemonldap-ng-conf-perl.install | ||
liblemonldap-ng-conf-perl.postinst | ||
liblemonldap-ng-conf-perl.templates | ||
liblemonldap-ng-handler-perl.dirs | ||
liblemonldap-ng-handler-perl.docs | ||
liblemonldap-ng-handler-perl.examples | ||
liblemonldap-ng-handler-perl.install | ||
liblemonldap-ng-handler-perl.postinst | ||
liblemonldap-ng-manager-perl.dirs | ||
liblemonldap-ng-manager-perl.docs | ||
liblemonldap-ng-manager-perl.examples | ||
liblemonldap-ng-manager-perl.install | ||
liblemonldap-ng-manager-perl.postinst | ||
liblemonldap-ng-portal-perl.cron.d | ||
liblemonldap-ng-portal-perl.dirs | ||
liblemonldap-ng-portal-perl.docs | ||
liblemonldap-ng-portal-perl.examples | ||
liblemonldap-ng-portal-perl.install | ||
liblemonldap-ng-portal-perl.postinst | ||
manager-apache.conf | ||
manager-apache2.conf | ||
migrating.sql | ||
portal-apache.conf | ||
portal-apache2.conf | ||
README.Debian | ||
rules | ||
storage.conf | ||
watch |
lemonldap-ng for Debian ----------------------- Topics: 1 - Manager installation 2 - Portal installation 3 - Area protection 4 - Configuration storage I - LEMONLDAP::NG MANAGER INSTALLATION ---------------------------------------- Package: liblemonldap-ng-manager-perl liblemonldap-ng-manager-perl installs files named manager-apache.conf and manager-apache2.conf in /etc/lemonldap-ng/. Include it in apache configuration and configure it (virtual host has to be adapt). II - LEMONLDAP::NG PORTAL INSTALLATION -------------------------------------- Package: liblemonldap-ng-portal-perl WARNING : since version 0.9.3, login form template has change. You have to change your /var/lib/lemonldap-ng/portal/index.pl file using /usr/share/doc/liblemonldap-ng-portal-perl/example/index_skin-Debian.pl liblemonldap-ng-portal-perl installs files named portal-apache.conf and portal-apache2.conf in /etc/lemonldap-ng/. Include it in apache configuration and configure it (virtual host has to be adapt). You can also customize /var/lib/lemonldap-ng/portal/index.pl to adapt it to your site. This file is protected against upgrade. III - LEMONLDAP::NG AREA PROTECTION ---------------------------------- Package: liblemonldap-ng-handler-perl liblemonldap-ng-handler-perl installs a file named MyHandler.pm in /var/lib/lemonldap-ng/handler/. See handler-apache.conf or handler-apache2.conf in /etc/lemonldap-ng/ to know how to use it. You can also copy /usr/share/doc/lemonldap-ng/examples/test.pl into /var/lib/lemonldap-ng/index.pl to see how to use Lemonldap::NG with a Perl or PHP application. IV - LEMONLDAP::NG CONFIGURATION STORAGE --------------------------------------- Package: liblemonldap-ng-conf-perl Lemonldap::NG configuration is stored by default in /var/lib/lemonldap-ng/conf. Modify /etc/lemonldap-ng/storage.conf to change configuration storage. 1.1 - Migrating from 'File' to 'DBI' To use DBI mechanism to store configuration, you have to create database. An example is given for MySQL in the file /usr/share/doc/liblemonldap-ng-conf-perl/examples/lmConfig.mysql. If you have a running configuration, use this to populate SQL database : perl /usr/share/lemonldap-ng/bin/lmConfig_File2MySQL -c \ /var/lib/lemonldap-ng/conf/lmConf-<last-number> "-c" options adds "create table" instruction.