/sssd-io/src/providers/ |
H A D | fail_over.c | 217 return "unknown server status"; 225 static void fo_server_free(struct fo_server *server) argument 227 if (server == NULL) { 231 talloc_free(server->fo_internal_owner); 237 struct fo_server *tmp, *meta, *server; local 239 server = *_server; 240 meta = server->srv_data->meta; 244 if (server != meta) { 245 while (server->prev && server 331 get_server_status(struct fo_server *server) argument 370 get_port_status(struct fo_server *server) argument 401 server_works(struct fo_server *server) argument 410 service_works(struct fo_server *server) argument 552 static struct fo_server *server; local 588 struct fo_server *server; local 661 struct fo_server *server; local 694 struct fo_server *server; local 704 fo_server_match(struct fo_server *server, const char *name, int port, void *user_data) argument 751 struct fo_server *server = NULL; local 762 fo_add_server_to_list(struct fo_server **to_list, struct fo_server *check_list, struct fo_server *server, const char *service_name) argument 806 struct fo_server *server = NULL; local 847 struct fo_server *server; local 864 fo_ref_server(TALLOC_CTX *ref_ctx, struct fo_server *server) argument 875 struct fo_server *server; local 950 set_lookup_hook(struct tevent_context *ev, struct fo_server *server, struct tevent_req *req) argument 983 struct fo_server *server; member in struct:resolve_service_state 1011 struct fo_server *server; local 1226 fo_resolve_service_recv(struct tevent_req *req, TALLOC_CTX *ref_ctx, struct fo_server **server) argument 1264 resolve_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv, struct fo_ctx *ctx, struct fo_server *server) argument 1479 resolve_srv_recv(struct tevent_req *req, struct fo_server **server) argument 1510 fo_set_server_status(struct fo_server *server, enum server_status status) argument 1522 fo_set_port_status(struct fo_server *server, enum port_status status) argument 1561 struct fo_server *server; local 1581 fo_get_server_user_data(struct fo_server *server) argument 1587 fo_get_server_port(struct fo_server *server) argument 1593 fo_get_server_name(struct fo_server *server) argument 1601 fo_get_server_str_name(struct fo_server *server) argument 1614 fo_get_server_hostent(struct fo_server *server) argument 1626 fo_is_server_primary(struct fo_server *server) argument 1632 fo_get_server_hostname_last_change(struct fo_server *server) argument 1651 struct fo_server *server; local 1679 fo_svc_has_server(struct fo_service *service, struct fo_server *server) argument 1695 const char *server; local [all...] |
H A D | fail_over.h | 52 SERVER_WORKING, /* We successfully connected to the server. */ 53 SERVER_NOT_WORKING /* We tried and failed to connect to the server. */ 64 * duration in seconds of how long a server or port will be considered 72 * is considered valid until we ask the server again. 124 * Adds a server 'name' to the 'service'. Port 'port' will be used for 125 * connection. If 'name' is NULL, no server resolution will be done. 139 * Request the first server from the service's list of servers. It is only 141 * passed). If the server address wasn't resolved yet, it will be done. 151 struct fo_server **server); 154 /* To be used by async consumers of fo_resolve_service. If a server shoul [all...] |
H A D | backend.h | 162 int be_fo_is_srv_identifier(const char *server); 186 const char *server, int port, void *user_data, 198 #define be_fo_set_port_status(ctx, service_name, server, status) \ 199 _be_fo_set_port_status(ctx, service_name, server, status, \ 204 struct fo_server *server, 211 * Instruct fail-over to try next server on the next connect attempt. 213 * but there is no authoritative information on whether active server is down.
|
H A D | data_provider_fo.c | 39 int be_fo_is_srv_identifier(const char *server) argument 41 return server && strcasecmp(server, BE_SRV_IDENTIFIER) == 0; 335 const char *server, int port, void *user_data, 346 ret = fo_add_server(svc->fo_service, server, port, 350 "Failed to add server to failover service [%d]: %s\n", 400 DEBUG(SSSDBG_TRACE_FUNC, "Looking for primary server!\n"); 443 * (either no server could be found or it was not primary) 449 "Could not schedule primary server lookup [%d]: %s\n", 472 DEBUG(SSSDBG_TRACE_FUNC, "The primary server reconnectio 334 be_fo_add_server(struct be_ctx *ctx, const char *service_name, const char *server, int port, void *user_data, bool primary) argument 716 struct fo_server *server; local 768 _be_fo_set_port_status(struct be_ctx *ctx, const char *service_name, struct fo_server *server, enum port_status status, int line, const char *file, const char *function) argument [all...] |
/sssd-io/src/sbus/ |
H A D | sssd_dbus_server.c | 35 struct sbus_connection *server; member in struct:new_connection_data 61 ret = sbus_init_connection(ncd->server, ncd->server->ev, dbus_conn, 79 ret = ncd->server->srv_init_fn(conn, ncd->server->srv_init_data); 108 /* Perhaps cruft after a previous server? */ 186 * Set up a D-BUS server, integrate with the event loop 199 struct sbus_connection *server; local 223 /* Set up D-BUS server */ 299 server 385 struct sbus_connection *server; local [all...] |
H A D | sssd_dbus_private.h | 30 DBusServer *server; member in union:dbus_conn_pointer 61 /* server related stuff */
|
H A D | sssd_dbus_common.c | 79 dbus_server_ref(dbus_p.server); 100 dbus_server_unref(dbus_p.server);
|
H A D | sssd_dbus.h | 137 struct sbus_connection **server, 163 * server such as the Monitor in the 449 * a new dbus server/connection. Its use, for now, must be restricted
|
/sssd-io/src/tests/ |
H A D | fail_over-tests.c | 150 struct fo_server *server = NULL; local 159 recv_status = fo_resolve_service_recv(req, req, &server); 165 fail_if(server == NULL); 166 port = fo_get_server_port(server); 171 fo_set_port_status(server, task->new_port_status); 173 fo_set_server_status(server, task->new_server_status); 175 if (fo_get_server_name(server) != NULL) { 176 he = fo_get_server_hostent(server); 189 fail_if(active_server == NULL, "Missing active server"); 190 fail_if(server ! [all...] |
H A D | common_dbus.c | 63 /* Tell the server thread to quit */ 66 /* Wait for the server child, it always returns mock */ 108 struct sbus_connection *server; local 116 false, &server, on_accept_connection, mock, 130 /* TODO: sbus doesn't support cleanup of a server */ 157 /* Run the dbus server in a child process */
|
H A D | sbus_tests.c | 199 static int pilot_test_server_init(struct sbus_connection *server, void *unused) argument 203 ret = sbus_conn_register_iface(server, &pilot_impl.vtable, "/test/leela", 208 ret = sbus_conn_register_iface(server, &pilot_impl.vtable, "/test/fry",
|
H A D | krb5_child-test.c | 321 kret = krb5_unparse_name(kcontext, cred->server, &sname);
|
/sssd-io/src/providers/data_provider/ |
H A D | dp_iface_failover.c | 216 * For IPA in server mode we return IPA for master domain and 277 const char *server; local 290 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to get server name\n"); 297 server = ""; 299 server = fo_get_server_name(svc->last_good_srv); 300 if (server == NULL) { 301 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to get server name\n"); 303 "Unable to get server name"); 308 iface_dp_failover_ActiveServer_finish(sbus_req, server); 332 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to get server lis [all...] |
/sssd-io/src/tools/sssctl/ |
H A D | sssctl_domains.c | 187 const char *server; local 221 sssctl_sifp_error(sifp, error, "Unable to get active server"); 226 ret = sbus_parse_reply(reply, DBUS_TYPE_STRING, &server); 231 server = SBUS_IS_STRING_EMPTY(server) ? _("not connected") : server; 232 printf("%s: %s\n", proper_service_name(services[i]), server); 284 sssctl_sifp_error(sifp, error, "Unable to get active server"); 337 {"active-server", 'a', POPT_ARG_NONE, &opts.active, 0, _("Show information about active server"), NUL [all...] |
/sssd-io/contrib/ci/ |
H A D | deps.sh | 51 krb5-server 132 krb5-admin-server
|
/sssd-io/src/providers/krb5/ |
H A D | krb5_common.c | 249 DEBUG(SSSDBG_CONF_SETTINGS, "No kpasswd server explicitly configured, " 346 "Set krb5 server [%s] based on legacy krb5_kdcip option\n", 392 errno_t write_krb5info_file(const char *realm, const char *server, argument 404 if (realm == NULL || *realm == '\0' || server == NULL || *server == '\0' || 407 "Missing or empty realm, server or service.\n"); 427 server_len = strlen(server); 457 written = sss_atomic_write_s(fd, discard_const(server), server_len); 508 static void krb5_resolve_callback(void *private_data, struct fo_server *server) argument 530 srvaddr = fo_get_server_hostent(server); [all...] |
H A D | krb5_ccache.c | 531 mcred.server = tgt_princ; 615 mcred.server = server_princ;
|
/sssd-io/src/providers/ad/ |
H A D | ad_common.c | 419 char *server; local 449 /* Did we get an explicit server name, or are we discovering it? */ 450 server = dp_opt_get_string(opts->basic, AD_SERVER); 451 if (!server) { 453 "No AD server set, will use service discovery!\n"); 547 ad_resolve_callback(void *private_data, struct fo_server *server); 568 /* Split the server list */ 571 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to parse server list!\n"); 588 "Failed to add server [%s] to failover service: " 648 DEBUG(SSSDBG_FATAL_FAILURE, "Failed to add server\ 852 ad_resolve_callback(void *private_data, struct fo_server *server) argument [all...] |
/sssd-io/src/providers/ldap/ |
H A D | ldap_common.c | 77 static void sdap_uri_callback(void *private_data, struct fo_server *server) argument 99 tmp = (const char *)fo_get_server_user_data(server); 101 srvaddr = fo_get_server_hostent(server); 104 "FATAL: No hostent available for server (%s)\n", 105 fo_get_server_str_name(server)); 111 fo_get_server_port(server)); 118 if (fo_is_srv_lookup(server)) { 124 srv_name = fo_get_server_name(server); 126 DEBUG(SSSDBG_CRIT_FAILURE, "Could not get server host name\n"); 133 fo_get_server_port(server)); [all...] |
H A D | sdap.h | 646 const char *server,
|
/sssd-io/src/tests/cmocka/ |
H A D | test_copy_ccache.c | 32 #define CCACHE_TEST_SERVER_PRINC "test/server@TEST.CCACHE" 80 test_creds.server = test_ctx->server_principal; 191 mcreds.server = test_ctx->server_principal;
|
/sssd-io/src/providers/ipa/ |
H A D | ipa_subdomains_server.c | 4 IPA Subdomains Module - server mode 76 /* Old server? Default to 2way trust */ 380 const char *server, 393 const char *server, 411 if (server == NULL || principal == NULL || keytab == NULL) { 418 principal, server, keytab, ccache); 422 ipa_getkeytab_exec(ccache, server, principal, keytab); 463 const char *server, 501 "-r", "-s", server, "-p", principal, "-k", keytab_path, NULL, 551 DEBUG(SSSDBG_CRIT_FAILURE, "Timeout reached for retrieving keytab from IPA server\ 390 ipa_getkeytab_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *ccache, const char *server, const char *principal, const char *keytab) argument 462 ipa_getkeytab_exec(const char *ccache, const char *server, const char *principal, const char *keytab_path) argument [all...] |
H A D | ipa_common.c | 48 char *server; local 74 server = dp_opt_get_string(opts->basic, IPA_SERVER); 75 if (!server) { 77 "No ipa server set, will use service discovery!\n"); 762 static void ipa_resolve_callback(void *private_data, struct fo_server *server) argument 787 srvaddr = fo_get_server_hostent(server); 790 "FATAL: No hostent available for server (%s)\n", 791 fo_get_server_str_name(server)); 810 srv_name = fo_get_server_name(server); 812 DEBUG(SSSDBG_CRIT_FAILURE, "Could not get server hos [all...] |
/sssd-io/src/tests/python/ |
H A D | sssd-testlib.spec | 116 - Add libkrb5 module to create kerberos server
|
/sssd-io/src/tests/python/sssd/testlib/common/ |
H A D | utils.py | 62 :param str hostname: Hostname of server(AD) to 115 :param str server_software: server software (active-directory/ipa) 125 '--server-software=%s' % 293 :param krb5_server: kerberos server 395 uri(str): ldap server uri(ldap(s):///<hostname/ipaddress> 411 """ Bind to ldap server 426 """ Add an entry to ldap server 458 """ Search ldap server and return results 460 :param str base: basedn of ldap server 572 :param str basedn: base dn of the ldap server [all...] |