I'm attempting to test LDAP for Moodle auth, by using LDAP search. When I run
$ ldapsearch -H ldaps://totally.legit.hostname "(uid=jldugger)" -b dc=example,dc=org memberOf
I get back:
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
additional info: TLS error -5950:File not found`
I'm not clear on what that TLS error means, and my google-fu is failing me. I understand AD servers usually function as a CA, and odds are this one is not signed, is that what -5950 means? If so, any hints on overcoming TLS verification so I can continue on to figure out the proper baseDN, OU, and other settings?
edit1: I'm able to open up a port to the AD server with netcat, so clearly AD is at least listening on the port.