/sssd/src/providers/data_provider/ |
H A D | dp_iface_failover.c | 36 struct be_svc_data *svc; local 40 DLIST_FOR_EACH(svc, be_ctx->be_fo->svcs) { 41 services[count] = talloc_strdup(services, svc->name); 61 struct be_svc_data *svc; local 72 DLIST_FOR_EACH(svc, be_ctx->be_fo->svcs) { 75 if (strncasecmp(svc->name, "sd_gc_", strlen("sd_gc_")) == 0) { 80 if (strncasecmp(svc->name, "sd_", strlen("sd_")) == 0) { 85 if (strcasecmp(svc->name, fo_svc_name) != 0) { 92 if (strcasecmp(svc->name, "AD") == 0) { 97 services[count] = talloc_strdup(services, svc 121 struct be_svc_data *svc; local 186 struct be_svc_data *svc; local 276 struct be_svc_data *svc; local 317 struct be_svc_data *svc; local [all...] |
/sssd/src/providers/proxy/ |
H A D | proxy_services.c | 32 struct servent *svc, 47 cased_name = sss_get_cased_name(tmp_ctx, svc->s_name, 60 protocols[0] = sss_get_cased_name(protocols, svc->s_proto, 70 (const char * const *) svc->s_aliases, 78 lc_alias = sss_tc_utf8_str_tolower(tmp_ctx, svc->s_name); 96 ntohs(svc->s_port), 211 struct servent *svc; local 229 svc = talloc(tmpctx, struct servent); 230 if (!svc) { 264 /* always zero out the svc structur 31 proxy_save_service(struct sss_domain_info *domain, struct servent *svc, bool lowercase, uint64_t cache_timeout) argument [all...] |
/sssd/src/responder/ifp/ |
H A D | ifp_components.c | 45 const char * const *svc = get_known_services(); local 48 for (i = 0; svc[i] != NULL; i++) { 49 if (strcmp(svc[i], name) == 0) { 222 const char * const *svc = get_known_services(); local 227 for (num = 0; svc[num] != NULL; num++); 236 list[i] = sbus_opath_compose(list, PATH_RESPONDERS, svc[i]);
|
/sssd/src/krb5_plugin/ |
H A D | sssd_krb5_locator_plugin.c | 84 enum locate_service_type svc) 96 switch (svc) { 104 PLUGIN_DEBUG(("Unsupported service [%d].\n", svc)); 185 switch (svc) { 207 PLUGIN_DEBUG(("Unsupported service [%d].\n", svc)); 258 enum locate_service_type svc, 290 if (svc == locate_service_kadmin || svc == locate_service_kpasswd || 291 svc == locate_service_master_kdc) { 305 socktype, svc)); 83 get_krb5info(const char *realm, struct sssd_ctx *ctx, enum locate_service_type svc) argument 257 sssd_krb5_locator_lookup(void *private_data, enum locate_service_type svc, const char *realm, int socktype, int family, int (*cbfunc)(void *, int, struct sockaddr *), void *cbdata) argument [all...] |
/sssd/src/providers/ipa/ |
H A D | ipa_hbac_common.c | 613 struct hbac_request_element *svc; local 623 svc = talloc_zero(tmp_ctx, struct hbac_request_element); 624 if (svc == NULL) { 629 svc->name = servicename; 631 svc_dn = sysdb_custom_dn(tmp_ctx, domain, svc->name, HBAC_SERVICES_SUBDIR); 647 ret = create_empty_grouplist(svc); 663 ret = create_empty_grouplist(svc); 668 svc->groups = talloc_array(svc, const char *, el->num_values + 1); 669 if (svc [all...] |
/sssd/src/providers/ |
H A D | data_provider_fo.c | 31 struct be_svc_data *svc; member in struct:be_svc_callback 96 struct be_svc_data *svc; local 98 svc = talloc_get_type(memptr, struct be_svc_data); 100 while (svc->callbacks) { 103 talloc_free(svc->callbacks); 115 struct be_svc_data *svc; local 121 DLIST_FOR_EACH(svc, ctx->be_fo->svcs) { 122 if (strcmp(svc->name, service_name) == 0) { 123 return svc; 134 struct be_svc_data *svc; local 191 struct be_svc_data *svc; local 275 struct be_svc_data *svc; local 338 struct be_svc_data *svc; local 362 struct be_svc_data *svc; member in struct:be_resolve_server_state 373 struct be_svc_data *svc; member in struct:be_primary_server_ctx 461 be_primary_server_timeout_activate(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *bctx, struct be_svc_data *svc, const unsigned long timeout_seconds) argument 513 struct be_svc_data *svc; local 704 struct be_svc_data *svc; local 715 struct be_svc_data *svc; local 732 struct be_svc_data *svc; local [all...] |
H A D | fail_over.c | 1630 time_t fo_get_service_retry_timeout(struct fo_service *svc) argument 1632 if (svc == NULL || svc->ctx == NULL || svc->ctx->opts == NULL) { 1636 return svc->ctx->opts->retry_timeout;
|
/sssd/src/util/ |
H A D | util.c | 837 static const char *svc[] = {"nss", "pam", "sudo", "autofs", local 840 return svc;
|
/sssd/src/monitor/ |
H A D | monitor.c | 175 static int service_signal_reset_offline(struct mt_svc *svc); 188 static int mark_service_as_started(struct mt_svc *svc); 224 static int add_svc_conn_spy(struct mt_svc *svc); 232 struct mt_svc *svc; local 268 svc = mini->ctx->svc_list; 269 while (svc) { 270 ret = strcasecmp(svc->identity, svc_name); 274 svc = svc->next; 276 if (!svc) { 308 struct mt_svc *svc; member in struct:svc_spy 313 struct mt_svc *svc = talloc_get_type(mem, struct mt_svc); local 357 add_svc_conn_spy(struct mt_svc *svc) argument 372 svc_child_info(struct mt_svc *svc, int wait_status) argument 394 mark_service_as_started(struct mt_svc *svc) argument 545 struct mt_svc *svc = talloc_get_type(data, struct mt_svc); local 590 service_signal(struct mt_svc *svc, const char *svc_signal) argument 629 service_signal_dns_reload(struct mt_svc *svc) argument 633 service_signal_offline(struct mt_svc *svc) argument 637 service_signal_reset_offline(struct mt_svc *svc) argument 641 service_signal_rotate(struct mt_svc *svc) argument 645 service_signal_clear_memcache(struct mt_svc *svc) argument 649 service_signal_clear_enum_cache(struct mt_svc *svc) argument 653 service_signal_sysbus_reconnect(struct mt_svc *svc) argument 922 struct mt_svc *svc; local 1050 struct mt_svc *svc; local 1072 struct mt_svc *svc; local 1211 struct mt_svc *svc; local 1288 struct mt_svc *svc; local 1465 struct mt_svc *svc; local 2294 start_service(struct mt_svc *svc) argument 2385 struct mt_svc *svc; local 2413 struct mt_svc *svc = talloc_get_type(pvt, struct mt_svc); local 2425 monitor_restart_service(struct mt_svc *svc) argument [all...] |