ldap:ldif-dump

Full name:

com.btmatthews.mojo:ldap-maven-plugin:1.0:ldif-dump

Description:

This Mojo implements the dsml-dump goal which dumps content from the LDAP directory server in LDIF format.

Attributes:

  • Requires a Maven 2.0 project to be executed.

Required Parameters

Name Type Since Description
filename String - The output file name.
outputDirectory File - The target output directory.
searchBase String - The search base.
searchFilter String - The search filter. Default value is: (objectclass=*).

Optional Parameters

Name Type Since Description
authDn String - The distinguished name used if authentication is required.
host String - The host name of the LDAP server. Defaults to localhost. Default value is: localhost.
passwd String - The password used if authentication is required.
port int - The port number of the LDAP server. Defaults to 389. Default value is: 389.
version int - The LDAP protocol version. Defaults to 3. Default value is: 3.

Parameter Details

authDn :

The distinguished name used if authentication is required.

  • Type: java.lang.String
  • Required: No

filename :

The output file name.

  • Type: java.lang.String
  • Required: Yes

host :

The host name of the LDAP server. Defaults to localhost.

  • Type: java.lang.String
  • Required: No
  • Default: localhost

outputDirectory :

The target output directory.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.outputDirectory}

passwd :

The password used if authentication is required.

  • Type: java.lang.String
  • Required: No

port :

The port number of the LDAP server. Defaults to 389.

  • Type: int
  • Required: No
  • Default: 389

searchBase :

The search base.

  • Type: java.lang.String
  • Required: Yes

searchFilter :

The search filter.

  • Type: java.lang.String
  • Required: Yes
  • Default: (objectclass=*)

version :

The LDAP protocol version. Defaults to 3.

  • Type: int
  • Required: No
  • Default: 3