Ask a Question related to ASP.NET Security, Design and Development.
-
Patrick Olurotimi Ige #1
Role Based Forms Auth with Active Directory
As anybody
succesfully implemented a role/groups based forms authentication against
the Active Directory?
Thx
Patrick
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Patrick Olurotimi Ige Guest
-
Role based Forms Authentication (using Active Directory)
Hi All, Can anybody here kindly forward me a sample of a Role based forms Authentication using Acitve Directory? Thanks alot. P -
Role based Forms Authentication
Before I start I must point out that this does work on my local Windows XP machine but does not work on a Windows 2003 Server. I have created a... -
Active Directory Role-Based Authentication Fails for Users - Local
Developed a web-based application that queries active directory for roles to associate the appropriate functionality to the user. After a recent... -
Windows Auth - Active Directory
Hello, I have a web application that uses windows authentication. All the users log in using an active directory account. When an authenticated... -
securing directories with role-based forms authentication
I have an ASP.NET application that uses forms authentication. I rolled my own CustomPrincipal class for role-based authentication, and wired the... -
Paul Clement #2
Re: Role Based Forms Auth with Active Directory
On Tue, 28 Dec 2004 20:00:09 -0800, Patrick Olurotimi Ige <ige@iprimus.com.au> wrote:
¤ As anybody
¤ succesfully implemented a role/groups based forms authentication against
¤ the Active Directory?
The following documents how to do this:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp[/url]
Paul ~~~ [email]pclement@ameritech.net[/email]
Microsoft MVP (Visual Basic)
Paul Clement Guest
-
grimgroups@gmail.com #3
Re: Role Based Forms Auth with Active Directory
Sure. What's the problem you're having?
grimgroups@gmail.com Guest
-
Patrick Olurotimi Ige #4
Re: Role Based Forms Auth with Active Directory
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 [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Patrick Olurotimi Ige Guest
-
Paul Clement #5
Re: Role Based Forms Auth with Active Directory
On Fri, 31 Dec 2004 14:42:43 -0800, Patrick Olurotimi Ige <ige@iprimus.com.au> 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:
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;326340[/url]
Paul ~~~ [email]pclement@ameritech.net[/email]
Microsoft MVP (Visual Basic)
Paul Clement Guest
-
Patrick Olurotimi Ige #6
Re: Role Based Forms Auth with Active Directory
No Paul they don't return GROUP membership.
The code works only if i comment out the GetGroup function.
Any ideas?
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Patrick Olurotimi Ige Guest
-
Paul Clement #7
Re: Role Based Forms Auth with Active Directory
On Thu, 17 Mar 2005 04:33:35 -0800, Patrick Olurotimi Ige <ige@iprimus.com.au> 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)
Paul Clement Guest
-
Patrick Olurotimi Ige #8
Re: Role Based Forms Auth with Active Directory
Yes No groups are being returned!
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Patrick Olurotimi Ige Guest



Reply With Quote

