Export (0) Print
Expand All

Import or export directory objects using ldifde

Updated: August 22, 2005

Applies To: Windows Server 2003 R2

To import or export directory objects using ldifde

  1. Open an ADAM tools command prompt.

  2. Do one of the following:

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

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

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

      ldifde -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 ldifde parameters. For more information about ldifde parameters, type ldifde /? at a command prompt, or see Related Topics.

     

    Parameter Description

    -i

    Perform an import.

    -e

    Perform an export.

    -f

    File to import or export.

    -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 and 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 in .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 ldifde command, see Related Topics.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft