Contains URL information and the parameters for the search operation.
typedef struct ldap_url_desc { struct ldap_url_desc *lud_next; char *lud_scheme; char *lud_host; int lud_port; char *lud_dn; char **lud_attrs; int lud_scope; char *lud_filter; char **lud_exts; char lud_crit_exts; } LDAPURLDesc;
Points to the next URL.
Specifies the URL scheme (either ldap or ldaps).
Points to the name of the host as a dotted IP address or DNS format.
Specifies the port from the URL.
Points to the distinguished name of the base entry from the URL.
Points to a NULL-terminated list of attributes specified in the URL.
Specifies the scope in the URL and uses one of the following flags.
LDAP_SCOPE_BASE (0x00)—searches the entry specified by the base parameter.
LDAP_SCOPE_ONELEVEL (0x01)—searches the entry specified by the base parameter and one level beneath that entry.
LDAP_SCOPE_SUBTREE (0x02)—searches the entire subtree starting with the entry specified by the base parameter.
Points to the search filter specified in the URL.
If NULL is passed, a default filter ("objectclass=*") is used.
Points to a NULL-terminated list of the extensions specified in the URL.
Specifies whether or not any critical extensions are included.