Unable to edit devices with an ID below 6 charatcers
Bug Description
We use allow-hostname-as-id=Y on all our devices, but if the device has a hostname that is less than 6 characters you will not be able to edit the device inside an address book.
See example:
How to Reproduce
- Have a device with a hostname less than 6 characters
- Create a custom application with
allow-hostname-as-id=Y - Try to edit this device inside an address book (ex. adding an alias or password)
Expected Behavior
I expected to be allowed to edit the device.
Operating system(s) on local (controlling) side and remote (controlled) side
N/A
RustDesk Version(s) on local (controlling) side and remote (controlled) side
N/A
Screenshots
Additional Context
Running RustDesk Server Pro 1.6.3
@21pages
@rustdesk I am now having an issue where the client i am installing the RustDesk client on.
I made a new custom client without the allow-hostname-as-id=Y set, but it still only gets the ID skad3. I did uninstall the previous RustDesk instance and delete the client from the web console, before re-installing.
I made a new custom client without the allow-hostname-as-id=Y set, but it still only gets the ID skad3. I did uninstall the previous RustDesk instance and delete the client from the web console, before re-installing.
This behavior is expected.
you can set id by following https://github.com/rustdesk/rustdesk/wiki/FAQ#duplicate-id-of-cloned-system