The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lemonldap::NG::Handler::ZimbraPreAuth - Perl extension to generate Zimbra preauth URL for users authenticated by Lemonldap::NG

SYNOPSIS

  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;

DESCRIPTION

Edit you Zimbra vhost configuration like this:

<VirtualHost *> ServerName zimbra.example.com

        # Load Zimbra Handler
        PerlRequire __HANDLERDIR__/MyHandlerZimbra.pm
                PerlHeaderParserHandler My::Zimbra

</VirtualHost>

EXPORT

See Lemonldap::NG::Handler

SEE ALSO

http://wiki.zimbra.com/wiki/Preauth Lemonldap::NG::Handler

AUTHOR

Clement Oudot, <clement@oodo.net>

COPYRIGHT AND LICENSE

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.