Re-enable TLS for LDAP
CACERTFILE now must point to a CA, using service certificates directly doesn't work. Also use per-connection settings for TLS. Note that the order of set_option calls matters (setting ldap.OPT_X_TLS_NEWCTX first fails)...
Showing
想要评论请 注册 或 登录