Trouble using LogonUser

Mont Rothstein <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
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 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.