Re: debugging OpenLDAP client

2014-11-19 Thread Igor Shmukler
Hello Andrew, Thank you for the Wireshark tip. I have solved the problem, which I had yesterday. Still, I am sure there will be a need for an analysis tool down the road. It is exactly what I wanted to find. Sincerely, Igor Shmukler On Wednesday, November 19, 2014, Andrew Findlay < andrew.find

Re: debugging OpenLDAP client

2014-11-19 Thread Andrew Findlay
On Tue, Nov 18, 2014 at 06:59:12PM +0200, Igor Shmukler wrote: > Well, I raised this subject stating that -1 does not do what I need. -1 prints everything that OpenLDAP has got, so you need to look elsewhere if that is not enough.. I suggest Wireshark: either use it directly to capture network t

Re: debugging OpenLDAP client

2014-11-18 Thread Igor Shmukler
Well, I raised this subject stating that -1 does not do what I need. On Tuesday, November 18, 2014, Aaron Richton wrote: > On Tue, 18 Nov 2014, Igor Shmukler wrote: > > Well, the question is what log level will print out ASNs? >> > > I don't know what you're looking to "print out." OpenLDAP d

Re: debugging OpenLDAP client

2014-11-18 Thread Aaron Richton
On Tue, 18 Nov 2014, Igor Shmukler wrote: Well, the question is what log level will print out ASNs? I don't know what you're looking to "print out." OpenLDAP doesn't include an ASN.1 debugging / network analysis / etc. suite; it's not like you're going to see BNF in your syslogs. You will ge

Re: debugging OpenLDAP client

2014-11-18 Thread Igor Shmukler
Well, the question is what log level will print out ASNs? On Tuesday, November 18, 2014, Aaron Richton wrote: > On Tue, 18 Nov 2014, Igor Shmukler wrote: > > Dieter, >> >> I understand that if strace(1) is available, it can be used. I want to >> learn how to lift the relevant debug information

Re: debugging OpenLDAP client

2014-11-18 Thread Aaron Richton
On Tue, 18 Nov 2014, Igor Shmukler wrote: Dieter, I understand that if strace(1) is available, it can be used. I want to learn how to lift the relevant debug information from the OpenLDAP server. Specially, I would love to see decoded requests and responses. It can be quite helpful in realiz

Re: debugging OpenLDAP client

2014-11-18 Thread Igor Shmukler
Dieter, I understand that if strace(1) is available, it can be used. I want to learn how to lift the relevant debug information from the OpenLDAP server. Specially, I would love to see decoded requests and responses. It can be quite helpful in realizing whether the client author messed up the requ

Re: debugging OpenLDAP client

2014-11-18 Thread Dieter Klünter
Am Tue, 18 Nov 2014 12:39:42 +0200 schrieb Igor Shmukler : > Hello, > > I wrote a client to make RFC 2696 (paged results) requests. My client > gets results fine, yet size and cookie values are always 0, "" - this > should not be the case. I tried with ldapsearch(1) and it does paging > fine. Hen

debugging OpenLDAP client

2014-11-18 Thread Igor Shmukler
Hello, I wrote a client to make RFC 2696 (paged results) requests. My client gets results fine, yet size and cookie values are always 0, "" - this should not be the case. I tried with ldapsearch(1) and it does paging fine. Hence, it makes sense to assume that the server is OK and opaque/cookie mus

Debugging OpenLDAP client: Where are the log files?

2011-12-10 Thread daisy.wu
Hi, OpenLDAP developers, I've been able to successfully built OpenLDAP client libraries liblber and libldap for Window 64 bit OS. I wrote a test program to connect to Microsoft AD (hosted on Win 2008 R2, a 64 bit OS) over SSL. I made sure the root certificate file is converted to X509 base 64