Searched refs:path (Results 1 - 25 of 63) sorted by relevance

123

/sssd/src/responder/common/data_provider/
H A Drdp.h36 const char *path,
42 #define rdp_message_send(mem_ctx, rctx, domain, path, iface, \
44 _rdp_message_send(mem_ctx, rctx, domain, path, iface, method, \
66 const char *path,
72 #define rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, \
74 _rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, method, \
H A Drdp_message.c34 const char *path,
52 msg = dbus_message_new_method_call(NULL, path, iface, method);
66 DEBUG(SSSDBG_TRACE_FUNC, "DP Request: %s %s.%s\n", path, iface, method);
154 const char *path,
173 path, iface, method, first_arg_type, va);
237 const char *path,
249 path, iface, method, first_arg_type, va);
30 rdp_message_send_internal(struct resp_ctx *rctx, struct sss_domain_info *domain, DBusPendingCallNotifyFunction notify_fn, void *notify_fn_data, const char *path, const char *iface, const char *method, int first_arg_type, va_list va) argument
151 _rdp_message_send(TALLOC_CTX *mem_ctx, struct resp_ctx *rctx, struct sss_domain_info *domain, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument
234 _rdp_message_send_and_reply(struct sbus_request *sbus_req, struct resp_ctx *rctx, struct sss_domain_info *domain, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument
/sssd/src/tests/cmocka/
H A Dtest_sbus_opath.c30 #define BASE_PATH "/some/path"
35 const char *path = "/org/freedesktop/sssd/infopipe"; local
38 strip = sbus_opath_strip_prefix(path, prefix);
42 strip = sbus_opath_strip_prefix("/other/path", prefix);
104 char *path; local
107 path = sbus_opath_compose(NULL, BASE_PATH, "domname");
108 assert_non_null(path);
109 assert_string_equal(path, BASE_PATH "/domname");
110 talloc_free(path);
115 char *path; local
153 const char *path = "/object/path/parts"; local
168 const char *path = "/object/path/parts"; local
183 const char *path = "/object/path/parts"; local
198 const char *path = "/object/path/parts"; local
209 const char *path = "/object/redhat_2ecom"; local
224 const char *path = "/object/path/parts"; local
237 const char *path = "/object/path/parts"; local
247 const char *path = BASE_PATH "/redhat_2ecom"; local
[all...]
H A Dtest_io.c45 #define NON_EX_PATH TESTS_PATH"/non-existent-path"
47 /* Creates a unique temporary file inside TEST_DIR and returns its path*/
51 char *path; local
53 path = strdup(template);
54 assert_non_null(path);
56 ret = mkstemp(path);
59 fprintf(stderr, "mkstemp failed with path:'%s' [%s]\n",
60 path, strerror(err));
67 return path;
H A Dtest_tools_colondb.c37 static void create_dir(const char *path) argument
42 ret = mkdir(path, 0775);
46 static void create_empty_file(TALLOC_CTX *test_ctx, const char *path, argument
56 create_dir(path);
58 file_name = talloc_asprintf(tmp_ctx, "%s/%s", path, name);
69 const char *path, const char *name)
68 create_nonempty_file(TALLOC_CTX *test_ctx, const char *path, const char *name) argument
/sssd/src/sbus/
H A Dsssd_dbus_utils.h30 const char *path,
38 const char *path,
44 #define sbus_create_message(mem_ctx, bus, path, iface, method, ...) \
45 _sbus_create_message(mem_ctx, bus, path, iface, method, \
H A Dsssd_dbus_interface.c95 * Object paths that represent all objects under the path:
96 * /org/object/path/~* (without tilda)
98 static bool sbus_opath_is_subtree(const char *path) argument
102 len = strlen(path);
108 return path[len - 2] == '/' && path[len - 1] == '*';
112 * If the path represents a subtree object path, this function will
130 /* replace / only if it is not a root path (only slash) */
139 const char *path)
138 sbus_opath_parent_subtree(TALLOC_CTX *mem_ctx, const char *path) argument
320 char *path = NULL; local
365 const char *path; local
487 char *path; local
867 sbus_conn_register_path(struct sbus_connection *conn, const char *path) argument
992 sbus_conn_register_nodes(struct sbus_connection *conn, const char *path, sbus_nodes_fn nodes_fn, void *data) argument
1050 const char *path; local
[all...]
H A Dsssd_dbus.h94 const char *path,
132 const char *path; member in struct:sbus_interface
183 * Register a new interface to be available at given object path.
195 const char *path; member in struct:sbus_iface_map
205 const char *path,
297 const char *path; member in struct:sbus_request
437 const char *path; member in struct:sbus_incoming_signal
/sssd/src/responder/ifp/
H A Difp_iface_nodes.c29 nodes_ifp(TALLOC_CTX *mem_ctx, const char *path, void *data) argument
97 nodes_users(TALLOC_CTX *mem_ctx, const char *path, void *data) argument
104 nodes_groups(TALLOC_CTX *mem_ctx, const char *path, void *data) argument
111 nodes_domains(TALLOC_CTX *mem_ctx, const char *path, void *data) argument
150 const char *path; member in struct:nodes_map
166 for (i = 0; nodes_map[i].path != NULL; i++) {
167 sbus_conn_register_nodes(conn, nodes_map[i].path,
H A Difp_components.c79 const char *path,
87 if (confdb == NULL || path == NULL) {
91 if (strcmp(path, PATH_MONITOR) == 0) {
99 name = sbus_opath_get_object_name(mem_ctx, path, PATH_RESPONDERS);
103 name = sbus_opath_get_object_name(mem_ctx, path, PATH_BACKENDS);
479 dbus_req->path, &type, &name);
523 dbus_req->path, NULL, &name);
553 dbus_req->path, &type, &name);
609 dbus_req->path, &type, &name);
661 dbus_req->path,
77 check_and_get_component_from_path(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, const char *path, enum component_type *_type, char **_name) argument
[all...]
H A Difp_cache.c57 char *path = NULL; local
61 path = ifp_users_build_path_from_msg(mem_ctx, domain, msg);
64 path = ifp_groups_build_path_from_msg(mem_ctx, domain, msg);
68 return path;
/sssd/src/tests/intg/
H A Dsecrets.py49 path = unquote(urlparse(url).netloc)
50 return HTTPUnixConnectionPool(path)
72 path = self.url.rstrip('/') + '/'
74 path = path + resource.lstrip('/')
75 return path
84 def _request(self, cmd, path, **kwargs):
86 url = self._join_url(path)
95 def get(self, path, **kwargs):
96 return self._request(self.session.get, path, **kwarg
[all...]
H A Dutil.py65 if os.path.isdir(arg):
H A Dtest_local_domain.py63 for path in os.listdir(config.DB_PATH):
64 os.unlink(config.DB_PATH + "/" + path)
65 for path in os.listdir(config.MCACHE_PATH):
66 os.unlink(config.MCACHE_PATH + "/" + path)
H A Dsssd_ldb.py44 db_path = os.path.join(config.DB_PATH,
47 db_path = os.path.join(config.DB_PATH,
H A Dds_openldap.py274 while os.path.isfile(self.pid_path):
283 for path in (self.conf_slapd_d_dir, self.run_dir, self.data_dir):
284 shutil.rmtree(path, True)
H A Dtest_secrets.py46 resp_path = os.path.join(config.LIBEXEC_PATH, "sssd", "sssd_secrets")
53 sock_path = os.path.join(config.RUNSTATEDIR, "secrets.socket")
100 sock_path = os.path.join(config.RUNSTATEDIR, "secrets.socket")
/sssd/contrib/ci/
H A Dvalgrind-condense32 PATH_PATTERN An extended glob pattern matching the (original) path to
33 the program to execute under Valgrind. If the program path
36 path matches.
41 will be considered the path to the program to execute under Valgrind and will
46 where PROGRAM_NAME is the filename portion of the program path and PID is the
47 executed process ID. If the last directory of the program path is ".libs" and
75 # Extract path patterns
98 echo "Program path not specified." >&2
104 # Match against path patterns, if any
118 # Generate original path fro
[all...]
/sssd/src/tests/
H A Dpysss_murmur-test.py35 self.system_path = sys.path[:]
36 sys.path = [ MODPATH ]
41 " Restore the system path "
42 sys.path = self.system_path
54 src_module_path = os.path.abspath(src_module_path)
97 sys.path.insert(0, MODPATH)
/sssd/src/tools/sssctl/
H A Dsssctl.h63 const char *path,
69 #define sssctl_sifp_send(mem_ctx, sifp, reply, path, iface, method, ...) \
70 _sssctl_sifp_send(mem_ctx, sifp, reply, path, iface, method, \
H A Dsssctl_domains.c280 const char *path; local
308 path = sbus_opath_compose(tool_ctx, IFP_PATH_DOMAINS, opts.domain);
309 if (path == NULL) {
325 ret = sssctl_domain_status_online(tool_ctx, sifp, path);
335 ret = sssctl_domain_status_active_server(tool_ctx, sifp, path);
345 ret = sssctl_domain_status_server_list(tool_ctx, sifp, path);
H A Dsssctl_sifp.c125 const char *path,
137 msg = sss_sifp_create_message(path, iface, method);
122 _sssctl_sifp_send(TALLOC_CTX *mem_ctx, sss_sifp_ctx *sifp, DBusMessage **_reply, const char *path, const char *iface, const char *method, int first_arg_type, ...) argument
/sssd/src/lib/sifp/
H A Dsss_sifp_common.c32 const char *path,
48 ret = sss_sifp_invoke_find_ex(ctx, path, iface_find, method, &object_path,
71 const char *path,
78 return sss_sifp_fetch_object_by_attr(ctx, path, iface_find, iface_object,
31 sss_sifp_fetch_object_by_attr(sss_sifp_ctx *ctx, const char *path, const char *iface_find, const char *iface_object, const char *method, int attr_type, const void *attr, sss_sifp_object **_object) argument
70 sss_sifp_fetch_object_by_name(sss_sifp_ctx *ctx, const char *path, const char *iface_find, const char *iface_object, const char *method, const char *name, sss_sifp_object **_object) argument
/sssd/src/util/
H A Ddomain_info_utils.c696 static errno_t sss_write_krb5_localauth_snippet(const char *path) argument
709 file_name = talloc_asprintf(tmp_ctx, "%s/localauth_plugin", path);
740 static errno_t sss_write_krb5_libdefaults_snippet(const char *path) argument
752 file_name = talloc_asprintf(tmp_ctx, "%s/krb5_libdefaults", path);
774 errno_t sss_write_krb5_conf_snippet(const char *path, bool canonicalize) argument
779 if (path != NULL && (*path == '\0' || strcasecmp(path, "none") == 0)) {
780 DEBUG(SSSDBG_TRACE_FUNC, "Empty path, nothing to do.\n");
784 if (path
[all...]
H A Dfind_uid.c65 char path[PATHLEN]; local
75 ret = snprintf(path, PATHLEN, "/proc/%d/status", pid);
80 DEBUG(SSSDBG_CRIT_FAILURE, "path too long?!?!\n");
84 fd = open(path, O_RDONLY);
90 path);
104 path);

Completed in 33 milliseconds

123