A
A
AlexLIn2015-04-24 21:35:53
linux
AlexLIn, 2015-04-24 21:35:53

ldap not working on ubuntu 14.04, how to fix?

Good afternoon,
there is a regular server with Ubuntu 14.04. I installed a console ldap client on it. But it's impossible to hook up. Or hangs for a long time. Or says ldap_bind: Invalid credentials (49) (thinks that I made a mistake with the login)
But everything is fine on the server with Fedora.
What's wrong?
Here is the log
ldap_url_parse_ext(ldap://sub.server.my)
ldap_create
ldap_url_parse_ext(ldap://sub.server.my:389/??base)
ldap_extended_operation_s
ldap_extended_operation
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP sub. 389
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying x.xxx.xxx.xxx:389
ldap_pvt_connect: fd: 3 tm: -1 async: 0
goes no further

Answer the question

In order to leave comments, you need to log in

1 answer(s)
3
3vi1_0n3, 2015-04-24
@AlexLIn

If you have SSL disabled everywhere, then remove -ZZ, or enable SSL. The client is trying to connect to the server on port 389 and switch to using TLS on the same port. If SSL is disabled everywhere, then this may not work. Plus, there may be an ldaprc file on the same fedora, or on this ubunt. There is not enough information, it's hard to say right off the bat

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question