Re: DCOM Identity: This User
From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 06/23/04
- Next message: Jezebel: "Re: VB6 - DataGrid SelStartRow and SelEndRow"
- Previous message: Randy Day: "Re: VB6 Datagrid question"
- In reply to: John: "Re: DCOM Identity: This User"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Jun 2004 21:55:38 -0700
Actually, I have a pretty good guess... Before your object's
settings are consulted, the activation request needs to come
through to the COM SCM. However, unless DCOM is globally
unsecured, your client has to actually go through basic network
security and obtain a logon token. Which means both the
global and the server DCOM settings must turn security off
in order for insecure DCOM to take place.
-- ===================================== Alexander Nickolov Microsoft MVP [VC], MCSD email: agnickolov@mvps.org MVP VC FAQ: http://www.mvps.org/vcfaq ===================================== "John" <no@spam.com> wrote in message news:eCFm$ZLWEHA.712@TK2MSFTNGP11.phx.gbl... > Santhosh Pillai [MS] wrote: > > > Making the machine level Default Authentication Level to None (and making > > sure you do NOT set the Impersonation level to Anonymous) and adding > > Everyone to Default launch & access is how you turn off the security. You > > have to do this on BOTH machines. A reboot is required after this change. > > > > When you specify the user, you have to use MACHINENAME\USERNAME. > > > > As you say, it works only if I set the machine defaults to these values. > Can anyone tell me why it doesn't work if I set these same values to the > object's AppId? I thought that the object values would override the > machine defaults. > > The following are the object AppID settings: > RunAs: ASC21PLAIN\Autostructure > LaunchPermission: > Launch permitted to \Everyone > Launch permitted to NT AUTHORITY\SYSTEM > Launch permitted to NT AUTHORITY\NETWORK > Launch permitted to NT AUTHORITY\INTERACTIVE > AccessPermission: > Access permitted to \Everyone > Access permitted to NT AUTHORITY\SYSTEM > Access permitted to NT AUTHORITY\NETWORK > Access permitted to NT AUTHORITY\INTERACTIVE > AuthenticationLevel: None > > It only works if the machine defaults are set to: > DCOM Settings: > DCOM Installed and Enabled > COM Internet Services: Not Enabled > Default Authentication Level: None > Default Impersonation Level: Identify > Additional Security for Reference Counting: Not Provided > COM Security Default Access Permissions: > Access permitted to \Everyone > Access permitted to NT AUTHORITY\INTERACTIVE > Access permitted to NT AUTHORITY\NETWORK > Access permitted to NT AUTHORITY\SYSTEM > COM Security Default Launch Permissions: > Launch permitted to \Everyone > Launch permitted to BUILTIN\Administrators > Launch permitted to NT AUTHORITY\INTERACTIVE > Launch permitted to NT AUTHORITY\SYSTEM > DCOM Protocols: > Connection-oriented TCP/IP > Connection-oriented SPX > Connection-oriented NetBEUI > Connection-oriented Netbios over IPX > > Thanks > > PS. I would also like to mention that the following KB article is wrong, > the information is not correct and it should be updated: > http://support.microsoft.com/default.aspx?scid=kb;en-us;266625
- Next message: Jezebel: "Re: VB6 - DataGrid SelStartRow and SelEndRow"
- Previous message: Randy Day: "Re: VB6 Datagrid question"
- In reply to: John: "Re: DCOM Identity: This User"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|