diff --git a/build/lemonldap-ng/_example/index.pl b/build/lemonldap-ng/_example/index.pl index 5d2fea6ab..5a85d4148 100755 --- a/build/lemonldap-ng/_example/index.pl +++ b/build/lemonldap-ng/_example/index.pl @@ -27,7 +27,7 @@ print qq#

Authentication succeed

logout

Authenticated user : $ENV{HTTP_AUTH_USER}

To know who is connected in your applications, you can read HTTP headers :

-\n +
\n #; foreach(keys %$headers) { @@ -45,14 +45,20 @@ not spoof sessions.

You can access to any information (IP address or LDAP attribute) by customizing exported headers with the Lemonldap::NG Management interface

-
'; +
'; print qq#

Environment for Perl CGI :

Be carefull, the \$ENV{REMOTE_USER} is set only if your script is in the same server than Lemonldap::NG handler (\$whatToTrace parameter). If you use it on a reverse-proxy, \$ENV{REMOTE_USER} is not set.

-
HeaderPerl CGIPHP scriptValue
\n#; -print "\n" foreach(keys %ENV); +
$_=> $ENV{$_}
\n#; +foreach(keys %ENV) { + my $tmp = $ENV{$_}; + $tmp =~ s/&/&/g; + $tmp =~ s/>/>/g; + $tmp =~ s/\n"; +} print '
$_=> $tmp
'; print $cgi->end_html; diff --git a/build/lemonldap-ng/debian/changelog b/build/lemonldap-ng/debian/changelog index d8509e21c..211aacf4e 100644 --- a/build/lemonldap-ng/debian/changelog +++ b/build/lemonldap-ng/debian/changelog @@ -3,8 +3,11 @@ lemonldap-ng (0.8.2.2) unstable; urgency=low * Debian packages modifications due to Lintian control. * New Debian package: lemonldap-ng-doc * Little bug correction in Portal/CDA.pm + * Bug between Handler dependencies and Debian organization: + Lemonldap::NG::Handler::SharedConf must not depend from + Lemonldap::NG::Manager but Lemonldap::NG::Manager::Conf - -- Xavier Guimard Tue, 22 May 2007 10:18:43 +0200 + -- Xavier Guimard Tue, 01 June 2007 07:18:43 +0200 lemonldap-ng (0.8.2.1) unstable; urgency=low diff --git a/modules/lemonldap-ng-handler/Changes b/modules/lemonldap-ng-handler/Changes index dfd5ef2b1..432ea9bfe 100644 --- a/modules/lemonldap-ng-handler/Changes +++ b/modules/lemonldap-ng-handler/Changes @@ -1,5 +1,11 @@ Revision history for Perl extension Lemonldap::NG::Handler. +0.82 Fri Jun 1 6:52:43 2007 + - Little bug: SharedConf.pm needs Manager::Conf and not Manager + +0.81 Fri Apr 15 7:15:56 2007 + - More tests + 0.8 Thu Apr 12 7:08:08 2007 - Little bug in unprotect function (Handler::Simple) - New feature: Lemonldap::NG::Handler::CGI diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm index 71cc0a715..167a47b13 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm @@ -2,7 +2,7 @@ package Lemonldap::NG::Handler; print STDERR "See Lemonldap::NG::Handler(3) to know which Lemonldap::NG::Handler::* module to use."; -our $VERSION = "0.81"; +our $VERSION = "0.82"; 1; diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm index 3052478e7..387097315 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm @@ -4,12 +4,12 @@ use strict; use Lemonldap::NG::Handler::Simple qw(:all); use Lemonldap::NG::Handler::Vhost; -use Lemonldap::NG::Manager; +use Lemonldap::NG::Manager::Conf; use Cache::Cache qw($EXPIRES_NEVER); our @ISA = qw(Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler::Simple); -our $VERSION = '0.54'; +our $VERSION = '0.55'; our $cfgNum = 0; our $lastReload = 0; our $reloadTime; diff --git a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_HTML.pm b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_HTML.pm index 7df1347d9..c5e68e0f3 100644 --- a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_HTML.pm +++ b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_HTML.pm @@ -8,7 +8,7 @@ use AutoLoader qw(AUTOLOAD); require Lemonldap::NG::Manager::_i18n; use Lemonldap::NG::Manager::Conf::Constants; -our $VERSION = '0.27'; +our $VERSION = '0.28'; # TODO: Delete buttons in headers and rules if 'read-only' @@ -445,12 +445,12 @@ qq#