---
name: "Lemonldap::NG::Handler::ZimbraPreAuth"
section: "3pm"
platform: "linux"
package: "liblemonldap-ng-handler-perl"
version: "1.3.3-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Lemonldap::NG::Handler::ZimbraPreAuth"
---

# Lemonldap::NG::Handler::ZimbraPreAuth(3pm)

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

## 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, \<clem.oudot@gmail.com\>

  - Xavier Guimard, \<x.guimard@free.fr\>

  ## BUG REPORT

Use OW2 system to report bug or ask for features: \<http://jira.ow2.org\>

## DOWNLOAD

Lemonldap::NG is available at \<http://forge.objectweb.org/project/showfiles.php?group\_id=274\>

## COPYRIGHT AND LICENSE

- Copyright (C) 2010 by Xavier Guimard, \<x.guimard@free.fr\>

  - Copyright (C) 2010, 2012 by Clement Oudot, \<clem.oudot@gmail.com\>

  This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see \<http://www.gnu.org/licenses/\>.
