org.dsmltools
Class DSML2LDAP

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

public class DSML2LDAP
extends DSMLFile

This class exposes functionality to import a DSML file into a directory.

This program reads in DSML, either from a file or from stdin, connects to a specified LDAP server and executes add or delete operations based on options set and the contents of the DSML file.

  The command syntax is as follows. Bold indicates a mandatory option.
DSML2LDAP infile -h ldap.example.com [-a|-d] [options]
Connection options: Configuration options: Other options: E.g.: DSML2LDAP in.dsml -h ldap.ex.com -u "cn=Fred Bloggs" -w SecretWord -a -c


Constructor Summary
DSML2LDAP()
           
 
Method Summary
static void main(java.lang.String[] xiArgs)
          This method drives the DSML2LDAP 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

DSML2LDAP

public DSML2LDAP()
Method Detail

main

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

Parameters:
xiArgs - The command-line options