Repository navigation
Fix Guacamole RDP login on Azure templates (use AzureAdmin) - #1454
Open
sparcstation wants to merge 1 commit into
Open
sparcstation wants to merge 1 commit into
sparcstation wants to merge 1 commit into
Conversation
Azure Windows VMs have no 'Administrator' account: the built-in RID-500 account is created with the admin_username from the template (user_name: AzureAdmin). The Guacamole RDP entries still used Administrator (copied from the AWS templates), so every Windows connection failed with 'Authentication failure (invalid credentials?)' (Windows event 4625, SubStatus 0xc0000064: user does not exist).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Guacamole RDP connections to Windows hosts fail on every Azure template; SSH to the Linux hosts works.
Azure Windows VMs don't have an
Administratoraccount — the built-in RID-500 account is created with the template'suser_name(AzureAdmin). Thear_guacamole_serversRDP entries in the Azure templates still useAdministrator(carried over from the AWS templates, where it is correct), so logins are rejected:RDP server closed/refused connection: Authentication failure (invalid credentials?)Administrator, Status0xc000006d, SubStatus0xc0000064(user name does not exist)Changes
Set the RDP
usernametoAzureAdminin:templates/azure/splunk_ad_azure.yml(win-dc,win)templates/azure/splunk_full_azure.ymltemplates/azure/splunk_windows_azure.ymlAWS and GCP templates are unchanged (their Windows
user_nameisAdministrator, matching Guacamole).Testing
On a running
azure/splunk_ad_azurerange:Get-LocalUseron both Windows hosts listsAzureAdmin(SID...-500) and noAdministrator./etc/guacamole/user-mapping.xmlon the Guacamole host, restarted Tomcat, re-logged into Guacamole: RDP to bothwin-dcandwinnow works.usernamematches the corresponding hostuser_name.