Skip to content

Fix Guacamole RDP login on Azure templates (use AzureAdmin) - #1454

Open
sparcstation wants to merge 1 commit into
splunk:developfrom
sparcstation:fix/azure-guacamole-rdp-user
Open

sparcstation wants to merge 1 commit into
splunk:developfrom
sparcstation:fix/azure-guacamole-rdp-user

Conversation

@sparcstation

Copy link
Copy Markdown

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 Administrator account — the built-in RID-500 account is created with the template's user_name (AzureAdmin). The ar_guacamole_servers RDP entries in the Azure templates still use Administrator (carried over from the AWS templates, where it is correct), so logins are rejected:

  • guacd: RDP server closed/refused connection: Authentication failure (invalid credentials?)
  • Windows Security log: event 4625, user Administrator, Status 0xc000006d, SubStatus 0xc0000064 (user name does not exist)

Changes

Set the RDP username to AzureAdmin in:

  • templates/azure/splunk_ad_azure.yml (win-dc, win)
  • templates/azure/splunk_full_azure.yml
  • templates/azure/splunk_windows_azure.yml

AWS and GCP templates are unchanged (their Windows user_name is Administrator, matching Guacamole).

Testing

On a running azure/splunk_ad_azure range:

  • Confirmed Get-LocalUser on both Windows hosts lists AzureAdmin (SID ...-500) and no Administrator.
  • Applied the same change to /etc/guacamole/user-mapping.xml on the Guacamole host, restarted Tomcat, re-logged into Guacamole: RDP to both win-dc and win now works.
  • Templates still parse; every Guacamole RDP username matches the corresponding host user_name.

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant