Copied to clipboard

Flag this post as spam?

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


  • Thomas Sørensen 7 posts 27 karma points
    Oct 30, 2009 @ 10:18
    Thomas Sørensen
    0

    Use members from AD

    Hello

    I want to use our AD to validate users. So i have setup AD membershipprovider ad descriped here on our.umbraco.org

    This works perfectly with Umbraco users, but I can't get this working with siteusers.

     

    I have setup authorization to this,

        <authorization>

          <deny users="*" />

          <allow users="?" />

        </authorization>

    and changed authentication to this
        <authentication mode="Windows">
          <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
        </authentication
    But no matter what user i try, it do not work.. Also if i try to browse user from the membersection in umbraco no users are found (i have set enableSearchMethods="true" in web.config).
    Any suggestion  ?

     

  • Thomas Sørensen 7 posts 27 karma points
    Nov 09, 2009 @ 09:35
    Thomas Sørensen
    0

    Anyone ?

  • Comment author was deleted

    Nov 09, 2009 @ 09:44

    Are you using the System.Web.Security.ActiveDirectoryMembershipProvider ?

  • Thomas Sørensen 7 posts 27 karma points
    Nov 09, 2009 @ 09:55
    Thomas Sørensen
    0

    Hi Tim 

    Yes I am using the following provider

     

    <add name="MyADMembershipProvider"

           type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, 

                 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

           connectionStringName="ADConnectionString"

           connectionUsername="[email protected]

           connectionPassword="mypassword"

           attributeMapUsername="sAMAccountName"    

           enableSearchMethods="true"/>

     

    Do a also need to change the RoleProvider in web.config ?

     

     

  • Thomas Sørensen 7 posts 27 karma points
    Nov 12, 2009 @ 14:32
    Thomas Sørensen
    0

    Have anyone ever tried this ? 

     

    Any hint will be Appreciated ?

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Nov 12, 2009 @ 17:18
    Richard Soeteman
    0

    Hi Thomas,

    I had the same issue yesterday with a custom membership provider yesterday from a client  (not AD), I could not assign any roles. I had to configure teh role provider indeed. (And fix a bug in it)

    Cheers,

    Richard

  • Ricardo Gomes 22 posts 42 karma points
    Dec 02, 2009 @ 16:33
    Ricardo Gomes
    0

    Hello all,

    I would like to give access to users present in an active directory as umbraco users (not members so that they access the backoffice side of umbraco). I would like also to apply differentiated accesses according to the profile in the active directory.

    I have seen some post but for members, is that possible for Users?

    Thanks in advance

    Regards,

    Ricardo

     

Please Sign in or register to post replies

Write your reply to:

Draft