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

123

/sssd-io/src/config/testconfigs/
H A Dnoparse.api.conf4 [service]
/sssd-io/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-io/src/util/
H A Dnscd.c41 const char *service; local
47 service = "passwd";
51 service = "group";
63 execl(NSCD_PATH, NSCD_PATH, NSCD_RELOAD_ARG, service, NULL);
144 char *line, *entry, *service, *enabled, *pad; local
173 service = pad;
174 while (isspace(*service) && *service != '\0') {
175 service++;
179 pad = service;
[all...]
/sssd-io/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
421 service_destructor(struct fo_service *service) argument
432 struct fo_service *service; local
474 struct fo_service *service; local
549 fo_server_alloc(struct fo_service *service, int port, void *user_data, bool primary) argument
584 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
658 create_fo_server(struct fo_service *service, const char *name, int port, void *user_data, bool primary) argument
692 fo_get_server_count(struct fo_service *service) argument
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
844 fo_add_server(struct fo_service *service, const char *name, int port, void *user_data, bool primary) argument
873 get_first_server_entity(struct fo_service *service, struct fo_server **_server) argument
1006 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
1254 struct fo_service *service; member in struct:resolve_srv_state
1554 fo_get_active_server(struct fo_service *service) argument
1559 fo_try_next_server(struct fo_service *service) argument
1649 fo_reset_servers(struct fo_service *service) argument
1669 struct fo_service *service; local
1679 fo_svc_has_server(struct fo_service *service, struct fo_server *server) argument
1690 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-io/src/providers/ad/
H A Dad_gpo.h61 const char *service);
H A Dad_common.c453 "No AD server set, will use service discovery!\n");
550 _ad_servers_init(struct ad_service *service, argument
583 /* Add each of these servers to the failover service */
588 "Failed to add server [%s] to failover service: "
594 sdata = talloc(service, struct ad_server_data);
606 "Failed to add service discovery to failover: [%s]\n",
611 sdata = talloc(service, struct ad_server_data);
623 "Failed to add service discovery to failover: [%s]\n",
628 DEBUG(SSSDBG_CONF_SETTINGS, "Added service discovery for AD\n");
639 sdata = talloc(service, struc
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
712 struct ad_service *service = talloc_get_type(pvt, struct ad_service); local
734 struct ad_service *service; local
856 struct ad_service *service; local
[all...]
H A Dad_srv.h38 const char *service,
/sssd-io/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");
745 ipa_opts->service->krb5_service->write_kdcinfo = \
749 ipa_opts->service->krb5_service->write_kdcinfo ? "true" : "false");
765 struct ipa_service *service; local
780 service = talloc_get_type(private_data, struct ipa_service);
781 if (!service) {
817 new_uri = talloc_asprintf(service, "ldap://%s", srv_name);
826 talloc_zfree(service->sdap->uri);
827 service->sdap->uri = new_uri;
828 talloc_zfree(service
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
958 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-io/src/tests/python/sssd/testlib/common/
H A Dlibkrb5.py102 service='admin',
110 self.add_principal(p_type=None, service='host',
142 self.multihost.log.info("krb5kdc service start successful")
148 self.multihost.log.info("kadmin service started successfully")
153 service=None,
159 :param str service: service principal (host/http/nfs)
160 :param str service_name: Hostname where service is run
165 if service is None:
166 service
[all...]
/sssd-io/src/providers/ldap/
H A Dldap_common.c80 struct sdap_service *service; local
93 service = talloc_get_type(private_data, struct sdap_service);
94 if (!service) {
120 DEBUG(SSSDBG_CRIT_FAILURE, "Unknown service, using ldap\n");
131 new_uri = talloc_asprintf(service, "%s://%s:%d",
135 new_uri = talloc_strdup(service, tmp);
147 talloc_zfree(service->uri);
148 service->uri = new_uri;
149 talloc_zfree(service->sockaddr);
150 service
416 struct krb5_service *service = NULL; local
483 _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
588 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
597 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
616 struct sdap_service *service; local
[all...]
/sssd-io/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-io/src/config/
H A DSSSDConfigTest.py47 #Verify service attributes
329 service = SSSDConfig.SSSDService('sssd', self.schema)
344 service = SSSDConfig.SSSDService('sssd', self.schema)
346 options = service.list_options()
423 service = SSSDConfig.SSSDService('sssd', self.schema)
425 options = service.list_mandatory_options()
459 service = SSSDConfig.SSSDService('sssd', self.schema)
462 service.set_option('debug_level', 2)
463 self.assertEqual(service.get_option('debug_level'), 2)
466 service
[all...]
/sssd-io/src/providers/krb5/
H A Dkrb5_common.c393 const char *service)
405 service == NULL || *service == '\0') {
407 "Missing or empty realm, server or service.\n");
418 if (strcmp(service, SSS_KRB5KDC_FO_SRV) == 0) {
420 } else if (strcmp(service, SSS_KRB5KPASSWD_FO_SRV) == 0) {
423 DEBUG(SSSDBG_CRIT_FAILURE, "Unsupported service [%s].\n", service);
577 struct krb5_service *service,
604 talloc_steal(service, lis
392 write_krb5info_file(const char *realm, const char *server, const char *service) argument
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
731 struct krb5_service *service; local
[all...]
H A Dkrb5_common.h118 struct krb5_service *service; member in struct:krb5_ctx
161 const char *service);
/sssd-io/src/resolv/
H A Dasync_resolv_utils.c160 const char *service; member in struct:resolv_discover_srv_state
175 const char *service,
190 if (resolv_ctx == NULL || service == NULL || protocol == NULL
199 state->service = service;
237 query = talloc_asprintf(state, "_%s._%s.%s", state->service,
244 DEBUG(SSSDBG_TRACE_FUNC, "SRV resolution of service '%s'. Will use DNS "
245 "discovery domain '%s'\n", state->service, domain);
172 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-io/src/tools/sssctl/
H A Dsssctl_domains.c165 static const char *proper_service_name(const char *service) argument
167 if (strcasecmp(service, "AD_GC") == 0) {
169 } else if (strcasecmp(service, "AD") == 0) {
171 } else if (strncasecmp(service, "sd_gc_", strlen("sd_gc_")) == 0) {
173 } else if (strncasecmp(service, "sd_", strlen("sd_")) == 0) {
177 return service;
/sssd-io/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 144 milliseconds

123