AD Performance Improvement

When searching very large Active Directories prefix wildcards greatly
reduce performance. A configuration switch is implemented when results
in only suffix wildcards being used.
This commit is contained in:
Gary Sharp
2016-05-02 18:54:27 +10:00
parent dee347128e
commit d955addc26
4 changed files with 19 additions and 2 deletions
@@ -29,5 +29,15 @@ namespace Disco.Data.Configuration.Modules
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(false); }
set { Set(value); }
}
}
}