-
Notifications
You must be signed in to change notification settings - Fork 126
"no such file" when connecting #176
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
Comments
The message No such file or directory is a red herring. It's simply the human readable message for
You can get more information by increasing the global debug level to 255, |
Yes, my presumption is that some underlying system call is emitting the The debug level change emits the following:
So, it does seem to be connecting okay, but no information about where the failure is. |
I've added Edit: but doing |
The option works also locally but you have to create a new TLS context after you have modified one or more TLS-related setting. It's a not so well-known quirk in OpenLDAP. I'll include a workaround in python-ldap 3.1.
The |
I'm closing the issue as there was no activity in the last two years. |
Uh oh!
There was an error while loading. Please reload this page.
Issue description:
I am doing the following:
I can definitely connect to that hostname/URL:
Edit: I can also connect to port 636, which appears to be the port LDAP/TLS uses:
But I don't think that's the problem; the nature of the error message ("not such file") seems to indicate that it is trying to connect to a Unix domain socket; I, of course, need it to use TCP. I think this is a simple error of some sort on my part, but looking at the docs, I am not sure what that is.
(I also expect to need to supply some form of certificate, s.t. TLS can authenticate. I don't see a place to that. I see #55, but that ticket's comments aren't informative enough to me for me to figure out where I'm going wrong.)
Steps to reproduce: (the above)
Operating system: Ubuntu Xenial
Python version: 3.6.4
python-ldap version: 3.0.0b4
The text was updated successfully, but these errors were encountered: