Searched defs:servers (Results 1 - 11 of 11) sorted by relevance

/sssd-io/src/providers/data_provider/
H A Ddp_iface_failover.c318 const char **servers; local
338 servers = fo_svc_server_list(sbus_req, svc->fo_service, &count);
339 if (servers == NULL) {
343 iface_dp_failover_ListServers_finish(sbus_req, servers, (int)count);
/sssd-io/src/providers/
H A Dfail_over_srv.c31 struct fo_server_info *servers; member in struct:fo_discover_srv_state
114 DEBUG(SSSDBG_TRACE_FUNC, "Got %zu servers\n", state->num_servers);
116 state->servers = talloc_array(state, struct fo_server_info,
118 if (state->servers == NULL) {
126 state->servers[i].host = talloc_steal(state->servers, record->host);
127 state->servers[i].port = record->port;
128 state->servers[i].priority = record->priority;
161 *_servers = talloc_steal(mem_ctx, state->servers);
259 DEBUG(SSSDBG_TRACE_FUNC, "Looking up primary servers\
454 struct fo_server_info *servers; member in struct:fo_resolve_srv_dns_state
[all...]
H A Dfail_over.c76 * is needed in fail over duplicate servers detection.
616 /* SRV servers are always primary */
799 struct fo_server_info *servers,
813 server = create_fo_server(service, servers[i].host, servers[i].port,
890 /* First, try primary servers after the last one we tried.
902 /* Go only through primary servers */
913 /* First iterate only over primary servers */
925 /* Now iterate only over backup servers */
1029 "No available servers fo
797 fo_add_server_list(struct fo_service *service, struct fo_server *after_server, struct fo_server_info *servers, size_t num_servers, struct srv_data *srv_data, void *user_data, bool primary, struct fo_server **_last_server) argument
[all...]
/sssd-io/src/responder/ifp/
H A Difp_domains.c300 char **servers = NULL; local
345 option, &servers);
350 for (num_servers = 0; servers[num_servers] != NULL; num_servers++);
364 out[i] = talloc_steal(out, servers[i]);
/sssd-io/src/tools/sssctl/
H A Dsssctl_domains.c214 printf(_("Active servers:\n"));
249 const char **servers; local
278 printf(_("Discovered %s servers:\n"), proper_service_name(services[i]));
290 &servers, &num_servers);
301 printf("- %s\n", servers[j]);
319 int servers; member in struct:sssctl_domain_status_opts
338 {"servers", 'r', POPT_ARG_NONE, &opts.servers, 0, _("Show list of discovered servers"), NULL },
355 opts.servers
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_common.c855 const char *servers,
871 ret = split_on_separator(tmp_ctx, servers, ',', true, true, &list, NULL);
894 "SRV resolution only allowed for primary servers!\n",
934 struct ipa_options *options, const char *servers)
936 return _ipa_servers_init(ctx, service, options, servers, true);
941 struct ipa_options *options, const char *servers)
943 return _ipa_servers_init(ctx, service, options, servers, false);
1017 "No primary servers defined, using service discovery\n");
852 _ipa_servers_init(struct be_ctx *ctx, struct ipa_service *service, struct ipa_options *options, const char *servers, bool primary) argument
933 ipa_primary_servers_init(struct be_ctx *ctx, struct ipa_service *service, struct ipa_options *options, const char *servers) argument
940 ipa_backup_servers_init(struct be_ctx *ctx, struct ipa_service *service, struct ipa_options *options, const char *servers) argument
H A Dipa_init.c74 static bool srv_in_server_list(const char *servers) argument
81 if (servers == NULL) return true;
89 ret = split_on_separator(tmp_ctx, servers, ',', true, true, &list, NULL);
266 "SRV resolution or IPA site discovery to locate IPA servers. "
273 * domain to try to find AD servers and fail.
290 * and only discover servers based on AD domains. */
/sssd-io/src/providers/ad/
H A Dad_common.c554 const char *servers,
569 ret = split_on_separator(tmp_ctx, servers, ',', true, true, &list, NULL);
583 /* Add each of these servers to the failover service */
589 "SRV resolution only allowed for primary servers!\n",
674 struct be_ctx *bectx, const char *servers,
679 fo_gc_service, servers, ad_domain, true);
684 struct be_ctx *bectx, const char *servers,
689 fo_gc_service, servers, ad_domain, false);
800 "No primary servers defined, using service discovery\n");
965 /* Only write kdcinfo files for local servers */
550 _ad_servers_init(struct ad_service *service, struct be_ctx *bectx, const char *fo_service, const char *fo_gc_service, const char *servers, const char *ad_domain, bool primary) argument
673 ad_primary_servers_init(struct ad_service *service, struct be_ctx *bectx, const char *servers, const char *fo_service, const char *fo_gc_service, const char *ad_domain) argument
683 ad_backup_servers_init(struct ad_service *service, struct be_ctx *bectx, const char *servers, const char *fo_service, const char *fo_gc_service, const char *ad_domain) argument
[all...]
H A Dad_srv.c70 /* When several servers share priority, we will prefer the one that
73 * the servers are already sorted by priority. */
113 struct fo_server_info *servers; member in struct:ad_get_dc_servers_state
200 &state->servers, &state->num_servers);
228 *_dcs = talloc_steal(mem_ctx, state->servers);
611 * 5. If the site is found, use (a) as primary and (b) as backup servers,
612 * otherwise use (b) as primary servers
810 "backup servers\n");
856 DEBUG(SSSDBG_TRACE_FUNC, "Got %zu primary and %zu backup servers\n",
863 DEBUG(SSSDBG_MINOR_FAILURE, "Unable to sort primary servers b
[all...]
H A Dad_subdomains.c247 const char *servers; local
296 servers = dp_opt_get_string(ad_options->basic, AD_SERVER);
299 ret = ad_failover_init(ad_options, be_ctx, servers, backup_servers, realm,
/sssd-io/src/providers/krb5/
H A Dkrb5_common.c579 const char *servers,
597 ret = split_on_separator(tmp_ctx, servers, ',', true, true, &list, NULL);
615 "SRV resolution only allowed for primary servers!\n",
705 const char *service_name, const char *servers)
707 return _krb5_servers_init(ctx, service, service_name, servers, true);
712 const char *service_name, const char *servers)
714 return _krb5_servers_init(ctx, service, service_name, servers, false);
767 "No primary servers defined, using service discovery\n");
576 _krb5_servers_init(struct be_ctx *ctx, struct krb5_service *service, const char *service_name, const char *servers, bool primary) argument
704 krb5_primary_servers_init(struct be_ctx *ctx, struct krb5_service *service, const char *service_name, const char *servers) argument
711 krb5_backup_servers_init(struct be_ctx *ctx, struct krb5_service *service, const char *service_name, const char *servers) argument

Completed in 62 milliseconds