ldapc_parseurl
if (url != NULL && ldapc_parseurl(&ldap, &ls, url) == -1)
int ldapc_parseurl(struct ldapc *, struct ldapc_search *,