INTERACTIVE group missing after SSPI auth

From: Sami J. Lehtinen (sjl_at_ssh.com)
Date: 10/28/05


Date: Fri, 28 Oct 2005 12:54:09 +0300

After SSPI-authentication (CompleteAuthToken() has returned
successfully) I get the user's access token by running
ImpersonateSecurityContext(), then getting the token with
OpenThreadToken(). I use DuplicateTokenEx() to make a primary token, so
I can use it with CreateProcessAsUser().

The problem I am encountering is that the access token is missing
INTERACTIVE token group. This group is required for regular users on
Windows 2003 Server to access the WINDOWS\System32 directory. Using the
access token gotten from the gss-api negotiation I cannot run cmd.exe
for the user, as I can after LogonUser().

Is it possible to add the INTERACTIVE group to the token somehow, or
otherwise instruct SSPI to give me a token with the group in there?

If no workaround is possible, can you direct me to documentation or
white-paper on this 2003 feature? If the token manipulation is
impossible, this becomes a known issue, and I'd like some formal
documentation why this has been changed in Windows 2003.

--
sjl@ssh.com


Relevant Pages

  • INTERACTIVE group missing after SSPI auth
    ... INTERACTIVE token group. ... This group is required for regular users on ... Windows 2003 Server to access the WINDOWS\System32 directory. ... documentation why this has been changed in Windows 2003. ...
    (microsoft.public.platformsdk.security)
  • INTERACTIVE group missing after SSPI auth
    ... INTERACTIVE token group. ... This group is required for regular users on ... Windows 2003 Server to access the WINDOWS\System32 directory. ... documentation why this has been changed in Windows 2003. ...
    (microsoft.public.windows.server.security)
  • Re: ping Purl Gurl? Beginner Level Perl
    ... This is a good short one page article on perl core buffering, ... a lot of documentation amounted to nothing ... more than tirades about how bad Windows is as an operating system. ...
    (alt.usage.english)
  • Re: solaris
    ... In FreeBSD I can't see a lack. ... the lact of documentation is one of the ... If the Windows documentation were fit for purpose, ... Installing an MS operating system on hardware for which the OS has inbuilt ...
    (freebsd-questions)
  • Re: What Was Your Experience When You First Started Using Linux?
    ... Considering the amount of flawless uptime I see with Windows ... wipe the disk and install Linux. ... > The documentation is not poor, or at least most of the documentation ... Poor was a 'poor' choice of words. ...
    (alt.os.linux)