-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QuickMap RDP mapping not working for regular users #100
Comments
right so indeed the issue is to do with the meshcentralrouter a work around is to get a user to login to the web ui, then click the RDP option when they select a device, but will look into it asap |
@rodrigo-hissam @mcallisaya79 this should be fixed now. |
@si458 Just did a quick test and the quickmap function seems be working once again in this version you linked. |
@rodrigo-hissam great thanks! |
Thank you!! Will this end up being included in a new meshcentral release? |
yes, ill will add it in later into the main repo so it will be available in the next release 👍 |
Thank you once again @si458 |
uploaded to main repo too ready for next release! |
Describe the bug
After a regular user logs into meshrouter and tries to do a quickmap RDP launch, no action is taken as the quickmap silently fails. Launching meshrouter in debug mode we can see this:
ExceptionSink: System.NullReferenceException: Object reference not set to an instance of an object.
at MeshCentralRouter.MainForm.QuickMap(Int32 protocol, Int32 port, Int32 appId, NodeClass node)
at MeshCentralRouter.MainForm.rdpToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
To Reproduce
Steps to reproduce the behavior:
As a regular user, right click the device you want to RDP into and choose RDP
No RDP mapping is created, so nothing happens to the user
Expected behavior
An automatic mapping should be created and the RDP launch windows should appear.
Server Software (please complete the following information):
OS: Ubuntu 24.04.1
Version: MeshCentral v 1.29.1
Node: v19.8.1
Additional context
Admin users can still use meshrouter normally, only regular users seem to not be able to use the quickmap function.
The text was updated successfully, but these errors were encountered: