[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap manual "other stuff"



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.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/