org.dsmltools
Class LDAP2DSML

java.lang.Object
  extended by org.dsmltools.DSMLFile
      extended by org.dsmltools.LDAP2DSML

public class LDAP2DSML
extends DSMLFile

This class exposes functionality to export a DSML file from a directory.

This program takes LDAP host and search parameters on the command line, connects to the given LDAP server and performs the search. It takes the results given and, according to options set, outputs them as a DSML file to stdout or a specified file.

  The command syntax is as follows. Bold indicates a mandatory option.
LDAP2DSML outfile -h ldap.example.com [options]
Connection options: Search options: Output options: E.g.: LDAP2DSML -h ldap.ex.com -u "cn=Fred Bloggs" -w SecretWord -m 50 -s one -b "ou=Sales,o=Ace Ltd,c=us" -a "cn, email" > out.dsml


Constructor Summary
LDAP2DSML()
           
 
Method Summary
static void main(java.lang.String[] xiArgs)
          This method drives the LDAP2DSML process.
 
Methods inherited from class org.dsmltools.DSMLFile
readDSML, writeDSML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAP2DSML

public LDAP2DSML()
Method Detail

main

public static void main(java.lang.String[] xiArgs)
This method drives the LDAP2DSML process.

Parameters:
xiArgs - The command-line arguments