Skip to content
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

Trying to use Impersonation with Find, Rename or Delete fails in an unhandled exception. #14

Open
nickeeex opened this issue Jun 7, 2021 · 1 comment
Labels

Comments

@nickeeex
Copy link
Contributor

nickeeex commented Jun 7, 2021

Impersonation is not supported with the .net standard version of the Frends.File tasks. ExecuteAction should also check the compilation target with the #if preprocessor.

return Impersonation.RunAsUser(new UserCredentials(domainAndUserName[0], domainAndUserName[1], password),

@nickeeex nickeeex added the bug label Jun 7, 2021
@scheibling
Copy link

@nickeeex If you're still having problems with this, we decided to write our own extension for 6.0 for use on the X-platform agent. Supports impersonation for SMB the same as on Windows: https://github.com/Hoglandets-IT/Frends.HIT.RemoteFS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants