2

我在使用 openLDAP 和 ldapsearch 时遇到了问题。服务器是 RHEL6.1,ldap 的配置正常,许多其他具有相同 LDAP 配置的服务器运行良好。当我运行ldapsearch -x -ZZ命令时,出现以下错误:Segmentation fault (core dumped)

这是来自的最后几行ldapsearch -x -ZZ -d -1

ldap_msgfree
TLS: certdb config: configDir='/etc/openldap/cacerts' tokenDescription='ldap(0)' certPrefix='' keyPrefix='' flags=readOnly
TLS: cannot open certdb '/etc/openldap/cacerts', error -8192:Unknown code ___f 0
TLS: loaded CA certificate file /etc/openldap/cacerts/ca.crt.
TLS: skipping 'ca.crt' - filename does not have expected format (certificate hash with numeric suffix)
TLS: skipping 'servad01' - filename does not have expected format (certificate hash with numeric suffix)
TLS: loaded CA certificate file /etc/openldap/cacerts/a50bd25e.0 from CA certificate directory /etc/openldap/cacerts.
TLS: error: the certificate '/etc/openldap/cacerts/servad01/servad01.crt' could not be found in the database - error -8187:Unknown code ___f 5.
Segmentation fault (core dumped)

该文件servad01.crt存在:

[root openldap]# cat 
/etc/openldap/cacerts/servad01/servad01.crt
-----BEGIN CERTIFICATE-----

[...]

-----END CERTIFICATE-----
4

1 回答 1

0

有点晚了,但问题通过安装解决了nslcd

于 2016-02-11T09:12:04.700 回答