2013-10-08 2 views
2

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----- 

답변

0

그것은 조금 늦게하지만 문제는 nslcd

를 설치함으로써 해결되었다
0
  • gdb처럼 보이십니까?
  • CA를로드하는 오류를 수정해도 문제가 해결 되었습니까? 존재하는 인증서를 열 수없는 경우 사용 권한 문제가있는 것 같습니다.