Lines Matching defs:host
332 /* Get the source host */
337 * source host.
348 /* The target host is always the current machine */
619 struct hbac_request_element *host;
629 host = talloc_zero(tmp_ctx, struct hbac_request_element);
630 if (host == NULL) {
635 host->name = hostname;
637 if (host->name == NULL) {
638 /* We don't know the host (probably an rhost)
641 ret = create_empty_grouplist(host);
645 host_dn = sysdb_custom_dn(tmp_ctx, domain, host->name, HBAC_HOSTS_SUBDIR);
651 /* Look up the host to get its originalMemberOf entries */
659 * a host category of ALL
661 ret = create_empty_grouplist(host);
675 * a host category of ALL
677 ret = create_empty_grouplist(host);
682 host->groups = talloc_array(host, const char *, el->num_values + 1);
683 if (host->groups == NULL) {
699 * host group. We'll just ignore those (could be
704 host->groups[j] = talloc_steal(host->groups, name);
708 host->groups[j] = NULL;
714 *host_element = talloc_steal(mem_ctx, host);