Bug 1185025

Summary: ldclt needs to support SSL Version range
Product: Red Hat Enterprise Linux 6 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0CC: jgalipea, nkinder, rmeggins
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-51.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:36:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noriko Hosoi 2015-01-22 17:54:05 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47996

The current ldclt on master fails to connect to the server via SSL since the server side disables SSLv3 by default.

[..] conn=134 fd=64 slot=64 SSL connection from ::1 to ::1
[..] conn=134 op=-1 fd=64 closed - Cannot communicate securely with peer: no common encryption algorithm(s).

Comment 2 Noriko Hosoi 2015-02-20 02:09:35 UTC
Verification steps:
Run ldclt with secure mode.
If the operation (e.g., search) works over SSL/TLS, the fix is verified.

Comment 3 Viktor Ashirov 2015-03-16 16:06:17 UTC
Build tested:
389-ds-base-1.2.11.15-52.el6.x86_64
389-ds-base-libs-1.2.11.15-52.el6.x86_64

ns-slapd has SSL/TLS on port 1616:
$ ldclt -e esearch -h localhost -p 1616 -f '(uid=entry1189users1)' -N 10
ldclt version 4.23
ldclt[10339]: Starting at Mon Mar 16 16:51:34 2015

ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: T000: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T001: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T002: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T003: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T004: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T005: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T006: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T007: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T008: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: T009: No activity for 40 seconds --     1 in row, total     1
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: T000: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T001: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T002: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T003: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T004: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T005: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T006: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T007: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T008: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: T009: No activity for 40 seconds --     2 in row, total     2
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Average rate:    0.00/thr  (   0.00/sec), total:      0
ldclt[10339]: Number of samples achieved. Bye-bye...
ldclt[10339]: All threads are dead - exit.
ldclt[10339]: Global average rate:    0.00/thr  (  0.00/sec), total:      0
ldclt[10339]: Global number times "no activity" reports: 20
ldclt[10339]: Global no error occurs during this session.
ldclt[10339]: Ending at Mon Mar 16 16:53:14 2015
ldclt[10339]: Exit status 0 - No problem during execution.

ldclt works over SSL/TLS, marking as VERIFIED

Comment 4 errata-xmlrpc 2015-07-22 06:36:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1326.html