-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Support LDAPS ( TLS ) in System.DirectoryServices.Protocols ON Linux #103243
Comments
Not sure for sure, you might be using a LdapOption that is not supported on Linux, check: runtime/src/libraries/Common/src/Interop/Interop.Ldap.cs Lines 134 to 149 in d5d2448
For example you might be using LdapSessionOptions.VerifyServerCertificate callback that is not supported on Linus
|
Hello, You can close the issue. As you indicate, "LdapSessionOptions.VerifyServerCertificate" is not work in Linux and failed. I dont use this, but i can work correctly my code as LDAP Subsystem in Linux control the Certificate Validations Behaviour, plus timeout and so. ( pe: LDAPTLS_CERT ) Many Thanks, |
Discussed in #103242
Originally posted by carlosromanbarrado June 10, 2024
Hello,
I have spent several days trying to connect using LdapConnection in Linux VMs again LDAP Servers protected by LDAPS.
I could not, but i can on Windows.
I can connect LDAP on boths, Linux & Windows.
I´m not sure if i´m doing something wrong or the reason is that LDAPs is not supported on Linux on NET 8.
I´m allways get an Exception: "LDAP Server is unavailable"
My Code is very simple:
NET 8.0
System.DirectoryServices.Protocols 8.0.0
Let me for any question.
Many Thanks,
Carlos Román
The text was updated successfully, but these errors were encountered: