#include <ldap.h> typedef struct ldap_url_desc { char *lud_host; /* LDAP host to contact */ int lud_port; /* port on host */ char *lud_dn; /* base for search */ char **lud_attrs; /* NULL-terminate list of attributes */ int lud_scope; /* a valid LDAP_SCOPE_... value */ char *lud_filter; /* LDAP search filter */ char *lud_string; /* for internal use only */ } LDAPURLDesc; void ldap_free_urldesc( LDAPURLDesc *ludp)
The ldap_free_urldesc() function is called to free an LDAP URL description that was obtained from a call to the ldap_url_parse() function.
No i5/OS authority is required.
None.
The ldap_free_urldesc() 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_free_urldesc API. |
Top | LDAP APIs | APIs by category |