Role Based Forms Auth with Active Directory

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default Re: Role Based Forms Auth with Active Directory

    Sure. What's the problem you're having?

    grimgroups@gmail.com Guest

  5. #4

    Default 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

  6. #5

    Default 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

  7. #6

    Default 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

  8. #7

    Default 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

  9. #8

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139