Remote DSN Creation

  • Thread starter Thread starter Babu Raju
  • Start date Start date
B

Babu Raju

Hi

Can any one give me a solution to create a DSN in the Remote Machine.

I have tried by using the RegConnectRegistry API Function, but the
problem is it accepts only the computer name not the username and the
password combination using which i want to connect to the remote
system.

Currently what happens is, with the login(Administrator account) i
entered in to the local system, it connects to the Remote Registry if
the same account is exists in the remote system. If it is
available(with same username and password), it connects to the system
and i can read/ write to the remote system.

But i want to pass the username and password of the remote
system(which can be different in different machines) and using that i
need to access the registry and read/write in that.

I will appreciate if you provide any other options to create the
Remote DSN without using the Registry API functions.

Thanks
Babu Raju
 
You didn't tell us what problem this causes and what specifically you're
trying to do and what happens when you try.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
http://www.microsoft.com/protect.

:
| Hi
|
| Can any one give me a solution to create a DSN in the Remote Machine.
|
| I have tried by using the RegConnectRegistry API Function, but the
| problem is it accepts only the computer name not the username and the
| password combination using which i want to connect to the remote
| system.
|
| Currently what happens is, with the login(Administrator account) i
| entered in to the local system, it connects to the Remote Registry if
| the same account is exists in the remote system. If it is
| available(with same username and password), it connects to the system
| and i can read/ write to the remote system.
|
| But i want to pass the username and password of the remote
| system(which can be different in different machines) and using that i
| need to access the registry and read/write in that.
|
| I will appreciate if you provide any other options to create the
| Remote DSN without using the Registry API functions.
|
| Thanks
| Babu Raju
 
Back
Top