Re: Trouble using LogonUser

Dominick Baier <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
Hi,

a) not that's not possible
b) what nested impersonation/users?




cheers,
dominick

-----------------------------
Dominick Baier, DevelopMentor
http://www.leastprivilege.com


-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Mont Rothstein
Sent: Mittwoch, 2. August 2006 20:51
To: [email protected]
Subject: [DOTNET-CX] Trouble using LogonUser

I am running into a couple of problems using LogonUser().

My first problem is that I can't seem to authenticate a user against a
domain in which the computer is not a member.  Is this possible?

Second, I am having problems with nested impersonations.  When I nest
impersonations they succeed (the current user is the nested impersonated
user) but a File.Create() operation complains that I do not have the proper
impersonation level.  Impersonating the nested user directly works fine.  In
both cases my impersonation level reports as None, but I can't figure out
how to change this.

Thanks,
-Mont

===================================
This list is hosted by DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.