Can't contact LDAP server

42 views
Skip to first unread message

Sandy Hung

unread,
Jan 20, 2020, 10:01:33 PM1/20/20
to Ansible Project
Dear All:

I run command  ldapsearch  not contact LDAP server
but try open port 636 can't open it
please help me thanks.


 

ldapsearch -d 9 -D "cn=test,ou=users,dc=xxxx,dc=com"\ -w password -b "dc=xxx,dc=com" -H "ldaps://ldaptest.xxx.com" "objectClass=*"
ldap_url_parse_ext(ldaps://ldaptest.abagile.com)
ldap_create
ldap_url_parse_ext(ldaps://ldaptest.abagile.com:636/??base)
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP ldaptest.abagile.com:636
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 127.0.0.1:636
ldap_pvt_connect: fd: 3 tm: -1 async: 0
attempting to connect:
connect errno: 111
ldap_close_socket: 3
ldap_err2string
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

Kai Stian Olstad

unread,
Jan 21, 2020, 10:20:57 AM1/21/20
to ansible...@googlegroups.com
On 21.01.2020 04:01, Sandy Hung wrote:
> Dear All:
>
> I run command ldapsearch not contact LDAP server
> but try open port 636 can't open it
> please help me thanks.

I can't see any Ansible related questions.
This list is for Ansible and not for other random problems people must
have.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages