Daniel Lohmann wrote:

> I agree - this is a really strange one. Maybe the Win32 subsystem process
> recognizes token creations which occur via Win32 calls and stores some meta
> informations about it.
> Did you try to duplicate the token created with NtCreateToken() via
> DuplicateToken(Ex)() ?
> Because this is a Win32 call, the duplicate may have all necessary
> information.
>
>

Yes, cvsnt (& presumably cygwin) do this anyway.  I've also tried
creating a pipe under the new user and using
ImpersonateNamedPipeClient().  Finding out what GetUserName() is looking
for is the big problem at the moment.

Tony

_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Reply via email to