Lemonldap::NG::Handler::ZimbraPreAuth - Perl extension to generate Zimbra preauth URL for users authenticated by Lemonldap::NG
package My::Zimbra; use Lemonldap::NG::Handler::ZimbraPreAuth; @ISA = qw(Lemonldap::NG::Handler::ZimbraPreAuth); __PACKAGE__->init ( { # Zimbra parameters zimbraPreAuthKey => 'XXXX', zimbraAccountKey => 'uid', zimbraBy => 'id', zimbraUrl => '/service/preauth', zimbraSsoUrl => '^/zimbrasso$', # Common parameters timeout => '72000', # See Lemonldap::NG::Handler for more } ); 1;
Edit you Zimbra vhost configuration like this:
<VirtualHost *> ServerName zimbra.example.com
# Load Zimbra Handler PerlRequire __HANDLERDIR__/MyHandlerZimbra.pm PerlHeaderParserHandler My::Zimbra
</VirtualHost>
See Lemonldap::NG::Handler
http://wiki.zimbra.com/wiki/Preauth Lemonldap::NG::Handler
Clement Oudot, <clement@oodo.net>
Copyright (C) 2010 by Clement Oudot
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Lemonldap::NG::Handler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lemonldap::NG::Handler
CPAN shell
perl -MCPAN -e shell install Lemonldap::NG::Handler
For more information on module installation, please visit the detailed CPAN module installation guide.