gnoe@symas.com wrote:
Full_Name: Greg Noe Version: 2.4.x OS: N/A URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (63.142.209.94)
Additional language is needed for the LDAP_OPT_API_INFO option in the ldap_get_option(3) man page.
Fixed in git master.
A sentence needs to be added stating that the ldapai_info_version field must be initialized in the LDAPAPIInfo struct before using it to call ldap_get_option(NULL,LDAP_OPT_API_INFO,&info).
Current
LDAP_OPT_API_INFO Fills-in a LDAPAPIInfo; outvalue must be a LDAPAPIInfo *, point- ing to an already allocated struct. This is a read-only option.
Suggested
LDAP_OPT_API_INFO Fills-in a LDAPAPIInfo; outvalue must be a LDAPAPIInfo *, point- ing to an already allocated struct. The ldapai_info_version field must be initialized before making the call. This is a read-only option.