Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bruno 30 posts 50 karma points
    Apr 04, 2011 @ 22:48
    Bruno
    0

    Active Directory without username/password in the Membership Provider

    When I remove the connectionUsername and connectionPassword from the Membership Provider in the web.config file, I cannot connect to active directory. The MSDN Site says you can configure AD without a connectionUsername and connectionPassword.

    If you do not specify account credentials, Active Directory uses your ASP.NET Web application's process account.

    Note   The service account that you use to connect to Active Directory must have sufficient permissions in Active Directory. If you place your user accounts in an Active Directory organizational unit (OU), you can create and use a service account that has only read, write, and delete access on that OU (and, optionally, reset password privilege).

     

    How do I check if the ASP.NET account has sufficient permissions in AD?

    Any ideas as t how do to get AD to work without specifying a connectionUsername and connectionPassword?


    Thanks!

  • Bruno 30 posts 50 karma points
    Apr 05, 2011 @ 16:52
    Bruno
    0

    I solved the issue by creating a low-level user that has access to all the active directory domains.

Please Sign in or register to post replies

Write your reply to:

Draft