Searched defs:res (Results 1 - 25 of 76) sorted by relevance

1234

/sssd/src/tests/cmocka/
H A Dtest_sdap_access.c45 bool res; local
58 (void*)&res);
59 assert_false(res);
61 (void*)&res);
62 assert_false(res);
H A Dtest_sss_ssh.c42 char *res; local
78 ret = sss_ssh_format_pubkey(mem_ctx, &pkey, &res);
80 talloc_free(res);
82 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_LF, &res);
84 talloc_free(res);
86 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_LFLF, &res);
89 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_null_terminated, &res);
92 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_CRLF, &res);
95 ret = sss_ssh_format_pubkey(mem_ctx, &pkey_CR_somewhere, &res);
H A Dtest_string_utils.c28 const char *res; local
58 res = sss_replace_space(mem_ctx, input_str, '\0');
59 assert_string_equal(res, input_str);
60 talloc_zfree(res);
62 res = sss_replace_space(mem_ctx, input_str, '\0');
63 assert_string_equal(res, input_str);
64 talloc_zfree(res);
67 res = sss_replace_space(mem_ctx, data_set[i].input,
69 assert_non_null(res);
70 assert_string_equal(res, data_se
82 char *res; local
231 char **res; local
[all...]
/sssd/src/util/
H A Datomic_io.c28 ssize_t res; local
36 res = read(fd, b + pos, n - pos);
38 res = write(fd, b + pos, n - pos);
40 switch (res) {
55 pos += (size_t) res;
H A Dsss_nss.c34 char *res = NULL; local
200 res = talloc_move(mem_ctx, &result);
203 return res;
H A Dsss_ssh.c34 struct sss_ssh_ent *res = NULL; local
52 res = talloc_zero(tmp_ctx, struct sss_ssh_ent);
53 if (!res) {
58 res->name = talloc_strdup(res, name);
59 if (!res->name) {
66 res->num_pubkeys = el->num_values;
68 res->pubkeys = talloc_array(res, struct sss_ssh_pubkey,
69 res
[all...]
/sssd/src/responder/pam/
H A Dpamsrv_dp.c114 int res; local
121 res = sss_dp_get_domain_conn(preq->cctx->rctx,
123 if (res != EOK) {
158 res = sbus_conn_send(be_conn->conn, msg,
162 return res;
H A Dpam_LOCAL_domain.c55 struct ldb_result *res; member in struct:LOCAL_request
120 failedLoginAttempts = ldb_msg_find_attr_as_int(lreq->res->msgs[0],
148 disabled = ldb_msg_find_attr_as_string(lreq->res->msgs[0],
224 struct ldb_result *res; local
253 &res);
260 if (res->count < 1) {
266 } else if (res->count > 1) {
274 username = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL);
282 lreq->res = res;
[all...]
/sssd/src/tests/
H A Dleak_check.c133 bool res; local
134 res = check_leaks_pop(global_talloc_context);
135 if (!res) {
143 res = check_leaks(global_talloc_context, 0, __location__);
146 return res;
H A Dpysss_murmur-test.py89 res = unittest.TextTestRunner().run(suite) variable
90 if not res.wasSuccessful():
101 res = unittest.TextTestRunner().run(suite) variable
102 if not res.wasSuccessful():
/sssd/src/confdb/
H A Dconfdb_setup.c80 struct ldb_result *res; local
89 ret = ldb_search(cdb->ldb, tmp_ctx, &res, dn,
96 for(i=0; i<res->count; i++) {
98 ret = ldb_delete(cdb->ldb, res->msgs[i]->dn);
/sssd/src/providers/krb5/
H A Dkrb5_access.c53 struct ldb_result *res; local
100 &res);
107 switch (res->count) {
115 ret = find_or_guess_upn(state, res->msgs[0], krb5_ctx, be_ctx->domain,
122 state->kr->uid = ldb_msg_find_attr_as_uint64(res->msgs[0], SYSDB_UIDNUM,
131 state->kr->gid = ldb_msg_find_attr_as_uint64(res->msgs[0], SYSDB_GIDNUM,
H A Dkrb5_utils.c89 struct ldb_result *res; local
104 ret = sysdb_get_user_attr(tmp_ctx, domain, user, attrs, &res);
110 if (res->count != 1) {
112 "expected 1.\n", res->count, user);
117 cached_upn = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_UPN, NULL);
126 cached_canonical_upn = ldb_msg_find_attr_as_string(res->msgs[0],
165 ret = sysdb_set_entry_attr(sysdb, res->msgs[0]->dn, new_attrs,
237 char *res = NULL; local
444 res = talloc_move(mem_ctx, &result);
447 return res;
[all...]
/sssd/src/responder/common/
H A Dresponder_utils.c48 const char **res = NULL; local
148 res = talloc_steal(mem_ctx, list);
151 return res;
/sssd/src/db/
H A Dsysdb_idmap.c285 struct ldb_result *res; local
300 SSS_LDB_SEARCH(ret, domain->sysdb->ldb, tmp_ctx, &res, base_dn,
309 *_result = talloc_steal(mem_ctx, res);
H A Dsysdb_ranges.c49 struct ldb_result *res; local
73 ret = ldb_search(sysdb->ldb, tmp_ctx, &res,
81 list = talloc_zero_array(tmp_ctx, struct range_info *, res->count + 1);
87 for (c = 0; c < res->count; c++) {
93 tmp_str = ldb_msg_find_attr_as_string(res->msgs[c], SYSDB_NAME, NULL);
96 ldb_dn_get_linearized(res->msgs[c]->dn));
107 tmp_str = ldb_msg_find_attr_as_string(res->msgs[c], SYSDB_DOMAIN_ID,
117 ret = find_attr_as_uint32_t(res->msgs[c], SYSDB_BASE_ID,
124 ret = find_attr_as_uint32_t(res->msgs[c], SYSDB_ID_RANGE_SIZE,
131 ret = find_attr_as_uint32_t(res
[all...]
H A Dsysdb_gpo.c250 struct ldb_result *res; local
267 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn,
277 if (res->count > 1) {
282 } else if (res->count == 0) {
286 *_result = talloc_steal(mem_ctx, res);
309 struct ldb_result *res; local
326 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn,
336 if (res->count == 0) {
341 *_result = talloc_steal(mem_ctx, res);
543 struct ldb_result *res; local
597 struct ldb_result *res; local
640 struct ldb_result *res; local
[all...]
H A Dsysdb_services.c54 struct ldb_result *res = NULL; local
86 res = talloc_zero(mem_ctx, struct ldb_result);
87 if (!res) {
91 res->count = msgs_count;
92 res->msgs = talloc_steal(res, msgs);
95 *_res = res;
114 struct ldb_result *res = NULL; local
145 res = talloc_zero(mem_ctx, struct ldb_result);
146 if (!res) {
177 struct ldb_result *res = NULL; local
649 struct ldb_result *res; local
727 struct ldb_result *res = NULL; local
[all...]
/sssd/src/providers/data_provider/
H A Ddp_target_id.c98 struct ldb_result *res)
110 username = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL);
128 ctx->groups = talloc_array(mem_ctx, uint32_t, res->count);
136 for (ctx->gnum = 0, i = 0; i < res->count; i++) {
137 ctx->groups[ctx->gnum] = ldb_msg_find_attr_as_uint(res->msgs[i],
211 struct ldb_result *res; local
225 ret = sysdb_initgroups(sbus_req, domain, data->filter_value, &res);
226 if (ret == ENOENT || (ret == EOK && res->count == 0)) {
235 ctx = create_initgr_ctx(sbus_req, data->domain, res);
249 talloc_free(res);
96 create_initgr_ctx(TALLOC_CTX *mem_ctx, const char *domain, struct ldb_result *res) argument
[all...]
/sssd/src/responder/pac/
H A Dpacsrv_cmd.c230 struct ldb_result *res; local
233 ret = cache_req_object_by_sid_recv(pr_ctx, req, &res, &dom);
242 if (res->count != 1) {
245 res->count);
271 ret = sysdb_set_entry_attr(dom->sysdb, res->msgs[0]->dn, user_attrs,
/sssd/src/sss_client/ssh/
H A Dsss_ssh_client.c107 struct sss_ssh_ent *res = NULL; local
189 res = talloc_zero(tmp_ctx, struct sss_ssh_ent);
190 if (!res) {
196 res->pubkeys = talloc_zero_array(res, struct sss_ssh_pubkey, count);
197 if (!res->pubkeys) {
202 res->num_pubkeys = count;
224 if (!res->name) {
225 res->name = talloc_array(res, cha
[all...]
H A Dsss_ssh_knownhostsproxy.c50 ssize_t res; local
126 res = read(fds[i].fd, buffer, BUFFER_SIZE);
127 if (res == -1) {
135 } else if (res == 0) {
141 res = sss_atomic_write_s(i == 0 ? sock : 1, buffer, res);
143 if (res == -1) {
/sssd/src/config/
H A DSSSDConfigTest.py2005 res = unittest.TextTestRunner().run(suite) variable in class:SSSDConfigTestSSSDConfig
2006 if not res.wasSuccessful():
2010 res = unittest.TextTestRunner().run(suite) variable in class:SSSDConfigTestSSSDConfig
2011 if not res.wasSuccessful():
2015 res = unittest.TextTestRunner().run(suite) variable in class:SSSDConfigTestSSSDConfig
2016 if not res.wasSuccessful():
2020 res = unittest.TextTestRunner().run(suite) variable in class:SSSDConfigTestSSSDConfig
2021 if not res.wasSuccessful():
2025 res = unittest.TextTestRunner().run(suite) variable in class:SSSDConfigTestSSSDConfig
2026 if not res
[all...]
/sssd/src/providers/ldap/
H A Dsdap_async_netgroups.c173 struct ldb_message **res, bool *all_resolved)
189 dn = ldb_msg_find_attr_as_string(res[c], SYSDB_ORIG_DN, NULL);
197 cn = ldb_msg_find_attr_as_string(res[c], SYSDB_NAME, NULL);
172 update_dn_list(struct dn_item *dn_list, const size_t count, struct ldb_message **res, bool *all_resolved) argument
H A Dsdap_child_helpers.c228 uint32_t res; local
234 SAFEALIGN_COPY_UINT32_CHECK(&res, buf + p, size, &p);
258 *result = res;
416 int res; local
423 &res, &krberr, &ccn, &expire_time);
431 "Child responded: %d [%s], expired on [%ld]\n", res, ccn, (long)expire_time);
432 *result = res;

Completed in 3625 milliseconds

1234