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

Add impersonation information to FAQ/docs, or managed wrapper for LogonUser #32

Open
GoogleCodeExporter opened this issue Aug 26, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  Dim session As ITerminalServicesSession = server.GetRemoteServer
("server-name")

I have a couple of terminal servers but on a different network connected 
via VPN. When I try to query them and open the connection I get "access 
denied" Is there a way to pass user/name password parameters?

What is the expected output? What do you see instead?
"Access-denied"

What version of the product are you using? On what operating system?

Latest version of your Libarary. I am building this in VB.net 2008

Please provide any additional information below.

Your library is really helpful and I'm building a program around it to 
help me do day to day tasks. 

Original issue reported on code.google.com by pcTechHE...@gmail.com on 29 Jan 2010 at 5:16

@GoogleCodeExporter
Copy link
Author

You would need to use impersonation for this, as the underlying Windows 
Terminal 
Services API does not provide any functions that take user name/password 
information. 
See issue 25 and the following blog post:
http://blogs.msdn.com/shawnfa/archive/2005/03/21/400088.aspx

Original comment by danports on 30 Jan 2010 at 1:28

@GoogleCodeExporter
Copy link
Author

Would be nice to have this information in a doc somewhere.

Original comment by danports on 8 Mar 2010 at 3:51

  • Changed title: Add impersonation information to FAQ/docs
  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

See impersonation code sample attached to issue 34. It might be nice to have a 
managed 
wrapper for the LogonUser API, unless there's one out there already to which we 
can 
refer people.

Original comment by danports on 5 May 2010 at 11:06

  • Changed title: Add impersonation information to FAQ/docs, or managed wrapper for LogonUser

@GoogleCodeExporter
Copy link
Author

This would be useful for the PowerShell users. I'll try to implement this in 
either the 2.1 release or the next one after that.

Original comment by danports on 8 May 2011 at 12:29

@GoogleCodeExporter
Copy link
Author

Original comment by danports on 15 Feb 2012 at 2:51

  • Added labels: Milestone-2.1

@GoogleCodeExporter
Copy link
Author

I've already experimented a bit with this -- the trick will be figuring 
something out that works in all situations (local vs. remote, cross-domain, 
workstation to domain, etc.).

Original comment by danports on 26 Feb 2012 at 2:15

  • Added labels: Estimate-4

@danports danports added this to the 2.1 milestone Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants