Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2005

Tip: Looking for answers? Try searching our database.

DCOM Identity changes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric Livingston - 18 Jan 2005 21:05 GMT
Need to be able to set the password for the account used by a given DCOM
object.  What options do I have here?  I don't suppose any of the native API
functionality for this has been wrapped in .NET yet?

To be clear on what I'm trying to change, if you run dcomcnfg and view an
application's properties, I need to reset the password shown on the Identity
tab when it is running with the "This User" setting.

Thanks!
"Peter Huang" [MSFT] - 19 Jan 2005 06:55 GMT
Hi

I think you may try to take a look at the link below, follow the link you
can download the vs sample which will do the job in the VC++.
206484 INFO: DCOMCNFG Programmatically Manipulates DCOM Server Permissions
http://support.microsoft.com/?id=206484

Use the tool we can use the command line as below to set the identity for
DCOM server whose appid is  {12345678-1234-1234-1234-00aa00bbf7c7}
dcomperm -runas {12345678-1234-1234-1234-00aa00bbf7c7} redmond\jdoe password

Best regards,

Perter Huang
Microsoft Online Partner Support

Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

"Peter Huang" [MSFT] - 20 Jan 2005 05:42 GMT
Hi

BTW: so far there is no .NET wrap to do the job. We need to use the
unmanaged API as the link below do to do the job.
If you still have any concern, please feel free to post here.

Best regards,

Perter Huang
Microsoft Online Partner Support

Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.