Searched refs:service (Results 1 - 25 of 62) sorted by relevance

123

/sssd/src/config/testconfigs/
H A Dnoparse.api.conf4 [service]
/sssd/src/tests/
H A Dfail_over-tests.c53 struct fo_service *service; member in struct:task
107 struct fo_service *service; local
122 ret = fo_new_service(ctx->fo_ctx, "service_3", NULL, &service);
129 ret = fo_get_service(ctx->fo_ctx, buf, &service);
131 fail_if(service != services[i]);
132 talloc_free(service);
135 ret = fo_get_service(ctx->fo_ctx, buf, &service);
188 active_server = fo_get_active_server(task->service);
199 _get_request(struct test_ctx *test_ctx, struct fo_service *service, argument
215 task->service
230 struct fo_service *service[3]; local
[all...]
/sssd/src/util/
H A Dnscd.c40 const char *service; local
46 service = "passwd";
50 service = "group";
62 execl(NSCD_PATH, NSCD_PATH, NSCD_RELOAD_ARG, service, NULL);
143 char *line, *entry, *service, *enabled, *pad; local
172 service = pad;
173 while (isspace(*service) && *service != '\0') {
174 service++;
178 pad = service;
[all...]
/sssd/src/providers/
H A Dfail_over.c92 struct fo_service *service; member in struct:fo_server
247 DLIST_REMOVE(server->service->server_list, tmp);
252 DLIST_REMOVE(server->service->server_list, tmp);
256 if (server == server->service->active_server) {
257 server->service->active_server = NULL;
259 if (server == server->service->last_tried_server) {
260 server->service->last_tried_server = meta;
264 DLIST_ADD_AFTER(server->service->server_list, meta, server);
265 DLIST_REMOVE(server->service->server_list, server);
287 timeout = data->meta->service
415 service_destructor(struct fo_service *service) argument
426 struct fo_service *service; local
468 struct fo_service *service; local
543 fo_server_alloc(struct fo_service *service, int port, void *user_data, bool primary) argument
578 fo_add_srv_server(struct fo_service *service, const char *srv, const char *discovery_domain, const char *sssd_domain, const char *proto, void *user_data) argument
652 create_fo_server(struct fo_service *service, const char *name, int port, void *user_data, bool primary) argument
686 fo_get_server_count(struct fo_service *service) argument
791 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
838 fo_add_server(struct fo_service *service, const char *name, int port, void *user_data, bool primary) argument
867 get_first_server_entity(struct fo_service *service, struct fo_server **_server) argument
1000 fo_resolve_service_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv, struct fo_ctx *ctx, struct fo_service *service) argument
1247 struct fo_service *service; member in struct:resolve_srv_state
1544 fo_get_active_server(struct fo_service *service) argument
1549 fo_try_next_server(struct fo_service *service) argument
1639 fo_reset_servers(struct fo_service *service) argument
1659 struct fo_service *service; local
1669 fo_svc_has_server(struct fo_service *service, struct fo_server *server) argument
1680 fo_svc_server_list(TALLOC_CTX *mem_ctx, struct fo_service *service, size_t *_count) argument
[all...]
H A Dfail_over.h68 * service resolution. When this timeout is reached, the resolve request
78 * try when looking up the service.
97 * Create a new service structure for 'ctx', saving it to the location pointed
111 * Look up service named 'name' from the 'ctx' service list. Target of
112 * '_service' will be set to the service if it was found.
119 * Get number of servers registered for the 'service'.
121 int fo_get_server_count(struct fo_service *service);
124 * Adds a server 'name' to the 'service'. Port 'port' will be used for
127 int fo_add_server(struct fo_service *service,
[all...]
H A Dfail_over_srv.h43 const char *service,
77 const char *service,
91 const char *service,
119 const char *service,
H A Ddp_auth_util.c27 const char *service; local
41 service = pd->service ? pd->service : "";
58 DBUS_TYPE_STRING, &service,
96 DBUS_TYPE_STRING, &(pd.service),
H A Dfail_over_srv.c41 const char *service,
56 subreq = resolv_discover_srv_send(state, ev, resolv_ctx, service,
178 const char *service; member in struct:fo_discover_servers_state
197 const char *service,
235 state->service = talloc_strdup(state, service);
236 if (state->service == NULL) {
271 state->service, state->protocol, domains);
343 state->service, state->protocol, domains);
448 const char *service; member in struct:fo_resolve_srv_dns_state
38 fo_discover_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char **discovery_domains) argument
194 fo_discover_servers_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char *primary_domain, const char *backup_domain) argument
498 fo_resolve_srv_dns_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *service, const char *protocol, const char *discovery_domain, void *pvt) argument
[all...]
H A Ddp_pam_data_util.c101 pd->service = talloc_strdup(pd, src->service);
102 if (pd->service == NULL && src->service != NULL) {
170 DEBUG(l, "service: %s\n", PAM_SAFE_ITEM(pd->service));
/sssd/src/providers/ad/
H A Dad_common.c386 "No AD server set, will use service discovery!\n");
483 _ad_servers_init(struct ad_service *service, argument
516 /* Add each of these servers to the failover service */
521 "Failed to add server [%s] to failover service: "
527 sdata = talloc(service, struct ad_server_data);
539 "Failed to add service discovery to failover: [%s]\n",
544 sdata = talloc(service, struct ad_server_data);
556 "Failed to add service discovery to failover: [%s]\n",
561 DEBUG(SSSDBG_CONF_SETTINGS, "Added service discovery for AD\n");
572 sdata = talloc(service, struc
606 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
616 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
645 struct ad_service *service = talloc_get_type(pvt, struct ad_service); local
667 struct ad_service *service; local
789 struct ad_service *service; local
[all...]
H A Dad_gpo.h61 const char *service);
H A Dad_srv.h37 const char *service,
/sssd/src/providers/ldap/
H A Dldap_common.c78 struct sdap_service *service; local
91 service = talloc_get_type(private_data, struct sdap_service);
92 if (!service) {
118 DEBUG(SSSDBG_CRIT_FAILURE, "Unknown service, using ldap\n");
129 new_uri = talloc_asprintf(service, "%s://%s:%d",
133 new_uri = talloc_strdup(service, tmp);
145 talloc_zfree(service->uri);
146 service->uri = new_uri;
147 talloc_zfree(service->sockaddr);
148 service
414 struct krb5_service *service = NULL; local
481 _sdap_urls_init(struct be_ctx *ctx, struct sdap_service *service, const char *service_name, const char *dns_service_name, const char *urls, bool primary) argument
586 sdap_primary_urls_init(struct be_ctx *ctx, struct sdap_service *service, const char *service_name, const char *dns_service_name, const char *urls) argument
595 sdap_backup_urls_init(struct be_ctx *ctx, struct sdap_service *service, const char *service_name, const char *dns_service_name, const char *urls) argument
614 struct sdap_service *service; local
[all...]
/sssd/src/providers/ipa/
H A Dipa_srv.h34 const char *service,
H A Dipa_common.c77 "No ipa server set, will use service discovery!\n");
716 ipa_opts->service->krb5_service->write_kdcinfo = \
720 ipa_opts->service->krb5_service->write_kdcinfo ? "true" : "false");
736 struct ipa_service *service; local
751 service = talloc_get_type(private_data, struct ipa_service);
752 if (!service) {
788 new_uri = talloc_asprintf(service, "ldap://%s", srv_name);
797 talloc_zfree(service->sdap->uri);
798 service->sdap->uri = new_uri;
799 talloc_zfree(service
823 _ipa_servers_init(struct be_ctx *ctx, struct ipa_service *service, struct ipa_options *options, const char *servers, bool primary) argument
904 ipa_primary_servers_init(struct be_ctx *ctx, struct ipa_service *service, struct ipa_options *options, const char *servers) argument
911 ipa_backup_servers_init(struct be_ctx *ctx, struct ipa_service *service, struct ipa_options *options, const char *servers) argument
929 struct ipa_service *service; local
[all...]
H A Dipa_dyndns.c167 if (ctx->service == NULL) {
168 DEBUG(SSSDBG_CRIT_FAILURE, "service structure not initialized\n");
173 if (ctx->service->sdap == NULL) {
179 if (ctx->service->sdap->uri == NULL) {
195 if (strncmp(ctx->service->sdap->uri,
/sssd/src/responder/ifp/
H A Difp_domains.h105 const char *service);
109 const char *service);
H A Dorg.freedesktop.sssd.infopipe.conf10 <!-- Only root can own (provide) the SSSD service -->
/sssd/src/config/
H A DSSSDConfigTest.py47 #Verify service attributes
273 service = SSSDConfig.SSSDService('sssd', self.schema)
288 service = SSSDConfig.SSSDService('sssd', self.schema)
290 options = service.list_options()
361 service = SSSDConfig.SSSDService('sssd', self.schema)
363 options = service.list_mandatory_options()
397 service = SSSDConfig.SSSDService('sssd', self.schema)
400 service.set_option('debug_level', 2)
401 self.assertEqual(service.get_option('debug_level'), 2)
404 service
[all...]
/sssd/src/providers/krb5/
H A Dkrb5_common.c392 const char *service)
404 service == NULL || *service == '\0') {
406 "Missing or empty realm, server or service.\n");
417 if (strcmp(service, SSS_KRB5KDC_FO_SRV) == 0) {
419 } else if (strcmp(service, SSS_KRB5KPASSWD_FO_SRV) == 0) {
422 DEBUG(SSSDBG_CRIT_FAILURE, "Unsupported service [%s].\n", service);
576 struct krb5_service *service,
603 talloc_steal(service, lis
391 write_krb5info_file(const char *realm, const char *server, const char *service) argument
575 _krb5_servers_init(struct be_ctx *ctx, struct krb5_service *service, const char *service_name, const char *servers, bool primary) argument
703 krb5_primary_servers_init(struct be_ctx *ctx, struct krb5_service *service, const char *service_name, const char *servers) argument
710 krb5_backup_servers_init(struct be_ctx *ctx, struct krb5_service *service, const char *service_name, const char *servers) argument
730 struct krb5_service *service; local
[all...]
H A Dkrb5_common.h118 struct krb5_service *service; member in struct:krb5_ctx
160 const char *service);
/sssd/src/resolv/
H A Dasync_resolv_utils.c159 const char *service; member in struct:resolv_discover_srv_state
174 const char *service,
189 if (resolv_ctx == NULL || service == NULL || protocol == NULL
198 state->service = service;
236 query = talloc_asprintf(state, "_%s._%s.%s", state->service,
243 DEBUG(SSSDBG_TRACE_FUNC, "SRV resolution of service '%s'. Will use DNS "
244 "discovery domain '%s'\n", state->service, domain);
171 resolv_discover_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *service, const char *protocol, const char **discovery_domains) argument
/sssd/contrib/rhel/
H A Dupdate_debug_levels.py71 for service in sssdconfig.list_services():
72 svc = sssdconfig.get_service(service)
/sssd/src/tools/sssctl/
H A Dsssctl_domains.c115 static const char *proper_service_name(const char *service) argument
117 if (strcasecmp(service, "AD_GC") == 0) {
119 } else if (strcasecmp(service, "AD") == 0) {
121 } else if (strncasecmp(service, "sd_gc_", strlen("sd_gc_")) == 0) {
123 } else if (strncasecmp(service, "sd_", strlen("sd_")) == 0) {
127 return service;
/sssd/src/lib/ipa_hbac/
H A Dipa_hbac.h93 * No service category specified
128 * - Services: PAM service names
137 * - Services: PAM service groups.
150 * Services and service groups
186 * - Services: PAM service names
195 * - Services: PAM service groups.
206 /** This is a list of service DNs to check,
207 * it must consist of the actual service
209 * containing that service.
211 struct hbac_request_element *service; member in struct:hbac_eval_req
[all...]

Completed in 299 milliseconds

123