Hello, from ldap_init(3)
"ldap_open() opens a connection to an LDAP server and allocates an LDAP structure
[...]
typedef struct ldap { /* ... other stuff you should not mess with ... */ char ld_lberoptions; int ld_deref; [...]"
Ehmm, what is "other stuff I shouldn't mess with" ? :)
Regards, Piotr
Piotr Wadas wrote:
Hello, from ldap_init(3)
"ldap_open() opens a connection to an LDAP server and allocates an LDAP structure
[...]
typedef struct ldap { /* ... other stuff you should not mess with ... */ char ld_lberoptions; int ld_deref; [...]"
Ehmm, what is "other stuff I shouldn't mess with" ? :)
You're looking at an extremely ancient version of the ldap_init(3) manpage, one for LDAPv2 at best, since all of the ldap structure was made opaque in the LDAPv3 API. Update out of the stone age, and don't mess with any of it.
openldap-software@openldap.org