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 に答える