[GH-ISSUE #136] Importing mRemote CSV looses Domain #1072

Closed
opened 2026-02-28 12:01:46 +03:00 by kerem · 14 comments
Owner

Originally created by @do5rsw on GitHub (Jun 14, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/136

Originally assigned to: @VShawn on GitHub.

I just imported a mRemoteNG CSV that had been exported with all information that can be exported in mremote. It contained about 150 connections and all use not only a rdp user but also da domain name.
Importing this into Premote resulted in all connections loosing the domain and leaving PRemote to try to log in as local user instead.
There is no domain field in the connection properties as there is in mremote so I guess the importer simply ignored it.
If there is no domain field the domain shoud be added to the user instead of ignoring it. It has to be <user> then. Otherwise that would be useless. I now have a 150 rdps that are missing the domain in the username due to that ...

In most bigger or commercial environments you do have active directory and so you have to use domain user. So I think a fix of this would be very welcome :)

Originally created by @do5rsw on GitHub (Jun 14, 2021). Original GitHub issue: https://github.com/1Remote/1Remote/issues/136 Originally assigned to: @VShawn on GitHub. I just imported a mRemoteNG CSV that had been exported with all information that can be exported in mremote. It contained about 150 connections and all use not only a rdp user but also da domain name. Importing this into Premote resulted in all connections loosing the domain and leaving PRemote to try to log in as local user instead. There is no domain field in the connection properties as there is in mremote so I guess the importer simply ignored it. If there is no domain field the domain shoud be added to the user instead of ignoring it. It has to be <domain>\<user> then. Otherwise that would be useless. I now have a 150 rdps that are missing the domain in the username due to that ... In most bigger or commercial environments you do have active directory and so you have to use domain user. So I think a fix of this would be very welcome :)
kerem 2026-02-28 12:01:46 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@majkinetor commented on GitHub (Jun 14, 2021):

There is no domain field

Domain is specified as in Windows login, e.g. domain\user.

As a workaround, you can fix it quickly: if you have small number of users you can bulk edit connections if not, you can fix it in sql directly by opening premotem db which is quite understandable sqlite.

<!-- gh-comment-id:860479173 --> @majkinetor commented on GitHub (Jun 14, 2021): > There is no domain field Domain is specified as in Windows login, e.g. `domain\user`. As a workaround, you can fix it quickly: if you have small number of users you can bulk edit connections if not, you can fix it in sql directly by opening premotem db which is quite understandable sqlite.
Author
Owner

@do5rsw commented on GitHub (Jun 14, 2021):

@majkinetor: yeah that's what I wrote. Since I use only just one rdp user for all my connections bulk editing in the csv indeed is a workaround or quickfix. I did just that for now. Fixing it in sql would have required additional sowtware to access the sqlite db so that was the easier and quicker fix for me :D
Still it would be kind if the importer would do that correctly ;)

<!-- gh-comment-id:860527563 --> @do5rsw commented on GitHub (Jun 14, 2021): @majkinetor: yeah that's what I wrote. Since I use only just one rdp user for all my connections bulk editing in the csv indeed is a workaround or quickfix. I did just that for now. Fixing it in sql would have required additional sowtware to access the sqlite db so that was the easier and quicker fix for me :D Still it would be kind if the importer would do that correctly ;)
Author
Owner

@majkinetor commented on GitHub (Jun 14, 2021):

Yeah, definitely. Good to know bulk editing worked, it was just done recently :)

<!-- gh-comment-id:860528788 --> @majkinetor commented on GitHub (Jun 14, 2021): Yeah, definitely. Good to know bulk editing worked, it was just done recently :)
Author
Owner

@do5rsw commented on GitHub (Jun 14, 2021):

one admin - 150 Servers :)

<!-- gh-comment-id:860529629 --> @do5rsw commented on GitHub (Jun 14, 2021): one admin - 150 Servers :)
Author
Owner

@majkinetor commented on GitHub (Jun 14, 2021):

I hope at least password is different :)

<!-- gh-comment-id:860535849 --> @majkinetor commented on GitHub (Jun 14, 2021): I hope at least password is different :)
Author
Owner

@majkinetor commented on GitHub (Jun 14, 2021):

bulk editing in the csv

Ah, I hopped you used PRemoteM bulk edit :) You would just select all connections in list view, press edit button at the bottom of the windows and set user for all in one step.

<!-- gh-comment-id:860964887 --> @majkinetor commented on GitHub (Jun 14, 2021): > bulk editing in the csv Ah, I hopped you used PRemoteM bulk edit :) You would just select all connections in list view, press edit button at the bottom of the windows and set user for all in one step.
Author
Owner

@VShawn commented on GitHub (Jun 18, 2021):

Arr sorry for the late reply, I didn't get a notification of this ticket, so I just found it today.

As a personal user I did't know how a domain works and I dont have an environment to test the Domain property. that's why I ignored domain in the importer.

I guess set the Domain property may fix the ticket? Did we need a password if Domain property is set?

image

<!-- gh-comment-id:863709986 --> @VShawn commented on GitHub (Jun 18, 2021): Arr sorry for the late reply, I didn't get a notification of this ticket, so I just found it today. As a personal user I did't know how a domain works and I dont have an environment to test the `Domain` property. that's why I ignored domain in the importer. I guess set the `Domain` property may fix the ticket? Did we need a password if `Domain` property is set? ![image](https://user-images.githubusercontent.com/10143738/122497799-91e27380-d020-11eb-8ad6-477c9dedaa23.png)
Author
Owner

@majkinetor commented on GitHub (Jun 18, 2021):

Did we need a password if Domain property is set?

Yes, we still need a password, a domain one.

I guess set the Domain property may fix the ticket?

It looks so.

I can test it in corporate environment

<!-- gh-comment-id:864077841 --> @majkinetor commented on GitHub (Jun 18, 2021): > Did we need a password if Domain property is set? Yes, we still need a password, a domain one. > I guess set the Domain property may fix the ticket? It looks so. I can test it in corporate environment
Author
Owner

@do5rsw commented on GitHub (Jun 18, 2021):

@VShawn: no problem. The importer should just set username as Domain\Username if _rdp.Domain is not empty. And yes we still ned a password of course :)
There is no need to add a domain field in the connection properties as the above is valid for rdp connections.

@majkinetor: yeah bulk editing inside premote would have workarounded that too ( if I knew that were possible g) but bulk editing the csv does the same and is in my case also simpl searh&Replace :) So don't really matter in this case :)

<!-- gh-comment-id:864101810 --> @do5rsw commented on GitHub (Jun 18, 2021): @VShawn: no problem. The importer should just set username as Domain\Username if _rdp.Domain is not empty. And yes we still ned a password of course :) There is no need to add a domain field in the connection properties as the above is valid for rdp connections. @majkinetor: yeah bulk editing inside premote would have workarounded that too ( if I knew that were possible *g*) but bulk editing the csv does the same and is in my case also simpl searh&Replace :) So don't really matter in this case :)
Author
Owner

@VShawn commented on GitHub (Jun 19, 2021):

okey, I add Domain filed for rdp settings. Don't know if it will works

image

0.5.10.3-beta.2.zip

<!-- gh-comment-id:864332329 --> @VShawn commented on GitHub (Jun 19, 2021): okey, I add Domain filed for rdp settings. Don't know if it will works ![image](https://user-images.githubusercontent.com/10143738/122626093-10035080-d0db-11eb-80ab-2254343e4d38.png) [0.5.10.3-beta.2.zip](https://github.com/VShawn/PRemoteM/files/6679741/0.5.10.3-beta.2.zip)
Author
Owner

@stetze commented on GitHub (Jun 27, 2021):

@VShawn
The Domain Field is still empty After import. The loadbalanceinfo field is empty after import too. Maybe a Problem with the inheritance from mRemoteNG? But the username and passwort field works. Mhh...

<!-- gh-comment-id:869100344 --> @stetze commented on GitHub (Jun 27, 2021): @VShawn The Domain Field is still empty After import. The loadbalanceinfo field is empty after import too. Maybe a Problem with the inheritance from mRemoteNG? But the username and passwort field works. Mhh...
Author
Owner

@VShawn commented on GitHub (Jun 27, 2021):

@stetze88 sorry I haven't finished the import function yet, It still a local branch on my PC. That's why import domain or loadbalanceinfo not work on the beta release. For now, you have to bulk editing the servers' config by yourself.

<!-- gh-comment-id:869117751 --> @VShawn commented on GitHub (Jun 27, 2021): @stetze88 sorry I haven't finished the import function yet, It still a local branch on my PC. That's why import domain or loadbalanceinfo not work on the beta release. For now, you have to bulk editing the servers' config by yourself.
Author
Owner

@stetze commented on GitHub (Jun 27, 2021):

@VShawn

Bulk editing works with the identical domain. I also have around 40 servers where I have to log in with the local administrator. Then the domain is always the server name and bulk editing then unfortunately does not work. But then everything is fine and we just have to be patient. 🙂 I love your Software. 😁

<!-- gh-comment-id:869118771 --> @stetze commented on GitHub (Jun 27, 2021): @VShawn Bulk editing works with the identical domain. I also have around 40 servers where I have to log in with the local administrator. Then the domain is always the server name and bulk editing then unfortunately does not work. But then everything is fine and we just have to be patient. 🙂 I love your Software. 😁
Author
Owner

@majkinetor commented on GitHub (Jun 27, 2021):

@stetze88, just select those 40 servers in PRM and bulk edit them in application to remove domain (using 0.5.10.3-beta.2.zip).

<!-- gh-comment-id:869151679 --> @majkinetor commented on GitHub (Jun 27, 2021): @stetze88, just select those 40 servers in PRM and bulk edit them in application to remove domain (using 0.5.10.3-beta.2.zip).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#1072
No description provided.