Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Role Based Forms Auth with Active Directory

Reply
Thread Tools

Role Based Forms Auth with Active Directory

 
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      12-29-2004
As anybody
succesfully implemented a role/groups based forms authentication against
the Active Directory?
Thx
Patrick




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Paul Clement
Guest
Posts: n/a
 
      12-29-2004
On Tue, 28 Dec 2004 20:00:09 -0800, Patrick Olurotimi Ige <(E-Mail Removed)> wrote:

As anybody
succesfully implemented a role/groups based forms authentication against
the Active Directory?

The following documents how to do this:

http://msdn.microsoft.com/library/de...SecNetHT02.asp


Paul ~~~ http://www.velocityreviews.com/forums/(E-Mail Removed)
Microsoft MVP (Visual Basic)
 
Reply With Quote
 
 
 
 
grimgroups@gmail.com
Guest
Posts: n/a
 
      12-30-2004
Sure. What's the problem you're having?

 
Reply With Quote
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      12-31-2004
Thx Paul for the link..
But when u try that code(guess it has flaws!) ...u won't authenticate
with GROUPS and u wouldn't retrieve the GROUPS..
My aim is to have a form authentication validating against Active
Direcctory with Roles....
But getting GROUPS/ROLES to validate against poses a problem..
So doing authorisation poses a problem since i can't get groups/roles..
Any ideas?


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
Paul Clement
Guest
Posts: n/a
 
      01-03-2005
On Fri, 31 Dec 2004 14:42:43 -0800, Patrick Olurotimi Ige <(E-Mail Removed)> wrote:

Thx Paul for the link..
But when u try that code(guess it has flaws!) ...u won't authenticate
with GROUPS and u wouldn't retrieve the GROUPS..
My aim is to have a form authentication validating against Active
Direcctory with Roles....
But getting GROUPS/ROLES to validate against poses a problem..
So doing authorisation poses a problem since i can't get groups/roles..
Any ideas?

I don't understand what you are saying. Groups, or Roles, are essentially the same thing. The link I
posted will return the group membership of the user.

If you want to authentication against Active Directory using Forms-based authentication then see the
following:

http://support.microsoft.com/default...b;en-us;326340


Paul ~~~ (E-Mail Removed)
Microsoft MVP (Visual Basic)
 
Reply With Quote
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      03-17-2005
No Paul they don't return GROUP membership.
The code works only if i comment out the GetGroup function.
Any ideas?




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
Paul Clement
Guest
Posts: n/a
 
      03-17-2005
On Thu, 17 Mar 2005 04:33:35 -0800, Patrick Olurotimi Ige <(E-Mail Removed)> wrote:

No Paul they don't return GROUP membership.
The code works only if i comment out the GetGroup function.
Any ideas?


The memberOf method should return the LDAP path for each group that the account is a member. Are you
saying that no groups are being returned?


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Reply With Quote
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      03-20-2005
Yes No groups are being returned!




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

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
Sitemap trimming with Forms auth (Active Directory) CJ ASP .Net Security 4 05-09-2007 05:51 AM
AzMan Role Based Security vs. ASP.NET Role Based Security Kursat ASP .Net Security 1 05-07-2007 01:33 PM
Forms Auth. using Active Directory - time out =?Utf-8?B?QW5kZXJzQmo=?= ASP .Net 2 11-08-2004 08:19 AM
Role based Forms Authentication (using Active Directory) Patrick.O.Ige ASP .Net Security 1 10-27-2004 01:49 PM
container-auth vs servlet-auth role-checking? Mark Chai Java 1 10-01-2003 06:30 PM



Advertisments