Bug 1044106

Summary: logconv: failed logins: Use of uninitialized value in numeric comparison at logconv.pl line 949
Product: Red Hat Enterprise Linux 6 Reporter: Nathan Kinder <nkinder>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: jgalipea, nhosoi, srkrishn
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-34.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:52:35 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:
Bug Depends On:    
Bug Blocks: 1061410    

Description Nathan Kinder 2013-12-17 20:02:26 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47550

Running logconv.pl -V or otherwise getting the Failed Logins report gives this error:

Use of uninitialized value in numeric comparison (<=>) at logconv.pl line 949.

Comment 3 srkrishn@redhat.com 2014-07-24 13:08:27 UTC
this bug has been verified as shown below:

using logconv.pl -V /tmp/access

Binds:                        448316
Unbinds:                      448316
 - LDAP v2 Binds:             0
 - LDAP v3 Binds:             448316
 - AUTOBINDs:                 0
 - SSL Client Binds:          0
 - Failed SSL Client Binds:   0
 - SASL Binds:                0
 - Directory Manager Binds:   0
 - Anonymous Binds:           0
 - Other Binds:               448316



----- Connection Latency Details -----

 (in seconds)		<=1	2	3	4-5	6-10	11-15	>15
 --------------------------------------------------------------------------
 (# of connections)	448316	42	

----- Errors -----

err=0                896402    Successful Operations   
err=32                   46    No Such Object          
err=48                   46    Inappropriate Authentication (No password presented, etc)
err=68                   46    Already Exists          

----- Total Connection Codes -----

U1   448316   Cleanly Closed Connections              


----- Top 20 Clients -----

Number of Clients:  1

[1] Client: 2620:52:0:c1b:7646:a0ff:fe65:6a6a
    448316 - Connections
    448316 - U1 (Cleanly Closed Connections)



----- Top 20 Bind DN's -----

Number of Unique Bind DN's: 3

448224          cn=directory manager                    
46              dc=logconv,dc=com                       
46              uid=entry1189users4,ou=people,dc=passsync,dc=com


----- Top 20 Most Frequent etimes -----

881728          etime=0     
14812           etime=1     


----- Top 20 Longest etimes -----

etime=1         14812     
etime=0         881728    


----- Top 20 Largest nentries -----



----- Top 20 Most returned nentries -----




----- Recommendations -----

None.

this was tested on build 1.2.11.15.38-389-ds-base

Comment 4 Sankar Ramalingam 2014-07-31 10:12:00 UTC
Marking the bug as Verified, based on the previous comment from Sriram,

Comment 5 errata-xmlrpc 2014-10-14 07:52:35 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.

http://rhn.redhat.com/errata/RHBA-2014-1385.html