Re: Accessing security information from an authentication provider
- From: Corinna Vinschen <corinna@xxxxxxxxxxxxxxxx>
- Date: Mon, 14 Jul 2008 12:03:31 +0000 (UTC)
Chris Smith wrote:
I just want to say thanks SO much for everyone's help on this. I have
been away and haven't been able to answer as reliably as I'd like.
It looks like the combination of OpenSamUser, GetAuthDataForUser, and
ConvertAuthDataToToken is exactly what I was looking for, at least for
the first bits here. I'm somewhat concerned by Corinna's comment that it
doesn't seem to work for domain accounts, though. The documentation of
these functions seems to suggest that it should. Is this perhaps due to
someone disabling or restricting the null account, as is sometimes
suggested in various tutorials on how to secure Windows domains?
What null account? The LSA itself is running in SYSTEM context, AFAIK,
and the logon application is running under a privileged domain account.
Nevertheless, the GetAuthDataForUser only works for machine local
accounts and never asks AD, apparently.
I am NOT concerned that ConvertAuthDataToToken doesn't set up network
credentials immediately. In fact, it's clear to me that it can't.
Nothing I can do on a client machine should be able to give me access to
network shares and such without somehow authenticating to a domain
controller. I realize that.
Isn't that the task of the AP? I mean, the user has authenticated by
some other means. The AP is supposedly a trusted part of the OS.
Why should a user who authenticated against that AP *not* be able to
access network resources?
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
.
- Follow-Ups:
- Re: Accessing security information from an authentication provider
- From: Chris Smith
- Re: Accessing security information from an authentication provider
- References:
- Accessing security information from an authentication provider
- From: Chris Smith
- Re: Accessing security information from an authentication provider
- From: Chris Smith
- Re: Accessing security information from an authentication provider
- From: Joe Kaplan
- Re: Accessing security information from an authentication provider
- From: Corinna Vinschen
- Re: Accessing security information from an authentication provider
- From: Corinna Vinschen
- Re: Accessing security information from an authentication provider
- From: DaveMo
- Re: Accessing security information from an authentication provider
- From: ferrix
- Re: Accessing security information from an authentication provider
- From: DaveMo
- Re: Accessing security information from an authentication provider
- From: Chris Smith
- Accessing security information from an authentication provider
- Prev by Date: Re: How to enumerate Windows user accounts?
- Next by Date: Re: Accessing security information from an authentication provider
- Previous by thread: Re: Accessing security information from an authentication provider
- Next by thread: Re: Accessing security information from an authentication provider
- Index(es):
Relevant Pages
|