Skip to main content

August 24, 2026

Import LDAP Configuration Data

You can use the vdmimport command to import configuration data from an LDIF configuration file into a standard or replica Connection Server instance.

Note: If the LDIF file is encrypted, you must decrypt it first. The vdmimport command does not support importing encrypted LDIF files directly, even if a recovery password is supplied. Import operations require a decrypted (plaintext) LDIF file.

Prerequisites

  • Export LDAP configuration data to an LDIF configuration file. See Export LDAP Configuration Data.
  • If you are importing a Cloud Pod Architecture global LDIF configuration file, verify that the Cloud Pod Architecture feature is initialized on the target Connection Server instance.

Procedure

  1. Log in to a Connection Server instance as a user in the Administrators role.

    You must be logged in as a user in the Administrators role to import configuration data into the Horizon configuration repository.

  2. At the command prompt, type the vdmimport command.

    By default, the vdmimport command-line utility is installed in the C:\Program Files\Omnissa\Horizon\Server\tools\bin directory.

    The vdmimport command has the following options.

    -fInput file name.
    -iShows file information about the specified LDIF configuration file.
    -dDecrypts the specified LDIF configuration file.
    -pSpecifies the recovery password for decryption of an encrypted LDIF configuration file. Type "" to enter the password at the prompt.
    -gSpecifies that the restore is for a Cloud Pod Architecture environment.

    For example, the following commands decrypt and import a local LDIF configuration file.

    vdmimport -d -p mypassword -f MyEncryptedxport.LDF > MyDecryptedexport.LDF
    
    vdmimport -f MyDecryptedexport.LDF
    

    The following commands decyrypt and import a Cloud Pod Architecture global LDIF configuration file.

    vdmimport -d -p mypassword -f MyEncryptedCPAexport.LDF > MyDecryptedCPAexport.LDF
    
    vdmimport -g -f MyDecryptedCPAexport.LDF
    

Results

After the vdmimport command runs, the configuration of your Connection Server instance is updated with the data from the file, and the number of records that have been successfully updated is displayed. Errors appear if some records could not be updated because your role has insufficient privileges.

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…