1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Login with AD credentials

Login with AD credentials

4 posts, 1 answered
  1. Eric Tangedahl
    Eric Tangedahl avatar
    12 posts
    Registered:
    11 Aug 2009
    15 Jan 2010
    Link to this post
    I'm a bit confused on what needs to happen to allow an Active Directory domain user the ability to log in from the admin login.

    http://localhost/testsite/sitefinity/login.aspx

    I have Sitefinity connected to the AD so I can now select a domain user and give them permission to edit a page.  Now I want that user to be able to login.  I think from what i'm reading they have to be an AD member then also added into the SQL membership database?  Do I need to add custom code to my LoginControl.ascx.cs file?

    Thanks,
    Eric
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    17 Jan 2010
    Link to this post
    Hi Eric Tangedahl,

    Generally you do not need to make any code changes to the logic control. As far as I see it you want to use AD for backend login. Sitefinity supports only one backend membership provider, so please make sure that you have set your AD as

    • amembership and role provider.
    • Backend provider in web.config's security node

    <security defaultProvider="DefaultSecurityProvider" cmsProvidersName="YOUR ACTIVE DIRECTORY PROVIDER">


    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Answered
  3. Eric Tangedahl
    Eric Tangedahl avatar
    12 posts
    Registered:
    11 Aug 2009
    10 Feb 2010
    Link to this post
    Can someone tell me the minimum permission level that is needed for a AD service account to allow access for an AD account to log on?  I'm refering to the account in the web config that allows for access to the AD.

    Thanks,
    Eric
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    10 Feb 2010
    Link to this post
    Hi Eric Tangedahl,

    There are two options that you can use to set some permission level through web.config

    • permission="Unrestricted"
    • permission="None"
    You should set permissions to a role of your AD through backend UI. You should at least give CmsAccess form Administration >> Permissions.
    Regards,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Register for webinar
4 posts, 1 answered