Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2006, 01:06 PM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto RDP and VPN login

I was asked today to write a program that will have a central database that will manage the usernames and passwords of the remote servers our company supports.

My boss wants me to create a client app that allows a technician to see a list of our servers (from DB) and to be able to click on the server and have it auto login.

This app will have an admin backend that will allow my boss to turn on/off want servers each tech can connect to. the point is to have the passwords remain secret so every tech doesn't have a list of usernames and passwords and we wouldn't have to change all the passwords (hundreds) everytime an employee is fired or quits.

Is this possible. Some of the servers use RDP to login and some use VPN. Also some of the servers are 2003 and some are 2000.

Any advice and.or guidenece would be much appreciated.

Justin Bezanson
www.aspnetguy.com
 
Old September 7th, 2006, 07:45 AM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

After doing some research I found an open source C# RDP client that should prove very useful.

It is looking more and more like I will have to write my own RDp client (or mod the one I found) to get the results I want.

Another question, is it possible to modify Active Directory through an RDP connection (programmatically)?

Justin Bezanson
www.aspnetguy.com
 
Old September 7th, 2006, 09:40 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

What do you mean modifiy AD through RDP?

Are you asking if it is possible to send commands through an RDP connection to a remote AD? If this is the case, I don't think that that is possible (assuming that the program you are executing is on the local machine as opposed to the pc that you are connected to) because an RDT connection doesn't make your local pc part of the remote network (as opposed to a VPN connection).

The only way this may be possible is if you wrote an application and placed it on the remote server that could then be accessed when someone connects to the machine via RDP.

hth.

"The one language all programmers understand is profanity."
 
Old September 7th, 2006, 10:49 AM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks, that does help

So this may be possible with VPN?

What I mean is I was also asked if it was possible for this program I was asked to write if they could change passwords on the remote server from their local PC.

Justin Bezanson
www.aspnetguy.com
 
Old September 7th, 2006, 11:16 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Over a VPN connection yes this may be possible since, at that time, your local PC is part of the remote network but the only way you could get this to work over RDP is if a user connected to a machine through RDP and the machine they were connecting to had an application on it that connected to that networks P/SDC.

hth.

"The one language all programmers understand is profanity."
 
Old September 11th, 2006, 04:39 PM
Authorized User
 
Join Date: Jul 2004
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think what you are trying to do is emulate what windows integrated security with Active Directory already does. You should be able to very easily set up your users and then give access to the servers that they need access to using the security model already supplied with windows. I don't see why you need to write any code to accomplish this goal. Am I missing something here?

www.CoderForRent.com
Get A Computer Job!

www.ComputersComplete.com
Computer Parts & Accessories
 
Old September 11th, 2006, 08:56 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

They are remote servers, you need some sort of remote connection, its not so much a question about user authentication.

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN on Server08 nordic Windows Server 0 September 12th, 2008 04:00 AM
Windows Service auto login theBadKid C# 2005 1 November 30th, 2007 05:04 AM
Weired Behavior ASP Files in VPN Network tarzannn Classic ASP Professional 0 January 4th, 2006 02:35 AM
problem with auto login script to MSDE cmedley007 Access VBA 1 July 8th, 2004 11:01 AM
Access VPN carlos .NET Web Services 3 November 14th, 2003 10:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.