Lines Matching defs:ludp
1344 LDAPURLDesc *ludp = NULL;
1363 ldap_url_parse_nodn(url, &ludp) != 0) {
1369 if (ludp)
1370 ldap_free_urldesc(ludp);
1377 ldap_free_urldesc(ludp);
1387 if ((ludp->lud_port == 0) && (ludp->lud_host == NULL)) {
1394 ldap_free_urldesc(ludp);
1407 ldap_free_urldesc(ludp);
1413 ldap_free_urldesc(ludp);
1426 hostlen = strlen(ludp->lud_host) +
1430 ldap_free_urldesc(ludp);
1435 if (ludp->lud_port != 0) {
1442 tmp = strstr(url, ludp->lud_host);
1446 ludp->lud_host,
1447 ludp->lud_port);
1451 ludp->lud_host,
1452 ludp->lud_port);
1457 ludp->lud_host);
1461 if (ludp->lud_dn) {
1462 ref->refDN = strdup(ludp->lud_dn);
1464 ldap_free_urldesc(ludp);
1473 ldap_free_urldesc(ludp);
1483 else if (ludp->lud_filter)
1484 ref->refFilter = strdup(ludp->lud_filter);
1489 ldap_free_urldesc(ludp);
1506 if (ludp->lud_dn && ludp->lud_scope != LDAP_SCOPE_BASE)
1507 ref->refScope = ludp->lud_scope;
1508 else if (ludp->lud_dn && strstr(url, "?base"))
1517 ldap_free_urldesc(ludp);