Active Directory Role-Based Authentication Fails for Users - Local

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

  1. #1

    Default 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 upgrade
    of OS and .NET framework, the ".IsInRole" method returns "false" even though
    AD has the role associated to the user (plus, the user works fine in our
    production environemnt). Also, the user was authenicated to run the page.
    Prior to the upgrade, AD returned "true".

    Note: The application running on the localhost uses our production AD
    domain. The application runs correctly within my development, prodtest, and
    production environments.

    At this point, unable to identify the cause of the issue researching into
    the OS, IE, and .Net framework. Not sure if it is a bug or a new group
    policy implemented by my company.

    Technical Information:
    Framework -> aspnet_isapi.dll Version: 1.0.3705.419 - SP2 (also attempted
    installation of SP3 which did not corret the problem)
    OS Version: 5.0.2195 Service Pack 4 Build 2195 - Windows 2000
    IE Version: 6.0.2800.1106CO
    Authentication method: NTLM
    Impersonate: "true"


    --
    Sr Integrator - Info Solutions
    PPL Corp.
    PPL-KMS Guest

  2. Similar Questions and Discussions

    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...
    2. 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
    3. 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...
    4. ASP.NET with ADirectory role based authentication
      Hi Everyone, I have some Questions relating to Active Directory and Asp.net. 1)I have created a role based authorisation using SQL Server but i...
    5. Enable additional users properties in Active Directory users and Computers
      "Mike Brannigan " <mikebran@online.microsoft.com> wrote in message news:O5qGXY1XEHA.808@tk2msftngp13.phx.gbl......
  3. #2

    Default Re: Active Directory Role-Based Authentication Fails for Users - Local

    On Mon, 4 Oct 2004 11:53:04 -0700, "PPL-KMS" <PPLKMS@discussions.microsoft.com> wrote:

    ¤ Developed a web-based application that queries active directory for roles to
    ¤ associate the appropriate functionality to the user. After a recent upgrade
    ¤ of OS and .NET framework, the ".IsInRole" method returns "false" even though
    ¤ AD has the role associated to the user (plus, the user works fine in our
    ¤ production environemnt). Also, the user was authenicated to run the page.
    ¤ Prior to the upgrade, AD returned "true".
    ¤
    ¤ Note: The application running on the localhost uses our production AD
    ¤ domain. The application runs correctly within my development, prodtest, and
    ¤ production environments.
    ¤
    ¤ At this point, unable to identify the cause of the issue researching into
    ¤ the OS, IE, and .Net framework. Not sure if it is a bug or a new group
    ¤ policy implemented by my company.
    ¤
    ¤ Technical Information:
    ¤ Framework -> aspnet_isapi.dll Version: 1.0.3705.419 - SP2 (also attempted
    ¤ installation of SP3 which did not corret the problem)
    ¤ OS Version: 5.0.2195 Service Pack 4 Build 2195 - Windows 2000
    ¤ IE Version: 6.0.2800.1106CO
    ¤ Authentication method: NTLM
    ¤ Impersonate: "true"

    These types of problems are always a lot of fun to troubleshoot but I'm fairly certain it's a
    configuration issue of some type. Group policy, as you suggest, may be the likely culprit. I will
    assume that you've set up the web app for the appropriate authentication level and impersonation is
    configured and working properly.

    I would take a look at the following MS KB article to see if anything suggested resolves the
    problem:

    The IsInRole method of the WindowsPrincipal class does not work correctly
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;842794[/url]


    Paul ~~~ [email]pclement@ameritech.net[/email]
    Microsoft MVP (Visual Basic)
    Paul Clement 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