Enterprise Services Run-Time Breaking Changes

Short Description AuthenticationTypes.Secure will be used as the default authentication type for DirectoryEntry.
Affected APIs System.DirectoryServices.DirectoryEntry Severity Very Low Compat Switch Available No

Description Third party LDAP servers only support authentication type as None. So the applications that do not explicitly specify authentication type would work in V1.1 since the DirectoryEntry constructor's default authentication type used to be None. In V2.0 the default has been changed to Secure.

User Scenario When targeting third party LDAP server, those applications that use the default authentication type will receive an error like "auth type not available".

Work Around Explicitly set DirectoryEntry.AuthenticationType=AuthenticationTypes.None