diff --git a/Autodiscover/DirectoryHelper.cs b/Autodiscover/DirectoryHelper.cs index da01415c..b152aadb 100644 --- a/Autodiscover/DirectoryHelper.cs +++ b/Autodiscover/DirectoryHelper.cs @@ -189,7 +189,7 @@ private List GetScpUrlList( scpPtrLdapPath = scpDirEntry.Properties["serviceBindingInformation"][0] as string; // If the SCP pointer matches the user's domain, then restart search from that point. - if (entryKeywords.CaseInsensitiveContains(domainMatch)) + if (scpPtrLdapPath.CaseInsensitiveContains(domainMatch)) { // Stop the current search, start another from a new location. this.TraceMessage( @@ -404,4 +404,4 @@ internal ExchangeServiceBase Service #endregion } -} \ No newline at end of file +}