Rick45 / cassia

Automatically exported from code.google.com/p/cassia
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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 commented 8 years ago
Would be nice to have this information in a doc somewhere.

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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
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