Resolved

Import Password via XML

avatar

Hello,

recently i added information about more than 100 of our customer system via XML-File. The Passwords were set as

<ClearTextPassword>12345678</ClearTextPassword>

Everything works fine. Now, i want to add a new data-Entry as a Child from the Connection, but im not able to add passwords to the database

I use this xml-Code

<Connection>
<ConnectionType>DataEntry</ConnectionType>
<DataEntry>
<ClearTextPassword>12345678</ClearTextPassword>
<ConnectionTypeInfos>
<DataEntryConnectionTypeInfo>
<DataEntryConnectionType>Credential</DataEntryConnectionType>
</DataEntryConnectionTypeInfo>
</ConnectionTypeInfos>
<Domain></Domain>
<EnableWebBrowserExtension>false</EnableWebBrowserExtension>
<UserName>root</UserName>
</DataEntry>
<Encrypt>true</Encrypt>
<Events />
<MetaInformation />
<Name>CBS root</Name>
<OpenEmbedded>true</OpenEmbedded>
<PlayList />
</Connection>

Is there no Support for ClearTextPassword in the DataEntry-Section.

Any Idea?

Greeting from Germany

Detlev.

All Comments (10)

avatar

Hi boni,
Indeed there is no ClearTextPassword in the DataEntry section. However if you set the ClearTextPassword propperty at the connection root like what you've done for the other types it will set it the account data entry. I have just tested it and seems to work fine for me.

David Hervieux

avatar

Hello David,
thanks for your information. Now it looks like this:

<Connection>
<ConnectionType>DataEntry</ConnectionType>
<ClearTextPassword>12345678</ClearTextPassword>
<DataEntry>
<ConnectionTypeInfos>
<DataEntryConnectionTypeInfo>
<DataEntryConnectionType>Credential</DataEntryConnectionType>
</DataEntryConnectionTypeInfo>
</ConnectionTypeInfos>
<Domain></Domain>
<EnableWebBrowserExtension>false</EnableWebBrowserExtension>
<UserName>root</UserName>
</DataEntry>
<Encrypt>true</Encrypt>
<Events />
<MetaInformation />
<Name>System root</Name>
<OpenEmbedded>true</OpenEmbedded>
<PlayList />
</Connection>

and works fine.

Detlev.

avatar

Excellent. RDM use the ClearTextPassword to forward it to the right property in the connection.

David Hervieux

avatar

Hi David,

8 years later... I like to import my xml file to the new Remotedesktopmanager 2022. But unfortunatly I have the same problem with my password.
Everthing looks fine, but after the import, the password field is empty.

<Connection>
<ConnectionType>DataEntry</ConnectionType>
<ID>bda09868-913a-4b06-9d36-35f769002fc3</ID>
<Name>starface 460</Name>
<OpenEmbedded>true</OpenEmbedded>
<Stamp>ed554527-1355-40b0-8218-2c8ee12f024e</Stamp>
<DataEntry>
<ClearTextPassword>verysecurepassword</ClearTextPassword>
<ConnectionTypeInfos>
<DataEntryConnectionTypeInfo>
<DataEntryConnectionType>Credential</DataEntryConnectionType>
</DataEntryConnectionTypeInfo>
</ConnectionTypeInfos>
<EnableWebBrowserExtension>false</EnableWebBrowserExtension>
<UserName>460</UserName>
</DataEntry>
<MetaInformation>
</MetaInformation>
</Connection>

So how can I import my password from an XML-File. I took a look at the exported XML File, there is a field called
<SafePassword>2mZ65pXomOxrRBbKrXKwRQ==</SafePassword>

Can you tell me, how to generate the safePassword?
Or do you have another solution for me?

Regards Detlev.

avatar

Hello Detlev,

I just tested it on my end and I cannot make it work either with an entry of the DataEntry type. It did work with a regular username/password entry, however.

I will open a ticket with the engineering team so they can investigate the issue; we will keep you posted.

Best regards,

Richard Boisvert

avatar

Hello Detlev,

After verification, it is still working for a DataEntry type. For example, you can use this:

<Connections>
    <Connection>
      <ClearTextPassword>verysecurepassword</ClearTextPassword> 
      <DocumentationExternalType>Default</DocumentationExternalType>
      <ConnectionType>DataEntry</ConnectionType>
      <ID>5b07396a-4eb9-4812-b8e3-b2711d832b54</ID>
      <Name>DataEntry-Account</Name>
      <OpenEmbedded>true</OpenEmbedded>	 
      <DataEntry>																
        <ConnectionTypeInfos>
          <DataEntryConnectionTypeInfo>
            <DataEntryConnectionType>Credential</DataEntryConnectionType>
          </DataEntryConnectionTypeInfo>
        </ConnectionTypeInfos>
        <Domain>domain</Domain>
        <Url>http://www.google.ca</Url>
        <UserName>user</UserName>
      </DataEntry>
    </Connection>
  </Connections>					 


The only differences are the Stamp, EnableWebBrowserExtension and the MetaInformation tags, which can all be removed from your example.

Best regards,

Richard Boisvert

avatar

Hi Richard,

thanks for your suggestion. But unfortunatly it doesn't work for me. I created a file with the XML-structure from your post above. My Imprt-Dialog looks like this: no password.

forum image

avatar

Hello Detlev,

if you click on Edit in the Import window the password will be shown as blank:
forum image

but if you finish the import, the password is available:
forum image

Regards,
Min

avatar

HI,

thanks for your support, You are right, after the import, the password submitted via <cleartextpassword> is in my database.

avatar

Hello,

awesome! Thanks for your feedback! 😎

Regards,
Min