-
Notifications
You must be signed in to change notification settings - Fork 496
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
Saved credentials not working and not visible across users #5994
Comments
Try changing Edit. Also change any compression in ur config.json to false too |
Just tried those settings and no change in behaviour. |
The connections and credentials definitely work, I can go in and out all day typing them in just not when saved, and when they are saved they are not appearing for other users. The reason I want to make sure it's working is so that my support agents won't necessarily need to know the specific accounts for certain systems and are logged in automatically. |
can you use the normal edit: also what is the username you are trying to login with? is it |
These are local only devices (no agent). |
ok so daft question (i have to ask), firewall, port 3389 open on nodes? both tcp+udp? edit: also what is the username you are trying to login with? is it AzureAD\USERNAME or just normal Administrator |
No firewall in between, it's a site-site VPN with full routing. I can press the button and manually enter in the login details no problem and it will connect straight away so there is nothing stopping the connection. Whether it's SSH credentials to a switch or Domain RDP login ( local domain\username ) it all works when manually entering in credentials. The problems is that ticking the save credential option then trying to use the saved credential doesn't work. It just shows 'Setup ... ' . Doesn't matter what the device is. The saved credentials also don't appear for other users even with the config option is set. The only user that the saved credentials seem to work reliably for are the default first admin account created when MC was first setup. |
Ahhh right ok so it works with manual entering the details! |
can u share a user id example for me plz? get it from the user panel when u selecg a user |
I will try and have a look over the weekend. |
@suiciety can u test this comment for me? |
Creating a user without an @ or . works for connecting and re-connecting with the saved credentials. I will check if the credential works across users. |
@suiciety thanks! It just helps me narrow down the issue. |
I've checked other user accounts and the saved credential is still not appearing across users but does now work reliably for that user. The Azure users are still a no-go. Would adjusting the claim that's sent to not be the email address help? I could also change over to SAML2 and test that as an option? |
it seems #5833 has resurfaced! |
well i found a bug, i could add the credentials but not remove them 😆 but fixed that 👍 |
@suiciety i think ive fixed it with PR #6001 |
Thanks, Should this also re=solve the other problem with the saved credentials not being available between users? |
@suiciety erm think so? Didn't check! Doh! Will have a look later |
Describe the bug
When a user saves a credential against a local device (RDP/SSH etc.) it is not able to be used. When trying to use the saved credential MC just shows 'Setup....' and gets stuck there. This is regardless of whether the user is an administrator or a user.
Strangely the primary admin user created when MC was setup does not have that issue.
In addition to that we have set the allowSavingDeviceCredentials parameter to true, however credentials are not available to other users.
To Reproduce
Steps to reproduce the first behaviour:
NOTE: If you are logged in as the primary admin everything works as expected when disconnecting/reconnecting.
Steps to reproduce the second behavior:
Expected behavior
When saving a credential is should be available across users and sessions should be able to reconnect with those credentials.
Extra info
All users are set as Administrators of this specific local device group via a user Group which is added when they login via Azure. I have tried to delete and re-create the device as other users and saving/re-using the credentials. I have also created a regular MC user but it doesn't make any difference.
Screenshots
Just gets stuck on 'Setup ...' unless you are the primary admin created when MC was installed where it works as expected.
Loging in as another user shows that there are also no saved credentials regardless of who saved the credential (including the primary admin)
Server Software (please complete the following information):
Client Device (please complete the following information):
Remote Device (please complete the following information):
Your config.json file
The text was updated successfully, but these errors were encountered: