#include <ldap.h> #include <ldapssl.h> int ldap_version( LDAPVersion *version )
The ldap_version() routine is used to return the toolkit version (multiplied by 100). It also sets information in the LDAPVersion structure.
No i5/OS authority is required.
sdk_version | Toolkit version, multiplied by 100. |
protocol_version | Highest LDAP protocol supported, multiplied by 100. |
SSL_version | SSL version supported, multiplied by 100. |
security_level | Level of encryption supported, in bits. Set to LDAP_SECURITY_NONE if SSL not enabled. |
ssl_max_cipher | A string containing the default ordered set of ciphers supported by this installation. See LDAP_OPT_SSL_CIPHER in ldap_set_option() for more information about changing the set of ciphers used to negotiate the secure connection with the server. |
sdk_vendor | A pointer to a static string that identifies the supplier of the LDAP library. This string should not be freed by the application. |
sdk_build_level | A pointer to a static string that identifies the build level, including the date when the library was built. This string should not be freed by the application. |
The ldap_version() API does not return an error code.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_version API. |
Top | LDAP APIs | APIs by category |