myOmikron / mailcow-ldap-sync

26 stars 2 forks source link

LDAPS doesn't work #7

Closed Akhun-Delar closed 2 years ago

Akhun-Delar commented 2 years ago

When I'm trying to connect via LDAPS, the script isn't able to connect to the server: ldap.SERVER_DOWN: {'result': -1, 'desc': "Can't contact LDAP server", 'errno': 2, 'ctrls': [], 'info': '(unknown error code)'}

When I'm using standard LDAP (which is blocked), I get: ldap.SERVER_DOWN: {'result': -1, 'desc': "Can't contact LDAP server", 'errno': 104, 'ctrls': [], 'info': 'Connection reset by peer'}

Is this normal or have I missed something?

Akhun-Delar commented 2 years ago

Nevermind, even though the LDAPS server didn't use a self-signed cert it worked when I set that option to true.