Footprintless::Plugin::Ldap::ApacheDsLdapUtil;

- NAME
- VERSION
- SYNOPSIS
- FUNCTIONS
  - backup($ldap, $file, %options)
  - copy($ldap_from, $ldap_to, %options)
  - copy_user($ldap_from, $ldap_to, %options)
  - restore($ldap, $file, %options)
- AUTHOR
- COPYRIGHT AND LICENSE
- SEE ALSO

# NAME

Footprintless::Plugin::Ldap::ApacheDsLdapUtil; - A utility package for ApacheDs specific behaviors

# VERSION

version 1.00

# SYNOPSIS

Utility methods for working with ApacheDS.

# FUNCTIONS

## backup($ldap, $file, %options)

Performs an export_ldif to `$file` passing along `%options`.

## copy($ldap_from, $ldap_to, %options)

Performs a backup of `$ldap_from` followed by a restore to `$ldap_to`. The `%options` will be supplied to both calls.

## copy_user($ldap_from, $ldap_to, %options)

Copies one or more user entries from `$ldap_from` to `$ldap_to`. The supported options are:

email_list

  An `ARRAYREF` of email addresses to copy (will be ignored if `filter` is provided).

filter

  An ldap filter whose resulting entries will be copied.

## restore($ldap, $file, %options)

Performs an import_ldif from `$file` passing along `%options`.

# AUTHOR

Lucas Theisen <lucastheisen@pastdev.com>

# COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Lucas Theisen.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

# SEE ALSO

Please see those modules/websites for more information related to this module.

- Footprintless::Plugin::Ldap
- Footprintless::Plugin::Ldap
- Footprintless::Plugin::Ldap::Ldap
- Footprintless::Plugin::Ldap::ApacheDsLdapUtil