[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
debugging OpenLDAP client
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: debugging OpenLDAP client
- From: Igor Shmukler <igor.shmukler@gmail.com>
- Date: Tue, 18 Nov 2014 12:39:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dAcjz5fj0S5s5koEzTyE6YXVBRdh+6VEu5NgYn1sK9k=; b=PgX5zJ7LDwb/33rZV4jN96bqhH6JyiUrRLqQy5DM0H7pvE8TL2QMn5lHJJUP+9Ez2M 5NrJaM2xf7h+u72wwnHsHUUN7MHSouafMldfN0zeaMCnXu+5iqdpn0LwxO2aFcA8umBj mMKuJeDrcDC5tb452s6vR6cqJhucYM9tOYkSp7n8hcq6id4k6MntHhwryYFgS7vXN5nA ziosHn0pyV45fD8gPNnbQ9WaMkK0MGzP1rjB8hgmvyq8JkI7Kf3VVWKu+kaHh7T5Tv6x 30jmyp2hBLsx2+a5rypa7ctU8ekd71xPuoyot/Qeu8I2DuZg7Xr9a7Ju/9tKBOyRZBLl dbxQ==
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 must not be empty. At the same time, format of my ASN
object is fine.
I need to understand where exactly, I messed up.
In order to debug this, I added a logging LDIF and set debug to -1
any. It shows quite a lot of information, but I did not notice size
and cookie values being dumped into syslog(3).
Is there a way to have separate values that go into the packets
printed out? I see that there is an option for BER 0x10 and parse
0x800 as well as others.
Thank you,
Igor Shmukler