Article

Counting LDAP Searches and Binds

Author Info

30 May 2007 - 2:45am
Submitted by: akoska

article
Reads:

1788

Score:
5
5
1
 
Comments:

0

Problem

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 ...

Solution

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

Author Info

30 May 2007 - 2:45am
Submitted by: akoska




User Comments

© 2009 Novell, Inc. All Rights Reserved.