Share via


Import or export directory objects using csvde

Applies To: Windows Server 2003 R2

To import or export directory objects using csvde

  1. Open an ADAM tools command prompt.

  2. Do one of the following:

    • To import directory objects, at the command prompt, type:

      csvde -i -f filename -s servername:port -m -a username domain password

    • To export directory objects, at the command prompt, type:

      csvde -e -f filename -s servername:port -m -a username domain password

Notes

  • To open an ADAM tools command prompt, click Start, point to All Programs, point to ADAM, and then click ADAM Tools Command Prompt.

  • The following table contains the parameters in step 2 and other commonly used csvde parameters. For more information about csvde parameters, type csvde /? at a command prompt, or see Related Topics.

    Parameter Description

    -i

    Perform an import.

    -e

    Perform an export.

    -f

    File to import.

    -s

    Host name and port of the ADAM instance.

    -m

    Ignore (that is, do not import or export) attributes that are only used by Active Directory.

    You can use this parameter when exporting directory objects from an existing Active Directory forest and importing them into ADAM.

    -a

    Account credentials. If they are not provided, ldifde uses the credentials of the currently logged on user.

    -h

    Allows importing of passwords using simple authentication security layer (SASL) encryption.

    -c String1 String2

    Replaces all occurrences of String1 with String2. With ADAM, you can use the constants #schemaNamingContext and #configurationNamingContext in place of the distinguished names of the schema directory partition and configuration directory partitions when replacing strings within .ldf files.

  • For specific information about importing the user class definitions that are supplied with ADAM, see Related Topics.

  • For complete syntax information for the csvde command, see Related Topics.

See Also

Concepts

Import the user classes supplied with ADAM
ADAM Ldifde
ADAM Csvde