Searched defs:service (Results 1 - 25 of 32) sorted by relevance

12

/sssd-io/src/providers/ldap/
H A Dldap_common.h53 struct sdap_service *service; member in struct:sdap_id_conn_ctx
77 struct sdap_service *service; member in struct:sdap_auth_ctx
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...]
H A Dsdap_access.c1131 #define AUTHR_SRV_MISSING_MSG "Authorized service attribute missing, " \
1133 #define AUTHR_SRV_DENY_MSG "Access denied by authorized service attribute"
1134 #define AUTHR_SRV_NO_MATCH_MSG "Authorized service attribute has " \
1143 char *service; local
1163 service = (char *)el->values[i].data;
1164 if (service[0] == '!' &&
1165 strcasecmp(pd->service, service+1) == 0) {
1166 /* This service is explicitly denied */
1167 DEBUG(SSSDBG_CONF_SETTINGS, "Access denied by [%s]\n", service);
[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 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 Ddata_provider.h105 * the corresponding PAM service functions
163 char *service; member in struct:pam_data
H A Ddata_provider_fo.c110 * Find registered be_svc_data by service name.
133 struct fo_service *service; local
139 DEBUG(SSSDBG_TRACE_FUNC, "Failover service already initialized!\n");
140 /* we already have a service up and configured,
146 /* if not in the be service list, try to create new one */
149 &service);
151 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to create failover service!\n");
166 svc->fo_service = service;
296 "Failed to add SRV lookup reference to failover service "
311 "service [
752 struct fo_service *service; local
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_srv.c88 const char *service,
140 subreq = fo_discover_servers_send(state, ev, ctx->resolv_ctx, service,
86 ipa_srv_plugin_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *service, const char *protocol, const char *discovery_domain, void *pvt) argument
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_common.h211 struct ipa_service *service; member in struct:ipa_options
/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_user_checks.c201 const char *service = DEFAULT_SERVICE; local
213 { "service", 's', POPT_ARG_STRING, &service, 0,
214 _("PAM service, default: " DEFAULT_SERVICE), NULL },
227 user, action, service);
242 ret = pam_start(service, user, &conv, &pamh);
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...]
/sssd-io/src/providers/ad/
H A Dad_common.h88 struct ad_service *service; member in struct:ad_options
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.c586 const char *service; member in struct:ad_srv_plugin_state
616 const char *service,
643 state->service = talloc_strdup(state, service);
644 if (state->service == NULL) {
775 if (strcmp(state->service, "gc") == 0) {
814 state->service, state->protocol,
614 ad_srv_plugin_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *service, const char *protocol, const char *discovery_domain, void *pvt) argument
/sssd-io/src/responder/ifp/
H A Difp_domains.c588 const char *service)
605 DBUS_TYPE_STRING, &service);
612 const char *service)
629 DBUS_TYPE_STRING, &service);
586 ifp_domains_domain_active_server(struct sbus_request *sbus_req, void *data, const char *service) argument
610 ifp_domains_domain_list_servers(struct sbus_request *sbus_req, void *data, const char *service) argument
/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...]
H A Dipa_hbac-tests.c54 /* These don't make sense for a user/group/service but they do the job and
135 struct hbac_request_element **service)
156 *service = new_service;
203 get_test_service(eval_req, &eval_req->service);
251 get_test_service(eval_req, &eval_req->service);
329 get_test_service(eval_req, &eval_req->service);
335 eval_req->service->name = (const char *) &service_utf8_lowcase;
354 /* Modify the rule to allow only a specific service */
363 /* Modify the rule to allow only a specific service */
447 get_test_service(eval_req, &eval_req->service);
134 get_test_service(TALLOC_CTX *mem_ctx, struct hbac_request_element **service) argument
[all...]
/sssd-io/src/providers/krb5/
H A Dkrb5_common.h118 struct krb5_service *service; member in struct:krb5_ctx
161 const char *service);
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...]
/sssd-io/src/tests/cmocka/
H A Dtest_fo_srv.c82 const char *service,
415 /* Mark the server as working and request the service again. The same server
79 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/
H A Dsss_cache.c86 char *service; member in struct:input_values
241 free(values->service);
383 /* Update service filter */
455 type_string = "service";
685 { "service", 's', POPT_ARG_STRING, &(values.service), 0,
686 _("Invalidate particular service"), NULL },
769 !values.netgroup && !values.service && !values.map &&
813 } else if (values.service) {
814 ctx->service_name = talloc_strdup(ctx, values.service);
[all...]

Completed in 2114 milliseconds

12