openLDAP 및 ldapsearch를 사용하는 데 문제가 있습니다. 서버가 RHEL6.1이고 ldap의 구성이 올 바르고 동일한 LDAP 구성을 가진 다른 많은 서버가 잘 작동합니다. ldapsearch -x -ZZ -d -1
에서 여기 Segmentation fault (core dumped)
LDAP : ldapsearch segfault 오류
마지막 라인이다 : 나는 ldapsearch -x -ZZ
명령을 실행하면, 나는 다음과 같은 오류가 발생했습니다
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-----