Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Canīt get AD groups to authenticate via web.config

Thread Tools

Canīt get AD groups to authenticate via web.config

John Boghossian
Posts: n/a
We are trying to limit access for an intranet application to certain people
based on AD groups they belong to.

When we add a key to <allow roles="domain\group" /> it doesnīt work but it
works with explicit users as <allow user="domain\loginid" />

Extract from our web.config
<identity impersonate="true" />
<authentication mode="Windows" />
<allow users="domain\user" roles="domain\group" />
<deny users="*" />

Anyone that knows what could be wrong?

John Boghossian

Reply With Quote
Posts: n/a
Hi John,

In web.config, The machine name or domain name AND the group name are case
sensitive. The group name MUST match case EXACTLY as it is in Windows. You
may double check if it is the problem.

Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Reply With Quote

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Authenticate against the Windows NT Domain via Ruby ChessMess Ruby 8 07-11-2008 06:58 PM
unable to authenticate via a c5400 when using PPP connection FixitDave Cisco 0 06-08-2006 10:50 AM
Groups of groups with PIX. AM Cisco 2 01-31-2006 04:37 PM
Windows groups, VPN groups, and SecureACS John Sasso Cisco 0 10-02-2004 03:39 PM
Reading membership of groups (including nested groups) Petra Hübner ASP .Net 0 02-16-2004 07:07 PM