LDAP protocol in Linux Docker #51511
Unanswered
istretyakov
asked this question in
Q&A
Replies: 2 comments
-
try this AuthType = System.DirectoryServices.Protocols.AuthType.Basic |
Beta Was this translation helpful? Give feedback.
0 replies
-
We also had many problems with LDAP on Linux using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I try to send LDAP request from Docker container using System.DirectoryServices.Protocols 5.0.0 on .NET 5.0.
In Windows-case i get response that server is unavailable. It's right. This response shows that request was sent. In other environment (work) i get users. With Docker and without Docker, on Windows.
But in Linux-case (Docker) each time i have this exception: The LDAP server returned an unknown error. ErrorCode -1. I can write not existed server and i will get this exception. It means that doesn't work. And i added installing libldap-2.4-2 in Dockerfile.
One code, different reactions.
Windows:

Linux:

Beta Was this translation helpful? Give feedback.
All reactions