Lines Matching refs:hostdn
2186 char *hostdn;
2297 hostdn = ldap_get_dn (ld, hostent);
2299 if (hostdn != NULL)
2300 log_info ("Found dhcpServer LDAP entry '%s'", hostdn);
2303 if (hostdn == NULL ||
2308 (hostdn ? "dn" : "name"), (hostdn ? hostdn :
2314 if (hostdn)
2315 ldap_memfree (hostdn);
2323 log_info ("LDAP: Parsing dhcpServer options '%s' ...", hostdn);
2331 ldap_memfree (hostdn);
2344 log_error ("LDAP: cannot parse dhcpServer entry '%s'", hostdn);
2347 ldap_memfree (hostdn);
2360 if (_do_ldap_str2esc_filter_bv(hostdn, 0, &bv_o[0]) == NULL)
2362 log_error ("Cannot escape ldap filter value %s: %m", hostdn);
2379 tempbv[cnt]->bv_val, ldap_err2string (ret), hostdn);
2389 tempbv[cnt]->bv_val, hostdn);
2446 ldap_memfree (hostdn);
2505 char *hostdn, *basedn, *temp1, *temp2, filter[1024];
2509 hostdn = ldap_get_dn (ld, ent);
2510 if( hostdn != NULL)
2514 temp1 = strchr (hostdn, '=');
2565 ldap_memfree( hostdn);