Article

Imagen de akoska
article
Reads:

%count lecturas

Score:
5
5
1
 
Comments:

0

Counting LDAP Searches and Binds

Author Info

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

(View Disclaimer)

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

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell