Searched defs:err (Results 1 - 25 of 51) sorted by relevance

123

/sssd/src/tests/
H A Dcommon_tev.c55 test_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, errno_t err) argument
63 if (err == EOK) {
66 tevent_req_error(req, err);
/sssd/src/lib/winbind_idmap_sss/
H A Dwinbind_idmap_sss.c40 enum idmap_error_code err; local
51 err = sss_idmap_init(sss_idmap_talloc, ctx, sss_idmap_talloc_free,
53 if (err != IDMAP_SUCCESS) {
71 enum idmap_error_code err; local
111 err = sss_idmap_sid_to_smb_sid(ctx->idmap_ctx, sid_str, &sid);
113 if (err != IDMAP_SUCCESS) {
133 enum idmap_error_code err; local
151 err = sss_idmap_smb_sid_to_sid(ctx->idmap_ctx, map[c]->sid, &sid_str);
152 if (err != IDMAP_SUCCESS) {
/sssd/src/responder/pac/
H A Dpacsrv.c99 enum idmap_error_code err; local
163 err = sss_idmap_init(sss_idmap_talloc, pac_ctx, sss_idmap_talloc_free,
165 if (err != IDMAP_SUCCESS) {
H A Dpacsrv_cmd.c83 enum idmap_error_code err; local
120 err = sss_idmap_smb_sid_to_sid(pr_ctx->pac_ctx->idmap_ctx,
123 if (err != IDMAP_SUCCESS) {
/sssd/src/tests/cmocka/
H A Dtest_io.c58 int err = errno; local
60 path, strerror(err));
125 int err = errno; local
127 TESTS_PATH, strerror(err));
H A Dtest_search_bases.c50 errno_t err; local
57 err = sdap_create_search_base(mem_ctx, dns[i], LDAP_SCOPE_SUBTREE,
59 if (err != EOK) {
62 assert_int_equal(err, EOK);
H A Dtest_negcache.c74 enum idmap_error_code err; local
83 err = sss_idmap_init(sss_idmap_talloc, nctx, sss_idmap_talloc_free,
85 if (err != IDMAP_SUCCESS) {
H A Dtest_ad_gpo.c276 enum idmap_error_code err; local
285 err = sss_idmap_init(sss_idmap_talloc, tmp_ctx, sss_idmap_talloc_free,
287 assert_int_equal(err, IDMAP_SUCCESS);
H A Dtest_sss_idmap.c67 enum idmap_error_code err; local
79 err = sss_idmap_init(idmap_talloc, test_ctx->mem_idmap, idmap_free,
81 assert_int_equal(err, IDMAP_SUCCESS);
91 enum idmap_error_code err; local
110 err = sss_idmap_add_auto_domain_ex(test_ctx->idmap_ctx, name, sid,
114 err = sss_idmap_add_domain_ex(test_ctx->idmap_ctx, name, sid, &range,
117 assert_int_equal(err, IDMAP_SUCCESS);
123 err = sss_idmap_add_auto_domain_ex(test_ctx->idmap_ctx, name, sid,
127 err = sss_idmap_add_domain_ex(test_ctx->idmap_ctx, name, sid, &range,
130 assert_int_equal(err, IDMAP_SUCCES
138 enum idmap_error_code err; local
249 enum idmap_error_code err; local
313 enum idmap_error_code err; local
361 enum idmap_error_code err; local
406 enum idmap_error_code err; local
448 enum idmap_error_code err; local
484 enum idmap_error_code err; local
515 enum idmap_error_code err; local
554 enum idmap_error_code err; local
591 enum idmap_error_code err; local
[all...]
/sssd/src/lib/cifs_idmap_sss/
H A Dcifs_idmap_sss.c61 enum idmap_error_code err; local
74 err = sss_idmap_init(NULL, NULL, NULL, &ctx->idmap);
75 if (err != IDMAP_SUCCESS) {
76 ctx_set_error(ctx, idmap_error_string(err));
108 int err; local
120 err = sss_nss_getnamebysid(sid, name, &id_type);
121 if (err != 0) {
122 ctx_set_error(ctx, strerror(err));
124 return -err;
138 enum idmap_error_code err; local
164 int err; local
218 int err; local
254 enum idmap_error_code err; local
294 int err, success = -1; local
[all...]
/sssd/src/providers/ipa/
H A Dipa_idmap.c36 enum idmap_error_code err; local
47 err = sss_idmap_domain_has_algorithmic_mapping(idmap_ctx->map, dom_sid_str,
49 if (err == IDMAP_SUCCESS) {
55 err = sss_idmap_domain_by_name_has_algorithmic_mapping(idmap_ctx->map,
58 if (err == IDMAP_SUCCESS) {
68 if (err != IDMAP_SID_UNKNOWN && err != IDMAP_NAME_UNKNOWN) {
131 err = sss_idmap_add_domain_ex(idmap_ctx->map, dom_name, dom_sid_str,
133 if (err != IDMAP_SUCCESS && err !
227 enum idmap_error_code err; local
303 enum idmap_error_code err; local
[all...]
/sssd/src/util/
H A Dfind_uid.c213 int ret, err; local
285 err = closedir(proc_dir);
286 if (err) {
H A Dsss_ldap.c28 const char* sss_ldap_err2string(int err) argument
30 if (IS_SSSD_ERROR(err)) {
31 return sss_strerror(err);
33 return ldap_err2string(err);
/sssd/src/tools/
H A Dsss_debuglevel.c161 int err; local
196 err = errno;
198 config_file, strerror(err));
/sssd/src/providers/ad/
H A Dad_domain_info.c277 enum idmap_error_code err; local
314 err = sss_idmap_bin_sid_to_sid(state->opts->idmap_ctx->map,
318 if (err != IDMAP_SUCCESS) {
320 "Could not convert SID: [%s].\n", idmap_error_string(err));
H A Dad_pac.c164 enum idmap_error_code err; local
203 err = sss_idmap_smb_sid_to_sid(idmap_ctx, info3->base.domain_sid,
205 if (err != IDMAP_SUCCESS) {
293 err = sss_idmap_smb_sid_to_sid(idmap_ctx, info3->sids[s].sid,
295 if (err != IDMAP_SUCCESS) {
434 const char *err; member in struct:ad_handle_pac_initgr_state
479 state->err = NULL;
648 *_err = state->err;
/sssd/src/providers/ldap/
H A Dsdap_idmap.c86 enum idmap_error_code err; local
97 err = sss_idmap_add_auto_domain_ex(idmap_ctx->map,
101 if (err != IDMAP_SUCCESS) {
104 id_ctx->be->domain->name, err);
136 enum idmap_error_code err; local
191 err = sss_idmap_init(sss_idmap_talloc, idmap_ctx,
194 if (err != IDMAP_SUCCESS) {
197 idmap_error_string(err));
198 if (err == IDMAP_OUT_OF_MEMORY) {
206 err
342 enum idmap_error_code err; local
462 enum idmap_error_code err; local
538 enum idmap_error_code err; local
[all...]
/sssd/src/responder/common/
H A Dresponder_cmd.c28 int sss_cmd_send_error(struct cli_ctx *cctx, int err) argument
45 sss_packet_set_error(pctx->creq->out, err);
226 void setent_notify(struct setent_req_list **list, errno_t err) argument
235 if (err == EOK) {
238 tevent_req_error(reql->req, err);
H A Dresponder_dp.c174 int err = EOK; local
189 err = EIO;
205 err = EIO;
218 err = ETIME;
234 err = EIO;
241 return err;
/sssd/src/responder/ifp/
H A Difpsrv_util.c87 int ifp_req_create_handle_failure(struct sbus_request *dbus_req, errno_t err) argument
89 if (err == EACCES) {
/sssd/src/responder/nss/
H A Dnsssrv.c384 enum idmap_error_code err; local
438 err = sss_idmap_init(sss_idmap_talloc, nctx, sss_idmap_talloc_free,
440 if (err != IDMAP_SUCCESS) {
/sssd/src/responder/secrets/
H A Dproviders.c335 enum sec_http_status_codes sec_errno_to_http_status(errno_t err) argument
337 DEBUG(SSSDBG_TRACE_LIBS, "Request errno: %d\n", err);
339 switch (err) {
/sssd/src/lib/idmap/
H A Dsss_idmap_conv.c49 enum idmap_error_code err; local
77 err = IDMAP_SID_INVALID;
96 err = IDMAP_SUCCESS;
99 if (err != IDMAP_SUCCESS) {
102 return err;
110 enum idmap_error_code err; local
143 err = IDMAP_SID_INVALID;
153 err = IDMAP_SUCCESS;
155 if (err != IDMAP_SUCCESS) {
158 return err;
165 enum idmap_error_code err; local
229 enum idmap_error_code err; local
334 enum idmap_error_code err; local
367 enum idmap_error_code err; local
397 enum idmap_error_code err; local
427 enum idmap_error_code err; local
512 enum idmap_error_code err; local
543 enum idmap_error_code err; local
[all...]
/sssd/src/sss_client/libwbclient/
H A Dwbc_sid_sssd.c176 wbcErr err; local
194 err = WBC_ERR_NO_MEMORY;
200 err = WBC_ERR_NO_MEMORY;
207 err = wbcLookupSid(&obj_sid, &domain, &name, &type);
208 if (err != WBC_ERR_SUCCESS) {
215 err = WBC_ERR_NO_MEMORY;
230 err = WBC_ERR_SUCCESS;
233 if (err != WBC_ERR_SUCCESS) {
238 return err;
/sssd/src/sss_client/nfs/
H A Dsss_nfs_client.c266 int err = 0; local
274 req_rc = sss_nss_make_request(cmd, &rd, rep, rep_len, &err);
281 IDMAP_LOG(0, ("no-make-request; err=%i", err));

Completed in 4969 milliseconds

123