[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problems with OpenLdap 2.027 and OpenSSL 0.9.7



Hello,

i'm running OpenLDAP 2.0.27 with OpenSSL 0.9.6x, i've try to upgrade the openssl
to the latest release (0.9.7) and i receive an error (Segmentation Fault) when I issue
a TLS connection.



Regards, Iñaki

-------------- Debug -------------------

[root@smiths openssl]# /usr/local/etc2/openldap_2/bin/ldapsearch -h albus.cti.unav.es -b "o=xxxx,dc=yyyy,dc=yyy" -d 1 "mail=johnsmith*" -ZZ
ldap_extended_operation_s
ldap_extended_operation
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: albus.cti.unav.es
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 159.237.12.92:389
ldap_connect_timeout: fd: 3 tm: -1 async: 0
ldap_ndelay_on: 3
ldap_is_sock_ready: 3
ldap_ndelay_off: 3
ldap_open_defconn: successful
ldap_send_server_request
ber_flush: 31 bytes to sd 3
ldap_result msgid 1
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 1
wait4msg continue, msgid 1, all 1
** Connections:
* host: albus.cti.unav.es port: 389 (default)
refcnt: 2 status: Connected
last used: Mon Jan 20 13:33:26 2003


** Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
** Response Queue:
Empty
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
do_ldap_select
read1msg: msgid 1, all 1
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ldap_read: message type extended-result msgid 1, original id 1
ber_scanf fmt ({iaa) ber:
read1msg: 0 new referrals
read1msg: mark request completed, id = 1
request 1 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_extended_result
ber_scanf fmt ({iaa) ber:
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
TLS trace: SSL_connect:before/connect initialization
TLS trace: SSL_connect:SSLv2/v3 write client hello A
TLS trace: SSL_connect:SSLv3 read server hello A
TLS certificate verification: depth: 2, subject: /C=ES/ST=Navarra/L=Pamplona/O=Universidad de Navarra/OU=CTI/CN=UNAV-CA/emailAddress=cti@unav.es, issuer: /C=ES/ST=Navarra/L=Pamplona/O=Universidad de Navarra/OU=CTI/CN=UNAV-CA/emailAddress=cti@unav.es
TLS trace: SSL_connect:SSLv3 read server certificate A
TLS trace: SSL_connect:SSLv3 read server done A
TLS trace: SSL_connect:SSLv3 write client key exchange A
TLS trace: SSL_connect:SSLv3 write change cipher spec A
TLS trace: SSL_connect:SSLv3 write finished A
TLS trace: SSL_connect:SSLv3 flush data
TLS trace: SSL_connect:SSLv3 read finished A
Segmentation fault