27c21175d7
Migrate much of BI to Services. Added Wireless Profile Provider plugin feature. Added Certificate Authority Provider plugin feature. Modified Certificate Provider plugin feature. Database migration v17, for Device Profiles. Enrolment Client Updated to support CA Certificates, Wireless Profiles and Hardware Info. New Client Enrolment Protocol to support new features. Plugin Manifest Generator added to main solution. Improved AD search performance.
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using Disco.Data.Repository;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Disco.Data.Configuration.Modules
|
|
{
|
|
public class ActiveDirectoryConfiguration : ConfigurationBase
|
|
{
|
|
public ActiveDirectoryConfiguration(DiscoDataContext Database) : base(Database) { }
|
|
|
|
public override string Scope
|
|
{
|
|
get { return "ActiveDirectory"; }
|
|
}
|
|
|
|
public Dictionary<string, List<string>> SearchContainers
|
|
{
|
|
get
|
|
{
|
|
return Get<Dictionary<string, List<string>>>(null);
|
|
}
|
|
set
|
|
{
|
|
Set(value);
|
|
}
|
|
}
|
|
|
|
public bool? SearchAllForestServers
|
|
{
|
|
get { return Get<bool?>(null); }
|
|
set { Set(value); }
|
|
}
|
|
|
|
/// <summary>
|
|
/// If true LDAP filters contain wildcards only at the end of the search term.
|
|
/// This greatly improves performance in very large AD environments (ie: EDU001/EDU002)
|
|
/// </summary>
|
|
public bool SearchWildcardSuffixOnly
|
|
{
|
|
get { return Get(true); }
|
|
set { Set(value); }
|
|
}
|
|
}
|
|
}
|