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

/sssd-io/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 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);
H A Dutil.c440 const char *input,
450 output = talloc_array(mem_ctx, char, strlen(input) * 3 + 1);
455 while (input[i]) {
462 allowed = strchr(ignore, input[i]);
465 output[j++] = input[i++];
469 switch(input[i]) {
511 output[j++] = input[i];
527 const char *input,
530 return sss_filter_sanitize_ex(mem_ctx, input, sanitized, NULL);
590 /* If the input i
439 sss_filter_sanitize_ex(TALLOC_CTX *mem_ctx, const char *input, char **sanitized, const char *ignore) argument
526 sss_filter_sanitize(TALLOC_CTX *mem_ctx, const char *input, char **sanitized) argument
[all...]
/sssd-io/src/tests/cmocka/
H A Dtest_string_utils.c32 const char *input; member in struct:__anon54
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:__anon55
124 for (i=0; data_set[i].input != NULL; ++i) {
125 input_str = discard_const_p(char, data_set[i].input);
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_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_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_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);
H A Dtest_nss_srv.c230 /* Mock input from the client library */
231 static void mock_input_user_or_group(const char *input) argument
238 copy = talloc_strdup(nss_test_ctx, input);
243 shortname = input;
252 will_return(__wrap_sss_packet_get_body, input);
258 static void mock_input_user_or_group_ex(bool do_parse_inp, const char *input, argument
268 len = strlen(input);
272 memcpy(data, input, len);
280 copy = talloc_strdup(nss_test_ctx, input);
285 shortname = input;
[all...]
/sssd-io/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.c51 fail_unless(ret == EINVAL, "NULL input accepted");
795 const char *input; member in struct:split_data
816 "one,two,three", /* input string */
862 ret = split_on_separator(mem, sts[a].input, ',', sts[a].trim,
899 "192.168.100.1", /* input IPv4 address */
964 "fde9:7e3f:1ed3:24a5::4", /* input IPv6 address */
/sssd-io/src/responder/common/cache_req/
H A Dcache_req_data.c72 struct cache_req_data *input)
96 if (input->name.input == NULL) {
102 data->name.input = talloc_strdup(data, input->name.input);
103 if (data->name.input == NULL) {
109 if (input->cert == NULL) {
115 data->cert = talloc_strdup(data, input->cert);
124 data->id = input
70 cache_req_data_create(TALLOC_CTX *mem_ctx, enum cache_req_type type, struct cache_req_data *input) argument
242 struct cache_req_data input = {0}; local
255 struct cache_req_data input = { 0 }; local
268 struct cache_req_data input = {0}; local
281 struct cache_req_data input = { 0 }; local
294 struct cache_req_data input = {0}; local
307 struct cache_req_data input = {0}; local
319 struct cache_req_data input = { 0 }; local
331 struct cache_req_data input = { 0 }; local
348 struct cache_req_data input = {0}; local
[all...]
H A Dcache_req_private.h33 /* Provided input. */
59 * Structure to hold the input strings that
63 const char *input; /* Original input. */ member in struct:cache_req_parsed_name
69 * Structure to hold the input strings that cannot contain domain
/sssd-io/src/sss_client/idmap/
H A Dsss_nss_ex.c50 } input; member in struct:nss_input
65 return sss_nss_mc_getpwnam(inp->input.name, strlen(inp->input.name),
72 return sss_nss_mc_getpwuid(inp->input.uid,
79 return sss_nss_mc_getgrnam(inp->input.name, strlen(inp->input.name),
86 return sss_nss_mc_getgrgid(inp->input.gid,
93 return sss_nss_mc_initgroups_dyn(inp->input.name,
94 strlen(inp->input.name),
364 .input
[all...]
H A Dsss_nss_idmap.c38 union input { union
204 static int sss_nss_getyyybyxxx(union input inp, enum sss_cli_command cmd,
366 union input inp;
394 union input inp;
421 union input inp;
449 union input inp;
477 union input inp;
505 union input inp;
533 union input inp;
/sssd-io/src/responder/secrets/
H A Dproviders.c508 const char *input,
516 root = json_loads(input, 0, &error);
507 sec_json_to_simple_secret(TALLOC_CTX *mem_ctx, const char *input, char **secret) argument
/sssd-io/src/tools/common/
H A Dsss_tools.c538 const char *input,
548 tool_ctx->default_domain, input,
536 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-io/src/responder/kcm/
H A Dkcmsrv_ccache_json.c543 static errno_t sec_value_to_json(const char *input, argument
550 root = json_loads(input, 0, &error);
H A Dkcmsrv_ops.c43 struct sss_iobuf *input; member in struct:kcm_op_ctx
90 struct kcm_data *input,
111 DEBUG(SSSDBG_TRACE_LIBS, "%zu bytes on KCM input\n", input->length);
140 state->op_ctx->input = sss_iobuf_init_readonly(state->op_ctx,
141 input->data,
142 input->length);
143 if (state->op_ctx->input == NULL) {
390 ret = sss_iobuf_read_stringz(op_ctx->input, &state->name);
393 "Cannot read input nam
85 kcm_cmd_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ops_queue_ctx *qctx, struct kcm_resp_ctx *kcm_data, struct cli_creds *client, struct kcm_data *input, struct kcm_op *op) argument
[all...]
/sssd-io/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-io/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);
/sssd-io/src/providers/ipa/
H A Dipa_s2n_exop.c335 DEBUG(SSSDBG_OP_FAILURE, "Unexpected input type [%d].\n",
351 DEBUG(SSSDBG_OP_FAILURE, "Unexpected input type [%d].\n",
362 DEBUG(SSSDBG_OP_FAILURE, "Unexpected input type [%d].\n",
373 DEBUG(SSSDBG_OP_FAILURE, "Unexpected input type [%d].\n",
1240 DEBUG(SSSDBG_OP_FAILURE, "Unexpected input type [%d].\n",
1453 const char *input; local
1499 input = ipa_s2n_reqinp2str(state, req_input);
1503 input);
1504 talloc_zfree(input);

Completed in 1028 milliseconds