1 = Show Query Information 2 = Show Result Information 3 = 1 & 2 4 = Authentification Information 5 = 1 & 4 6 = 2 & 4 7 = All of the above 8 = Even more verbose information (no details known) 9 - 15 = Summaries of the above Example of debug text:
ldapsearch -h ldap.acme.com -D superuser -w password "mailaddress=*@acme.com" 03/07/2002 06:12:36.85 PM [037B:0003-037C] LDAP CIServ Listen> Connection Accepted on Port 389 for Session 0BEE0005 03/07/2002 06:12:36.87 PM [037B:0004-037D] LDAP> InitForSearch 03/07/2002 06:12:36 PM LDAP Server: 10.160.16.49 connected 03/07/2002 06:12:36.89 PM [037B:0004-037D] LDAP> BERGetTag State 03/07/2002 06:12:36.89 PM [037B:0004-037D] LDAP> BERGetLeadingLengthByte State 03/07/2002 06:12:36.90 PM [037B:0004-037D] LDAP> BERGetNext State 03/07/2002 06:12:36.90 PM [037B:0004-037D] LDAP> Bind State 03/07/2002 06:12:36.92 PM [037B:0004-037D] LDAP> Version: 3 03/07/2002 06:12:36.92 PM [037B:0004-037D] LDAP> DN: superuser 03/07/2002 06:12:36.93 PM [037B:0004-037D] LDAP> Method: 0x80 (Simple) 03/07/2002 06:12:36.93 PM [037B:0004-037D] LDAP> Groups for name CN=superuser/O=ACME: 03/07/2002 06:12:36.95 PM [037B:0004-037D] LDAP> * 03/07/2002 06:12:36.96 PM [037B:0004-037D] LDAP> */O=ACME ... (additional groups removed for brevity) ... 03/07/2002 06:12:37.09 PM [037B:0004-037D] LDAP> Successful bind for user superuser 03/07/2002 06:12:37.10 PM [037B:0004-037D] LDAP> Return Result State 03/07/2002 06:12:37.10 PM [037B:0004-037D] LDAP> InitForSearch 03/07/2002 06:12:37.12 PM [037B:0004-037D] LDAP> StateReturnResult returning resultCode 0 (Success) 03/07/2002 06:12:37.14 PM [037B:0004-037D] LDAP> SendBufferFree 03/07/2002 06:12:37.14 PM [037B:0004-037D] LDAP> BERGetTag State 03/07/2002 06:12:37.15 PM [037B:0004-037D] LDAP> BERGetLeadingLengthByte State 03/07/2002 06:12:37.15 PM [037B:0004-037D] LDAP> BERGetNext State 03/07/2002 06:12:37.17 PM [037B:0004-037D] LDAP> Search State 03/07/2002 06:12:37.17 PM [037B:0004-037D] LDAP> Scope: SUBTREE 03/07/2002 06:12:37.17 PM [037B:0004-037D] LDAP> Dereference Aliases: 0 03/07/2002 06:12:37.18 PM [037B:0004-037D] LDAP> TimeLimit: 15 03/07/2002 06:12:37.18 PM [037B:0004-037D] LDAP> SizeLimit: 0 03/07/2002 06:12:37.20 PM [037B:0004-037D] LDAP> Attributes to return: ALL 03/07/2002 06:12:37.20 PM [037B:0004-037D] LDAP> Base: 03/07/2002 06:12:37.21 PM [037B:0004-037D] LDAP> Filter: (mailaddress=*@acme.com) 03/07/2002 06:12:37.23 PM [037B:0004-037D] LDAP> Searching in database E:\Lotus\Domino\Data\names.nsf ... 03/07/2002 06:12:37.25 PM [037B:0004-037D] LDAP> Type of search: FT Search 03/07/2002 06:12:37.25 PM [037B:0004-037D] LDAP> FT Query: ([mailaddress] Contains (*@acme.com)) 03/07/2002 06:12:37.28 PM [037B:0004-037D] LDAP> GetSearchEntry State 03/07/2002 06:12:37.28 PM [037B:0004-037D] LDAP> Entry: 03/07/2002 06:12:37.28 PM [037B:0004-037D] LDAP> Search State 03/07/2002 06:12:37.29 PM [037B:0004-037D] LDAP> Search State 03/07/2002 06:12:37.29 PM [037B:0004-037D] LDAP> Hits:0 03/07/2002 06:12:37.31 PM [037B:0004-037D] LDAP> Return Result State 03/07/2002 06:12:37.31 PM [037B:0004-037D] LDAP> InitForSearch 03/07/2002 06:12:37.32 PM [037B:0004-037D] LDAP> StateReturnResult returning resultCode 0 (Success) 03/07/2002 06:12:37.34 PM [037B:0004-037D] LDAP> SendBufferFree 03/07/2002 06:12:37.39 PM [037B:0004-037D] LDAP> BERGetTag State 03/07/2002 06:12:37.39 PM [037B:0004-037D] LDAP> BERGetLeadingLengthByte State 03/07/2002 06:12:37.40 PM [037B:0004-037D] LDAP> BERGetNext State 03/07/2002 06:12:37.40 PM [037B:0004-037D] LDAP> UnBind State 03/07/2002 06:12:37 PM LDAP Server: 10.160.16.49 disconnected