Lines Matching defs:servers
145 /* Cached list of ADS servers discovered via DNS */
663 * controllers are also ADS servers.
860 * DC must be online. The list of discovered servers will be cached.
990 char **servers;
1003 if ((servers = calloc(list->ah_cnt + 1, sizeof (char *))) == NULL)
1007 servers[i] = strdup(list->ah_list[i].name);
1008 if (servers[i] == NULL)
1016 free(servers);
1020 return (servers);
1025 * Obtain a list of cached AD servers for the specified domain.
1088 * Reorder the list of servers 'servers' such that the specified server is
1093 smb_ads_reorder_servers(char **servers, uint32_t count, char *srv)
1099 assert(servers != NULL);
1102 if (smb_strcasecmp(srv, servers[0], 0) == 0)
1109 bcopy(servers, tmplist, count * sizeof (char *));
1117 bcopy(&tmplist[start_idx], &servers[0], (count - start_idx) *
1119 bcopy(&tmplist[0], &servers[count - start_idx],