[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [openldap] Newbie question: can the server (slapd) show incoming search queries?

----- "sol myr" <solmyr72@yahoo.com> wrote:
I'm new to ldap, and would appreciate help on the following:
I'm running the stand-alone server (slapd), and allow some client machines run search queries against it (ldapsearch).
My question: I'd like the "slapd" server to show the incoming search queries. Can it be done?
For example:
- If the client runs
       "ldapsearch -h myhost -b "dc=example,dc=com" -s sub "objectclass=*"
- I'd like the server console(or log file) to show something like:
    Incoming query:  -b "dc=example,dc=com" -s sub "objectclass=*"
I'd tries running "slapd" in debug mode (slupd -d 1),

what about reading the documentation of the -d switch?


Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
Via Dossi, 8 - 27100 Pavia - ITALIA

Office:+39 02 23998309
Mobile:+39 333 4963172
Fax:+39 0382 476497