Novell Home

LDAP Error Count 2.0

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Count all the LDAP error codes in a dstrace or iMonitor log file.

Vitals

Product Categories:
  • eDirectory
  • NetWare
  • Posted:7 Feb 2005
    File Size:1K
    License:Free
    Download:/coolsolutions/tools/downloads/ldaperrcnt.zip
    Publisher:Jim Schnitter

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    Administrators can use this tool to quickly determine the result of every LDAP operation.

    It works in conjunction with log files created as per TID 10062292.

    The tool presents a report of every LDAP result code found in the log file. The result codes are also translated into a descriptive message.

    Finally, the tool returns an overall count of the total number of LDAP operations.

    The program has been tested on Windows XP using ActiveState's Perl and RedHat AS 2.1. It should work on any platform that has Perl installed.

    New with Version 2.0

    1. It's been tested on SLES9.
    2. Missing LDAP error codes between 91 and 97 have been added.
    3. It has better error handling and prints a usage message, if an trace file isn't specified on the command line.

    Sample output report:

    5888 : LDAP Bind
    16377 : LDAP Search
    3424 :LDAP Unbind
    1 :LDAP Compare
     
    22030 :LDAP Code 0 (SUCCESS)
    1 :LDAP Code 32 (NO SUCH OBJECT)
    239 :LDAP Code 48 (INAPPROPRIATE AUTH)
    5 : LDAP Code 49 (INVALID CREDENTIALS)
     
    22275 :Total Operations

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell