Install-ChocolateyWindowsService fails to run remotely due to double-hop authentication #392
Labels
0 - Backlog
Where tickets start after being triaged. This means the ticket has targeted milestone/labels.
LicensedExtension
Issues affecting the Chocolatey Licensed Extension (chocolatey.extension)
What You Are Seeing?
Several users have attempted to install Chocolatey Agent with a specific domain service account, and it's failed during the installation due to Kerberos double-hop. This has been using Ansible, or PowerShell remoting. The failure is not due to the account being incorrectly created, but instead because the logic used to validate the account fails to authenticate to the domain when checking the account is in groups, etc.
There is, I think, no current way to simply pass an existing domain account to a remote system and have it succeed installation.
This will likely also fail if business customers attempt to use the
Install-ChocolateyWindowsService
in their own packages in a similar fashion.What is Expected?
Users should be able to install this package remotely / with an account that exists and has all the right permissions, even if we can't validate that.
How Did You Get This To Happen? (Steps to Reproduce)
chocolatey
andchocolatey.extension
on the second machineERROR: Unable to ensure user 'domain\choco_local_admin_account' is part of the Administrators group (S-1-5-32-544). Please run again with '--trace' and file an issue with [email protected] (attach a zipped copy of the detailed chocolatey.log file).
System Details
Output Log
chocolatey.log
The text was updated successfully, but these errors were encountered: