Lines Matching refs:host

363  * The cached ADS host is no longer valid if one of the following criteria
367 * 2) not the sought host (if specified)
373 * Return B_TRUE if the cache host is still valid. Otherwise, return B_FALSE.
398 * Returns true, if the sought host name matches the input host (host) name.
399 * The sought host is expected to be in Fully Qualified Domain Name (FQDN)
403 smb_ads_is_sought_host(smb_ads_host_info_t *host, char *sought_host_name)
405 if ((host == NULL) || (sought_host_name == NULL))
408 if (smb_strcasecmp(host->name, sought_host_name, 0))
417 * Returns true, if the cached ADS host is in the same domain as the
581 * find the host in the list of DC records from
582 * the answer section, that matches the host in the
681 * Upon successful completion, host list of ADS server(s) is returned.
762 * Check additional section to get IP address of ADS host.
798 * This method gets the IP address by doing a host name lookup.
830 * Checks the IP address to see if it is zero. If so, then do a host
858 * Finds an ADS host in a given domain.
860 * If the cached host is valid, it will be used. Otherwise, a DC will
880 * A copy of the cached host info is returned. The caller is responsible
890 smb_ads_host_info_t *hlistp = NULL, *host = NULL;
899 host = smb_ads_dup_host_info(smb_ads_cached_host_info);
901 return (host);
942 host = found_kpasswd_srv;
947 host = found_pdc;
969 host = smb_ads_select_dc(hlist);
972 if (host) {
975 smb_ads_cached_host_info = smb_ads_dup_host_info(host);
976 host = smb_ads_dup_host_info(smb_ads_cached_host_info);
981 return (host);
1064 * Acquire both Kerberos TGT and LDAP service tickets for the host principal.
1568 * to use host ip addr for UNC.
2203 * That would be needed while acquiring Kerberos TGT ticket for the host
2439 * Returns B_TRUE if the given host's IP address matches the preferred DC's
2443 smb_ads_match_pdc(smb_ads_host_info_t *host)
2447 if (!host)
2451 if (smb_inet_equal(&host->ipaddr, &smb_ads_cfg.c_pdc))
2462 * responds to ldap ping and is in the same subnet as the host.
2528 * Comparision function for sorting host entries (SRV records of DC) via qsort.
2567 * A reference to the host entry from input host list is returned.