Re: Have <authentication mode="Windows"> half working
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Mar 2006 23:18:33 -0600
One other thing to try: WindowsPrincipal also has an IsInRole overload that
takes a SecurityIdentifier. Can you try testing with that using my previous
sample? You can just cast the IdentityReference objects in the Groups
property to SecurityIdentifier objects.
If that doesn't work, then there is something even more bizarre wrong than
with the name translation routine.
Another thing to try would be to take the converted NTAccount objects in the
second collection and try using the Translate method to see if you can
convert back into SecurityIdentifier objects. Maybe that part is broken?
Thanks,
Joe K.
"David Thielen" <thielen@xxxxxxxxxxxxx> wrote in message
news:16B053B3-6B19-441A-A981-CB26C012F09B@xxxxxxxxxxxxxxxx
What environment setting? I don't see how an environment setting can allow
me
to be authenticated, will return the groups I am in, but will fail
IsInRole -
that makes no sense.
Please ask the dev team how IsInRole could fail in this situation.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
"Luke Zhang [MSFT]" wrote:
Also works for me.
It is more like environment settings (like AD problem), than a
programming
issue.
Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- Follow-Ups:
- Re: Have <authentication mode="Windows"> half working
- From: David Thielen
- Re: Have <authentication mode="Windows"> half working
- References:
- Re: Have <authentication mode="Windows"> half working
- From: Dominick Baier [DevelopMentor]
- Re: Have <authentication mode="Windows"> half working
- From: David Thielen
- Re: Have <authentication mode="Windows"> half working
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Have <authentication mode="Windows"> half working
- From: David Thielen
- Re: Have <authentication mode="Windows"> half working
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Have <authentication mode="Windows"> half working
- From: David Thielen
- Re: Have <authentication mode="Windows"> half working
- From: Dominick Baier [DevelopMentor]
- Re: Have <authentication mode="Windows"> half working
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Have <authentication mode="Windows"> half working
- From: David Thielen
- Re: Have <authentication mode="Windows"> half working
- From: Joe Kaplan \(MVP - ADSI\)
- Re: Have <authentication mode="Windows"> half working
- From: David Thielen
- Re: Have <authentication mode="Windows"> half working
- From: Dominick Baier [DevelopMentor]
- Re: Have <authentication mode="Windows"> half working
- From: Luke Zhang [MSFT]
- Re: Have <authentication mode="Windows"> half working
- Prev by Date: Re: ActiveDirectory authentication - more issues
- Next by Date: Re: ActiveDirectory authentication - more issues
- Previous by thread: Re: Have <authentication mode="Windows"> half working
- Next by thread: Re: Have <authentication mode="Windows"> half working
- Index(es):