HighTechTalks DotNet Forums  

Windows Groups not working in AzMan

ASP.net Security microsoft.public.dotnet.framework.aspnet.security


Discuss Windows Groups not working in AzMan in the ASP.net Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Timo
 
Posts: n/a

Default Windows Groups not working in AzMan - 12-10-2007 , 03:09 AM






I'm trying to get the AzMan work with windows groups but for some reason it
doesn't work. When I'm assigning individual windows users to azman roles then
authorization works as expected but when I'm using windows groups then I'm
never authorized to perform any tasks.

I'm doing the authorization from c# code using
Microsoft.Interop.Security.AzRole v. 1.2.

My authrorization store is in AD (domain functional level 2003) and I'm
using Windows Server 2003 (not R2).

-Timo

Reply With Quote
  #2  
Old   
Timo
 
Posts: n/a

Default RE: Windows Groups not working in AzMan - 12-10-2007 , 08:01 AM






New information. I was able to get Azman working with windows groups but this
required me to boot my development machine after I made any changes to the
windows group (added or removed user) in order to get that change working in
Azman.

I tried to restart IIS, component services etc but those didn't help.

So the question is that how to tell Azman that there are changes in the
windows groups and it should be update it's cache or something? I'm calling
AzAuthorizationStore.UpdateCache() but that doesn't help.

-Timo

"Timo" wrote:

Quote:
I'm trying to get the AzMan work with windows groups but for some reason it
doesn't work. When I'm assigning individual windows users to azman roles then
authorization works as expected but when I'm using windows groups then I'm
never authorized to perform any tasks.

I'm doing the authorization from c# code using
Microsoft.Interop.Security.AzRole v. 1.2.

My authrorization store is in AD (domain functional level 2003) and I'm
using Windows Server 2003 (not R2).

-Timo

Reply With Quote
  #3  
Old   
Timo
 
Posts: n/a

Default RE: Windows Groups not working in AzMan - 12-11-2007 , 05:15 AM



I found this posting
http://www.tutorials-win.com/ActiveD...n-AccessCheck/ that pretty
much answers my question.

-Timo

"Timo" wrote:

Quote:
New information. I was able to get Azman working with windows groups but this
required me to boot my development machine after I made any changes to the
windows group (added or removed user) in order to get that change working in
Azman.

I tried to restart IIS, component services etc but those didn't help.

So the question is that how to tell Azman that there are changes in the
windows groups and it should be update it's cache or something? I'm calling
AzAuthorizationStore.UpdateCache() but that doesn't help.

-Timo

"Timo" wrote:

I'm trying to get the AzMan work with windows groups but for some reason it
doesn't work. When I'm assigning individual windows users to azman roles then
authorization works as expected but when I'm using windows groups then I'm
never authorized to perform any tasks.

I'm doing the authorization from c# code using
Microsoft.Interop.Security.AzRole v. 1.2.

My authrorization store is in AD (domain functional level 2003) and I'm
using Windows Server 2003 (not R2).

-Timo

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.