-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LdapSessionOptions.VerifyServerCertificate Callback Does Not Work in Linux #109952
Comments
Tagging subscribers to this area: @dotnet/area-system-directoryservices, @jay98014 |
Duplicate of #60972. |
Closing as duplicate. |
#60972 is about 389 port. I want to use 636 port so LdapSessionOptions.VerifyServerCertificate this callback function is necessary. |
@steveharter Please reopen the ticket. I want a solution for port 636. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Description
While using the
System.DirectoryServices.Protocols
library in .NET Core on Linux, attempting to set theLdapSessionOptions.VerifyServerCertificate
callback results in an exception.Exception Details:
Error in LdapSearch: "System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable. at System.DirectoryServices.Protocols.ErrorChecking.CheckAndSetLdapError(Int32 error) at System.DirectoryServices.Protocols.LdapSessionOptions.set_VerifyServerCertificate(VerifyServerCertificateCallback value)
Reproduction Steps
The text was updated successfully, but these errors were encountered: