Searched refs:server (Results 1 - 25 of 27) sorted by relevance

12

/sssd/src/providers/
H A Dfail_over.c217 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
395 server_works(struct fo_server *server) argument
404 service_works(struct fo_server *server) argument
546 static struct fo_server *server; local
582 struct fo_server *server; local
655 struct fo_server *server; local
688 struct fo_server *server; local
698 fo_server_match(struct fo_server *server, const char *name, int port, void *user_data) argument
745 struct fo_server *server = NULL; local
756 fo_add_server_to_list(struct fo_server **to_list, struct fo_server *check_list, struct fo_server *server, const char *service_name) argument
800 struct fo_server *server = NULL; local
841 struct fo_server *server; local
858 fo_ref_server(TALLOC_CTX *ref_ctx, struct fo_server *server) argument
869 struct fo_server *server; local
944 set_lookup_hook(struct tevent_context *ev, struct fo_server *server, struct tevent_req *req) argument
977 struct fo_server *server; member in struct:resolve_service_state
1005 struct fo_server *server; local
1219 fo_resolve_service_recv(struct tevent_req *req, TALLOC_CTX *ref_ctx, struct fo_server **server) argument
1257 resolve_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv, struct fo_ctx *ctx, struct fo_server *server) argument
1469 resolve_srv_recv(struct tevent_req *req, struct fo_server **server) argument
1500 fo_set_server_status(struct fo_server *server, enum server_status status) argument
1512 fo_set_port_status(struct fo_server *server, enum port_status status) argument
1551 struct fo_server *server; local
1571 fo_get_server_user_data(struct fo_server *server) argument
1577 fo_get_server_port(struct fo_server *server) argument
1583 fo_get_server_name(struct fo_server *server) argument
1591 fo_get_server_str_name(struct fo_server *server) argument
1604 fo_get_server_hostent(struct fo_server *server) argument
1616 fo_is_server_primary(struct fo_server *server) argument
1622 fo_get_server_hostname_last_change(struct fo_server *server) argument
1641 struct fo_server *server; local
1669 fo_svc_has_server(struct fo_service *service, struct fo_server *server) argument
1685 const char *server; local
[all...]
H A Dfail_over.h52 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 Dbackend.h154 int be_fo_is_srv_identifier(const char *server);
178 const char *server, int port, void *user_data,
190 #define be_fo_set_port_status(ctx, service_name, server, status) \
191 _be_fo_set_port_status(ctx, service_name, server, status, \
196 struct fo_server *server,
203 * Instruct fail-over to try next server on the next connect attempt.
205 * but there is no authoritative information on whether active server is down.
H A Ddata_provider_fo.c39 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/src/sbus/
H A Dsssd_dbus_server.c44 struct sbus_connection *server; local
49 server = talloc_get_type(data, struct sbus_connection);
50 if (!server) {
55 ret = sbus_init_connection(server, server->ev, dbus_conn,
72 ret = server->srv_init_fn(conn, server->srv_init_data);
101 /* Perhaps cruft after a previous server? */
179 * Set up a D-BUS server, integrate with the event loop
191 struct sbus_connection *server; local
365 struct sbus_connection *server; local
[all...]
H A Dsssd_dbus_private.h30 DBusServer *server; member in union:dbus_conn_pointer
61 /* server related stuff */
H A Dsssd_dbus_common.c79 dbus_server_ref(dbus_p.server);
100 dbus_server_unref(dbus_p.server);
H A Dsssd_dbus.h143 struct sbus_connection **server,
166 * server such as the Monitor in the
/sssd/src/config/SSSDConfig/
H A Dsssd_upgrade_config.py69 server = self.findOpts(domain['value'], 'option', 'ldap_uri')[1]
70 if not server or "__srv__" in server['value']:
74 server = self.findOpts(domain['value'], 'option', 'ipa_server')[1]
75 if not server or "__srv__" in server['value']:
81 server = self.findOpts(domain['value'], 'option', 'krb5_server')[1]
82 if not server or "__srv__" in server['value']:
/sssd/src/tests/
H A Dfail_over-tests.c150 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 Dcommon_dbus.c63 /* 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), EOK);
129 /* TODO: sbus doesn't support cleanup of a server */
156 /* Run the dbus server in a child process */
H A Dsbus_tests.c199 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 Dkrb5_child-test.c311 kret = krb5_unparse_name(kcontext, cred->server, &sname);
H A Dsbus_codegen_tests.c632 static int pilot_test_server_init(struct sbus_connection *server, void *unused) argument
636 ret = sbus_conn_register_iface(server, &pilot_iface.vtable, "/test/leela",
643 static int special_test_server_init(struct sbus_connection *server, void *unused) argument
647 ret = sbus_conn_register_iface(server, &special_iface.vtable,
/sssd/src/tools/sssctl/
H A Dsssctl_domains.c137 const char *server; local
171 sssctl_sifp_error(sifp, error, "Unable to get active server");
176 ret = sbus_parse_reply(reply, DBUS_TYPE_STRING, &server);
181 server = SBUS_IS_STRING_EMPTY(server) ? _("not connected") : server;
182 printf("%s: %s\n", proper_service_name(services[i]), server);
234 sssctl_sifp_error(sifp, error, "Unable to get active server");
287 {"active-server", 'a', POPT_ARG_NONE, &opts.active, 0, _("Show information about active server"), NUL
[all...]
/sssd/src/providers/data_provider/
H A Ddp_iface_failover.c216 * 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/src/providers/ldap/
H A Dldap_common.c75 static void sdap_uri_callback(void *private_data, struct fo_server *server) argument
97 tmp = (const char *)fo_get_server_user_data(server);
99 srvaddr = fo_get_server_hostent(server);
102 "FATAL: No hostent available for server (%s)\n",
103 fo_get_server_str_name(server));
109 fo_get_server_port(server));
116 if (fo_is_srv_lookup(server)) {
122 srv_name = fo_get_server_name(server);
124 DEBUG(SSSDBG_CRIT_FAILURE, "Could not get server host name\n");
131 fo_get_server_port(server));
[all...]
H A Dsdap.h602 const char *server,
/sssd/src/providers/ad/
H A Dad_common.c352 char *server; local
382 /* Did we get an explicit server name, or are we discovering it? */
383 server = dp_opt_get_string(opts->basic, AD_SERVER);
384 if (!server) {
386 "No AD server set, will use service discovery!\n");
480 ad_resolve_callback(void *private_data, struct fo_server *server);
501 /* Split the server list */
504 DEBUG(SSSDBG_CRIT_FAILURE, "Failed to parse server list!\n");
521 "Failed to add server [%s] to failover service: "
581 DEBUG(SSSDBG_FATAL_FAILURE, "Failed to add server\
785 ad_resolve_callback(void *private_data, struct fo_server *server) argument
[all...]
/sssd/src/providers/krb5/
H A Dkrb5_common.c248 DEBUG(SSSDBG_CONF_SETTINGS, "No kpasswd server explicitly configured, "
345 "Set krb5 server [%s] based on legacy krb5_kdcip option\n",
391 errno_t write_krb5info_file(const char *realm, const char *server, argument
403 if (realm == NULL || *realm == '\0' || server == NULL || *server == '\0' ||
406 "Missing or empty realm, server or service.\n");
426 server_len = strlen(server);
456 written = sss_atomic_write_s(fd, discard_const(server), server_len);
507 static void krb5_resolve_callback(void *private_data, struct fo_server *server) argument
529 srvaddr = fo_get_server_hostent(server);
[all...]
H A Dkrb5_ccache.c531 mcred.server = tgt_princ;
615 mcred.server = server_princ;
/sssd/src/tests/cmocka/
H A Dtest_copy_ccache.c32 #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/src/providers/ipa/
H A Dipa_common.c48 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");
733 static void ipa_resolve_callback(void *private_data, struct fo_server *server) argument
758 srvaddr = fo_get_server_hostent(server);
761 "FATAL: No hostent available for server (%s)\n",
762 fo_get_server_str_name(server));
781 srv_name = fo_get_server_name(server);
783 DEBUG(SSSDBG_CRIT_FAILURE, "Could not get server hos
[all...]
H A Dipa_subdomains_server.c4 IPA Subdomains Module - server mode
76 /* Old server? Default to 2way trust */
348 const char *server,
361 const char *server,
379 if (server == NULL || principal == NULL || keytab == NULL) {
386 principal, server, keytab, ccache);
390 ipa_getkeytab_exec(ccache, server, principal, keytab);
431 const char *server,
469 "-r", "-s", server, "-p", principal, "-k", keytab_path, NULL,
519 DEBUG(SSSDBG_CRIT_FAILURE, "Timeout reached for retrieving keytab from IPA server\
358 ipa_getkeytab_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *ccache, const char *server, const char *principal, const char *keytab) argument
430 ipa_getkeytab_exec(const char *ccache, const char *server, const char *principal, const char *keytab_path) argument
[all...]
/sssd/src/util/
H A Dsss_krb5.c886 mcred.server = server_principal;
934 kerr = krb5_kt_get_entry(ctx, keytab, ticket->server,

Completed in 57 milliseconds

12