Active Directory Authentication

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Active Directory can now be set up through the Panopto web installer. See below if you have already installed Panopto and would like to add, change or remove Active Directory settings, go to add/remove programs - Panopto - Change - Click next until you reach the Active Directory step and make your changes.
The Panopto installer will automatically create the Domain LDAP string and specify the Domain Name.  If you wish to use LDAP for authentication change these settings, if necessary, and click Next.
 Panopto30install6
   (Optional) If you need to specify a username/password for the connection to Active Directory, add the connectionUsername andconnectionPassword attributes to Program Files\Panopto\Web\web.config as shown below:

<add name="domain" description="Domain Name" connectionStringName="ADConnectionString" connectionUsername="UserWithAppropriateRights" connectionPassword="PasswordForUser" attributeMapUsername="sAMAccountName" enableSearchMethods="true" type="System.Web.Security.ActiveDirectoryMembershipProvider,  System.Web, Version=2.0.0.0, Culture=neutral,  PublicKeyToken=b03f5f7f11d50a3a" />

 See below for example of web.config:

<connectionStrings>
    <add  name="Panopto.Data.Properties.Settings.PanoptoDBConnectionString"  connectionString="Data Source=.\SQLEXPRESS;Integrated  Security=True;Initial Catalog=PanoptoDB_2"  providerName="System.Data.SqlClient" />
    <add   name="Panopto.Data.Analytics.Properties.Settings.PanoptoAnalyticsConnectionString"  connectionString="Data Source=.\SQLEXPRESS;Integrated  Security=True;Initial Catalog=PanoptoAnalytics"  providerName="System.Data.SqlClient" />
    <add  name="ADConnectionString"  connectionString="LDAP://yourdomaincontroller.yourdomain.local/OU=Users,OU=MyBusiness,DC=yourdomain,DC=com"  />
</connectionStrings>
<system.web>
    <!-- This is required to permit the PPT uploader to accept large files -->
    <httpRuntime maxRequestLength="65536" />
    <pages>
        <controls>
            <add  tagPrefix="asp" namespace="System.Web.UI"  assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,  PublicKeyToken=31BF3856AD364E35" />
            <add  tagPrefix="asp" namespace="System.Web.UI.WebControls"  assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,  PublicKeyToken=31BF3856AD364E35" />
            <add tagPrefix="pan" src="~/Controls/AclManager.ascx" tagName="AclManager" />
            <add tagPrefix="pan" src="~/Controls/EditableLabel.ascx" tagName="EditableLabel" />
            <add tagPrefix="pan" src="~/Controls/PanoptoLogo.ascx" tagName="PanoptoLogo" />
            <add tagPrefix="pan" src="~/Controls/WebUserControl.ascx" tagName="WebUserControl" />
            <add tagPrefix="pan" src="~/Controls/FusionChart/FusionChart.ascx" tagName="FusionChart" />
            <add tagPrefix="pan" src="~/Controls/TabBar.ascx" tagName="TabBar" />
            <add tagPrefix="pan" src="~/Controls/SessionGroupChooser.ascx" tagName="SessionGroupChooser" />
            <add tagPrefix="pan" src="~/Controls/SessionChooser.ascx" tagName="SessionChooser" />
            <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
        </controls>
    </pages>
    <membership defaultProvider="domain">
        <providers>
            <clear />
            <add  name="CourseCast" description="CourseCast"  connectionStringName="Panopto.Data.Properties.Settings.PanoptoDBConnectionString"  enablePasswordRetrieval="false" enablePasswordReset="true"  requiresQuestionAndAnswer="true" applicationName="/"  requiresUniqueEmail="false" passwordFormat="Hashed"  maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6"  minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"  passwordStrengthRegularExpression=""  type="System.Web.Security.SqlMembershipProvider, System.Web,  Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
            <!--  NOTE: The name of the PanoptoDBAdminMembershipProvider below must not  change in order for it to be properly recognized by the system. -->
            <add  name="PanoptoDBAdminMembershipProvider"  connectionStringName="Panopto.Data.Properties.Settings.PanoptoDBConnectionString"  enablePasswordRetrieval="false" enablePasswordReset="true"  requiresQuestionAndAnswer="false" applicationName="/"  requiresUniqueEmail="false" passwordFormat="Hashed"  maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6"  minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"  passwordStrengthRegularExpression=""  type="System.Web.Security.SqlMembershipProvider, System.Web,  Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
            <add name="domain" description="Domain Name" connectionStringName="ADConnectionString" attributeMapUsername="sAMAccountName" enableSearchMethods="true"  type="System.Web.Security.ActiveDirectoryMembershipProvider,  System.Web, Version=2.0.0.0, Culture=neutral,  PublicKeyToken=b03f5f7f11d50a3a" />
        </providers>
    </membership>    ...
Satisfied?: