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