Searched refs:input (Results 1 - 22 of 22) sorted by relevance

/sssd/src/responder/common/cache_req/
H A Dcache_req_data.c28 struct cache_req_data *input)
49 if (input->name.input == NULL) {
55 data->name.input = talloc_strdup(data, input->name.input);
56 if (data->name.input == NULL) {
62 if (input->cert == NULL) {
68 data->cert = talloc_strdup(data, input->cert);
76 if (input
26 cache_req_data_create(TALLOC_CTX *mem_ctx, enum cache_req_type type, struct cache_req_data *input) argument
129 struct cache_req_data input = {0}; local
141 struct cache_req_data input = {0}; local
153 struct cache_req_data input = {0}; local
166 struct cache_req_data input = {0}; local
[all...]
H A Dcache_req_private.h34 /* Provided input. */
63 const char *input; /* Original input. */ member in struct:cache_req_data::__anon22
H A Dcache_req.c141 "Preparing input data for domain [%s] rules\n",
231 || cr->data->name.input == NULL
232 || strchr(cr->data->name.input, '@') == NULL) {
241 ret = cache_req_set_name(cr, cr->data->name.input);
248 cr->data->name.input);
254 /* input data */
333 if (cr->data->name.input == NULL) {
340 return cache_req_set_name(cr, cr->data->name.input);
345 "Parsing input name [%s]\n", cr->data->name.input);
[all...]
/sssd/src/tests/
H A Dstrtonum-tests.c71 const char *input = "123"; local
76 result = strtoint32(input, &endptr, 10);
88 const char *input = "-123"; local
93 result = strtoint32(input, &endptr, 10);
105 const char *input = "2147483647"; local
110 result = strtoint32(input, &endptr, 10);
122 const char *input = "-2147483648"; local
127 result = strtoint32(input, &endptr, 10);
139 const char *input = "8589934592"; local
144 result = strtoint32(input,
156 const char *input = "-8589934592"; local
173 const char *input = "12b13"; local
191 const char *input = "alpha"; local
209 const char *input = "alpha12345"; local
227 const char *input = ""; local
250 const char *input = "123"; local
267 const char *input = "-123"; local
284 const char *input = "4294967295"; local
302 const char *input = "8589934592"; local
319 const char *input = "12b13"; local
337 const char *input = "alpha"; local
355 const char *input = "alpha12345"; local
373 const char *input = ""; local
392 const char *input = "123"; local
409 const char *input = "-123"; local
426 const char *input = "65535"; local
444 const char *input = "131072"; local
461 const char *input = "12b13"; local
479 const char *input = "alpha"; local
497 const char *input = "alpha12345"; local
515 const char *input = ""; local
[all...]
H A Dutil-tests.c50 fail_unless(ret == EINVAL, "NULL input accepted");
776 const char *input; member in struct:split_data
797 "one,two,three", /* input string */
843 ret = split_on_separator(mem, sts[a].input, ',', sts[a].trim,
880 "192.168.100.1", /* input IPv4 address */
945 "fde9:7e3f:1ed3:24a5::4", /* input IPv6 address */
/sssd/src/tests/cmocka/
H A Dtest_sbus_opath.c124 static void check_opath_components(char **input, argument
129 assert_non_null(input);
132 for (i = 0; input[i] != NULL; i++) {
133 assert_non_null(input[i]);
135 assert_string_equal(input[i], expected[i]);
138 assert_null(input[i]);
142 static void check_opath_components_and_length(char **input, argument
148 check_opath_components(input, expected);
H A Dtest_string_utils.c32 const char *input; member in struct:__anon45
66 for (i=0; data_set[i].input != NULL; ++i) {
67 res = sss_replace_space(mem_ctx, data_set[i].input,
86 const char *input; member in struct:__anon46
124 for (i=0; data_set[i].input != NULL; ++i) {
125 input_str = discard_const_p(char, data_set[i].input);
H A Dtest_ifp.c221 static void attr_parse_test(const char *expected[], const char *input) argument
229 res = ifp_parse_user_attr_list(test_ctx, input);
243 static void attr_parse_test_ex(const char *expected[], const char *input, argument
252 res = parse_attr_list_ex(test_ctx, input, defaults);
H A Dtest_child_common.c223 const char *input);
379 const char *input)
390 echo_state->buf.data = (unsigned char *) talloc_strdup(echo_state, input);
392 echo_state->buf.size = strlen(input) + 1;
376 echo_child_write_send(TALLOC_CTX *mem_ctx, struct child_test_ctx *child_tctx, struct child_io_fds *io_fds, const char *input) argument
H A Dtest_dyndns.c329 } input[] = { local
340 will_return_getifaddrs("eth0", input[i].addr, input[i].af);
351 assert_int_equal(strcmp(input[i].addr, output[size - 1 - i]), 0);
/sssd/src/util/
H A Dsss_tc_utf8.c60 const char *input,
67 ret = sss_filter_sanitize(mem_ctx, input, sanitized);
59 sss_filter_sanitize_for_dom(TALLOC_CTX *mem_ctx, const char *input, struct sss_domain_info *dom, char **sanitized, char **lc_sanitized) argument
H A Dutil.h347 errno_t sss_user_by_name_or_uid(const char *input, uid_t *_uid, gid_t *_gid);
403 * Set the O_NONBLOCK flag for the input fd
412 * Returns NULL on out of memory error or invalid input
429 /* Sanitize an input string (e.g. a username) for use in
436 const char *input,
440 const char *input,
445 const char *input,
H A Dutil.c529 const char *input,
539 output = talloc_array(mem_ctx, char, strlen(input) * 3 + 1);
544 while (input[i]) {
551 allowed = strchr(ignore, input[i]);
554 output[j++] = input[i++];
558 switch(input[i]) {
590 output[j++] = input[i];
606 const char *input,
609 return sss_filter_sanitize_ex(mem_ctx, input, sanitized, NULL);
669 /* If the input i
528 sss_filter_sanitize_ex(TALLOC_CTX *mem_ctx, const char *input, char **sanitized, const char *ignore) argument
605 sss_filter_sanitize(TALLOC_CTX *mem_ctx, const char *input, char **sanitized) argument
[all...]
H A Dusertools.c478 /* This branch is taken when the input matches the configured
620 errno_t sss_user_by_name_or_uid(const char *input, uid_t *_uid, gid_t *_gid) argument
629 uid = strtouint32(input, &endptr, 10);
634 "UID [%s] is out of range.\n", input);
639 pwd = getpwnam(input);
647 "resolved by getpwnam().\n", input);
/sssd/src/sss_client/idmap/
H A Dsss_nss_idmap.c34 union input { union
141 static int sss_nss_getyyybyxxx(union input inp, enum sss_cli_command cmd ,
270 union input inp;
291 union input inp;
313 union input inp;
334 union input inp;
356 union input inp;
378 union input inp;
/sssd/src/responder/secrets/
H A Dsecsrv_private.h127 const char *input,
H A Dproviders.c369 const char *input,
377 root = json_loads(input, 0, &error);
368 sec_json_to_simple_secret(TALLOC_CTX *mem_ctx, const char *input, char **secret) argument
/sssd/src/tools/common/
H A Dsss_tools.h103 const char *input,
H A Dsss_tools.c536 const char *input,
546 tool_ctx->default_domain, input,
534 sss_tool_parse_name(TALLOC_CTX *mem_ctx, struct sss_tool_ctx *tool_ctx, const char *input, const char **_username, struct sss_domain_info **_domain) argument
/sssd/src/tools/
H A Dsss_override.c745 const char *input,
751 if (input == NULL) {
755 ret = sss_tool_parse_name(mem_ctx, tool_ctx, input, _name, &dom);
758 "fqn %s\n", input);
768 input, ret, sss_strerror(ret));
1499 struct override_user input = {NULL}; local
1511 ret = parse_cmdline_user_show(cmdline, tool_ctx, &input);
1517 ret = get_user_domain_msg(tool_ctx, &input);
1523 ret = get_object_dn(tmp_ctx, input.domain, SYSDB_MEMBER_USER,
1524 input
742 override_fqn(TALLOC_CTX *mem_ctx, struct sss_tool_ctx *tool_ctx, struct sss_domain_info *domain, const char *input, const char **_name) argument
1755 struct override_group input = {NULL}; local
[all...]
/sssd/src/db/
H A Dsysdb.c32 errno_t sysdb_dn_sanitize(TALLOC_CTX *mem_ctx, const char *input, argument
38 val.data = (uint8_t *)talloc_strdup(mem_ctx, input);
46 val.length = strlen(input);
H A Dsysdb.h1116 errno_t sysdb_dn_sanitize(TALLOC_CTX *mem_ctx, const char *input,

Completed in 1567 milliseconds