对于centos 7最小ldap的作品,但ldaps没有
我有一个OpenLDAP服务器版本openldap-2.4.40 ,在CentOS 7上运行良好。 我通过发布testing: ldapwhoami -H ldap://provider.med.cornell.edu -x \ -D "cn=Manager,dc=provider,dc=med,dc=cornell,dc=edu" -W 但是,如果我使用ldaps://…..它失败: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) 我已经尝试configuration这个文件/etc/sysconfig/slapd无济于事。 SLAPD_URLS="ldapi:/// ldap:///" 这个被注释掉了 # SLAPD_URLS="ldapi:/// ldaps:///" # Any custom options # SLAPD_OPTIONS="-g ldap" 如果我取消注释 #SLAPD_URLS="ldapi:/// ldaps:///" 并重新启动slapd ,那么ldap:///也不会起作用。 可能是什么问题?