Searched defs:server (Results 1 - 16 of 16) sorted by relevance

/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/sbus/
H A Dsssd_dbus_private.h30 DBusServer *server; member in union:dbus_conn_pointer
61 /* server related stuff */
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...]
/sssd/src/tests/
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 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 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 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/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/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/
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...]
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...]
/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...]
/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.c248 /* split server parm into a list */
252 DEBUG(SSSDBG_OP_FAILURE, "Failed to parse server list!\n");
1260 const char *server,
1284 so->server_id = talloc_strdup(so, server);
1395 "No known USN scheme is supported by this server!\n");
1259 sdap_get_server_opts_from_rootdse(TALLOC_CTX *memctx, const char *server, struct sysdb_attrs *rootdse, struct sdap_options *opts, struct sdap_server_opts **srv_opts) argument

Completed in 134 milliseconds