Re: Win2000 Impersonation weirdness? (or is it a conundrum?)
From: Colin Reinhardt (colinrei@oz.net)
Date: 07/20/02
- Next message: Fahim Khalid: "Log on Locally"
- Previous message: Karl: "Domain Policy"
- In reply to: D. Cross [MS]: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Next in thread: Joe Richards [MVP]: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Reply: Joe Richards [MVP]: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Reply: Matt Scarborough: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Colin Reinhardt" <colinrei@oz.net> Date: Sat, 20 Jul 2002 10:52:42 -0700
Hi,
Yes, actually both test servers (the XP and the Win2K) are part of a
Windows2000 domain.
But why does the XP box work (allowing LogonUser calls from a process
running without SE_TCB_NAME) while the Win2K does not?
Did the behavior intentionally change? If so, what was the rationale for
the change?
And what specifically do you mean by "system privileges"? Which specific
privileges are you referring to?
Ultimately, my goal is to have a component which runs in Inetinfo (a .NET C#
component) impersonate using a more privileged account context to make calls
to the database. Does this mean I need to enable SE_TCB_NAME for the
Inetinfo process (or for the ASP.NET surrogate process)?
And is this a security risk (which I'm trying to avoid)...?
Thank you.
"D. Cross [MS]" <vaq130@hotmail.com> wrote in message
news:OSCdIHBMCHA.2368@tkmsftngp10...
> Is the server joined to a domain? I believe you will require system
> priveleges to impersonate in a domain.
>
> --
>
> David B. Cross [MS]
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Colin Reinhardt" <colinrei@oz.net> wrote in message
> news:#J8HQ64LCHA.2656@tkmsftngp13...
> > On Win2K Server (SP1), it seems that I cannot successfully call
> LogonUser( )
> > if the process is
> > running as a security context which does not already have the
SE_TCB_NAME
> > privilege
> > (aka "Act as part of the operating system"). The privilege need not be
> > enabled, just must be on the token...
> >
> > How then can I do the following: I want to have a process which runs by
> > default as an unprivileged account (for example, Inetinfo process).
> > This process receives logon requests from users, and when they securely
> > provide their account credentials, it impersonates them using a
> potentially
> > more privileged account (based on the credentials they provide) by
making
> a
> > call to LogonUser and creating an impersonating thread...
> >
> > This scenario works "correctly" in XP Pro. How can I make the same work
> in
> > Win2K Server?
> >
> > Please help!
> >
> > Colin Reinhardt
> > software engineer
> > colinr@transenda.com
> >
> >
> >
> >
>
>
- Next message: Fahim Khalid: "Log on Locally"
- Previous message: Karl: "Domain Policy"
- In reply to: D. Cross [MS]: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Next in thread: Joe Richards [MVP]: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Reply: Joe Richards [MVP]: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Reply: Matt Scarborough: "Re: Win2000 Impersonation weirdness? (or is it a conundrum?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|