Searched defs:result (Results 1 - 25 of 78) sorted by relevance

1234

/sssd/src/lib/sifp/
H A Dsss_sifp_utils.c49 char *result = NULL; local
57 result = _alloc_zero(ctx, char, str_len + 1);
58 if (result == NULL) {
62 strncpy(result, str, str_len);
64 return result;
69 char *result = NULL; local
81 result = _alloc_zero(ctx, char, len);
82 if (result == NULL) {
86 strcat(result, str1);
87 strcat(result, str
[all...]
/sssd/src/sss_client/libwbclient/
H A Dwbc_guid.c31 char *result; local
33 result = (char *)wbcAllocateMemory(37, 1, NULL);
34 if (result == NULL) {
37 snprintf(result, 37,
46 *guid_string = result;
H A Dwbc_sid_common.c34 * result if it was long enough. */
74 char *result; local
87 result = (char *)wbcAllocateMemory(len+1, 1, NULL);
88 if (result == NULL) {
91 memcpy(result, buf, len+1);
93 *sid_string = result;
H A Dwbclient_common.c79 size_t result = sizeof(struct wbcMemPrefix); local
80 return (result + 15) & ~15;
91 struct wbcMemPrefix *result; local
98 result = (struct wbcMemPrefix *)calloc(
100 if (result == NULL) {
103 result->magic = WBC_MAGIC;
104 result->destructor = destructor;
105 return ((char *)result) + wbcPrefixLen();
133 char *result; local
137 result
[all...]
/sssd/src/tests/cmocka/
H A Dtest_find_uid.c41 bool result; local
45 ret = check_if_uid_is_active(uid, &result);
47 assert_true(result);
54 bool result; local
58 ret = check_if_uid_is_active(uid, &result);
60 assert_true(!result);
/sssd/src/tests/
H A Dfind_uid-tests.c38 bool result; local
43 ret = check_if_uid_is_active(uid, &result);
45 fail_unless(result, "check_if_uid_is_active did not found my uid [%d]",
53 bool result; local
58 ret = check_if_uid_is_active(uid, &result);
60 fail_unless(!result, "check_if_uid_is_active found (hopefully not active) "
/sssd/src/util/
H A Dsss_nss.c33 char *result = NULL; local
58 result = talloc_strdup(tmp_ctx, "");
59 if (result == NULL) {
87 result = talloc_asprintf_append(result, "%s%s", p, username);
97 result = talloc_asprintf_append(result, "%s%d", p,
108 result = talloc_asprintf_append(result, "%s%s", p,
126 result
[all...]
H A Dsss_ssh.c31 struct sss_ssh_ent **result)
105 *result = talloc_steal(mem_ctx, res);
117 char **result)
141 *result = algo;
148 char **result)
208 *result = out;
29 sss_ssh_make_ent(TALLOC_CTX *mem_ctx, struct ldb_message *msg, struct sss_ssh_ent **result) argument
115 sss_ssh_get_pubkey_algorithm(TALLOC_CTX *mem_ctx, struct sss_ssh_pubkey *pubkey, char **result) argument
146 sss_ssh_format_pubkey(TALLOC_CTX *mem_ctx, struct sss_ssh_pubkey *pubkey, char **result) argument
/sssd/src/responder/common/cache_req/plugins/
H A Dcache_req_initgroups_by_upn.c94 struct ldb_result *result,
92 cache_req_initgroups_by_upn_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_user_by_upn.c93 struct ldb_result *result,
91 cache_req_user_by_upn_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_group_by_filter.c105 struct ldb_result *result,
103 cache_req_group_by_filter_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_group_by_id.c65 struct ldb_result *result,
81 if (result == NULL || result->count == 0) {
91 id = ldb_msg_find_attr_as_uint64(result->msgs[0], SYSDB_GIDNUM, 0);
63 cache_req_group_by_id_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_group_by_name.c115 struct ldb_result *result,
131 if (result == NULL || result->count == 0) {
141 name = ldb_msg_find_attr_as_string(result->msgs[0], SYSDB_NAME, NULL);
113 cache_req_group_by_name_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_initgroups_by_name.c115 struct ldb_result *result,
133 if (result == NULL || result->count == 0) {
113 cache_req_initgroups_by_name_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_object_by_sid.c66 struct ldb_result *result,
64 cache_req_object_by_sid_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_user_by_cert.c69 struct ldb_result *result,
67 cache_req_user_by_cert_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_user_by_filter.c105 struct ldb_result *result,
103 cache_req_user_by_filter_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_user_by_id.c65 struct ldb_result *result,
81 if (result == NULL || result->count == 0) {
91 id = ldb_msg_find_attr_as_uint64(result->msgs[0], SYSDB_UIDNUM, 0);
63 cache_req_user_by_id_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
H A Dcache_req_user_by_name.c115 struct ldb_result *result,
131 if (result == NULL || result->count == 0) {
141 name = ldb_msg_find_attr_as_string(result->msgs[0], SYSDB_NAME, NULL);
113 cache_req_user_by_name_dpreq_params(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct ldb_result *result, const char **_string, uint32_t *_id, const char **_flag) argument
/sssd/src/responder/ssh/
H A Dsshsrv_private.h49 struct ldb_message *result; member in struct:ssh_cmd_ctx
/sssd/src/providers/proxy/
H A Dproxy_netgroup.c135 struct __netgrent result; local
142 memset(&result, 0, sizeof(result));
143 status = ctx->ops.setnetgrent(name, &result);
166 status = ctx->ops.getnetgrent_r(&result, buffer, BUFLEN, &ret);
178 ret = make_netgroup_attr(result, attrs);
186 status = ctx->ops.endnetgrent(&result);
/sssd/src/sss_client/sudo_testcli/
H A Dsudo_testcli.c37 void print_sss_result(struct sss_sudo_result *result);
42 struct sss_sudo_result *result = NULL; local
71 &domainname, &result);
85 print_sss_result(result);
88 sss_sudo_free_result(result);
89 result = NULL;
93 ret = sss_sudo_send_recv(uid, username, domainname, &error, &result);
102 print_sss_result(result);
107 sss_sudo_free_result(result);
112 sss_sudo_free_result(result);
116 print_sss_result(struct sss_sudo_result *result) argument
[all...]
/sssd/src/sss_client/
H A Dnss_mc_group.c36 struct group *result,
47 /* additional checks before filling result*/
68 result->gr_gid = data->gid;
76 result->gr_mem = DISCARD_ALIGN(buffer, char **);
77 result->gr_mem[data->members] = NULL;
80 ret = sss_nss_str_ptr_from_buffer(&result->gr_name, &cookie,
85 ret = sss_nss_str_ptr_from_buffer(&result->gr_passwd, &cookie,
92 ret = sss_nss_str_ptr_from_buffer(&result->gr_mem[i], &cookie,
106 struct group *result,
177 ret = sss_nss_mc_parse_result(rec, result, buffe
35 sss_nss_mc_parse_result(struct sss_mc_rec *rec, struct group *result, char *buffer, size_t buflen) argument
105 sss_nss_mc_getgrnam(const char *name, size_t name_len, struct group *result, char *buffer, size_t buflen) argument
185 sss_nss_mc_getgrgid(gid_t gid, struct group *result, char *buffer, size_t buflen) argument
[all...]
H A Dnss_mc_passwd.c35 struct passwd *result,
43 /* additional checks before filling result*/
62 result->pw_uid = data->uid;
63 result->pw_gid = data->gid;
66 ret = sss_nss_str_ptr_from_buffer(&result->pw_name, &cookie,
71 ret = sss_nss_str_ptr_from_buffer(&result->pw_passwd, &cookie,
76 ret = sss_nss_str_ptr_from_buffer(&result->pw_gecos, &cookie,
81 ret = sss_nss_str_ptr_from_buffer(&result->pw_dir, &cookie,
86 ret = sss_nss_str_ptr_from_buffer(&result->pw_shell, &cookie,
99 struct passwd *result,
34 sss_nss_mc_parse_result(struct sss_mc_rec *rec, struct passwd *result, char *buffer, size_t buflen) argument
98 sss_nss_mc_getpwnam(const char *name, size_t name_len, struct passwd *result, char *buffer, size_t buflen) argument
178 sss_nss_mc_getpwuid(uid_t uid, struct passwd *result, char *buffer, size_t buflen) argument
[all...]
/sssd/src/sss_client/sudo/
H A Dsss_sudo_response.c58 struct sss_sudo_result *result = NULL; local
83 /* result */
84 result = malloc(sizeof(struct sss_sudo_result));
85 if (result == NULL) {
89 memset(result, 0, sizeof(struct sss_sudo_result));
93 &cursor, &result->num_rules);
99 result->rules = calloc(result->num_rules, sizeof(struct sss_sudo_rule));
100 if (result->rules == NULL) {
105 for (i = 0; i < result
[all...]

Completed in 420 milliseconds

1234