Novell is now a part of Micro Focus

Counting LDAP Searches and Binds

Novell Cool Solutions: Tip
By Akos Szechy

Digg This - Slashdot This

Posted: 30 May 2007


A Forum reader recently asked:

"Is it possible to count LDAP searches or binds with eDirectory (not by ndstrace and then analyzing the Log file). Perhaps there's a special property in the LDAP server object?"

And here's the response from Akos Szechy ...


You can get the counters from the RootDSE object. Run this:

ldapsearch -h ip -p 389 -x -s base objectclass=*

Then, look for these:

  • wholeSubtreeSearchOps
  • oneLevelSearchOps
  • searchOps
  • strongAuthBinds
  • simpleAuthBinds
  • unAuthBinds

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

© Copyright Micro Focus or one of its affiliates