Package: libldap2-dev
Version: 2.1.30-11
Severity: normal

ldap_init(3) refers to fields of the LDAP structure, but they cannot be
accessed because the .h files in this package don't define the content
of that structure.

>From ldap_init(3):

       ldap_search(),  etc. Certain fields in the LDAP structure can be set to
       indicate size limit, time limit, and how  aliases  are  handled  during
       operations.  See <ldap.h> for more details.

            typedef struct ldap {
                 /* ... other stuff you should not mess with ... */
                 char      ld_lberoptions;
                 int       ld_deref;
            #define LDAP_DEREF_NEVER 0
            #define LDAP_DEREF_SEARCHING  1
            #define LDAP_DEREF_FINDING    2
            #define LDAP_DEREF_ALWAYS     3
                 int       ld_timelimit;
                 int       ld_sizelimit;
            #define LDAP_NO_LIMIT         0
                 int       ld_errno;

....

Also, ld_errno appears to be fairly important.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.10
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libldap2-dev depends on:
ii  libldap2                      2.1.30-11  OpenLDAP libraries

libldap2-dev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to