Searched defs:kerr (Results 1 - 12 of 12) sorted by relevance

/sssd/src/krb5_plugin/
H A Dsssd_krb5_localauth_plugin.c40 krb5_error_code kerr; local
50 kerr = krb5_unparse_name(context, aname, &princ_str);
51 if (kerr != 0) {
52 ret = kerr;
114 krb5_error_code kerr; local
124 kerr = krb5_unparse_name(context, aname, &princ_str);
125 if (kerr != 0) {
126 return kerr;
/sssd/src/tests/cmocka/
H A Dcommon_mock_krb5.c33 krb5_error_code kerr; local
37 kerr = krb5_kt_resolve(kctx, kt_path, &keytab);
38 assert_int_equal(kerr, 0);
41 kerr = krb5_kt_add_entry(kctx, keytab, &kt_keys[n]);
42 assert_int_equal(kerr, 0);
45 kerr = krb5_kt_close(kctx, keytab);
46 assert_int_equal(kerr, 0);
76 krb5_error_code kerr; local
81 kerr = krb5_init_context(&kctx);
82 assert_int_equal(kerr,
[all...]
H A Dtest_copy_keytab.c45 krb5_error_code kerr; local
56 kerr = krb5_init_context(&test_ctx->kctx);
57 assert_int_equal(kerr, 0);
61 kerr = krb5_parse_name(test_ctx->kctx, KEYTAB_TEST_PRINC,
63 assert_int_equal(kerr, 0);
72 kerr = mock_keytab(test_ctx->kctx, test_ctx->keytab_file_name, keys, nkeys);
73 assert_int_equal(kerr, 0);
105 krb5_error_code kerr; local
114 kerr = copy_keytab_into_memory(test_ctx, test_ctx->kctx,
117 assert_int_equal(kerr,
158 krb5_error_code kerr; local
202 krb5_error_code kerr; local
[all...]
H A Dtest_copy_ccache.c45 krb5_error_code kerr; local
63 kerr = krb5_init_context(&test_ctx->kctx);
64 assert_int_equal(kerr, 0);
73 kerr = krb5_parse_name(test_ctx->kctx, CCACHE_TEST_CLIENT_PRINC,
75 assert_int_equal(kerr, 0);
77 kerr = krb5_parse_name(test_ctx->kctx, CCACHE_TEST_SERVER_PRINC,
79 assert_int_equal(kerr, 0);
117 kerr = krb5_cc_resolve(test_ctx->kctx, test_ctx->ccache_file_name,
119 assert_int_equal(kerr, 0);
121 kerr
159 krb5_error_code kerr; local
[all...]
/sssd/src/providers/krb5/
H A Dkrb5_keytab.c32 krb5_error_code kerr; local
38 kerr = krb5_kt_start_seq_get(kctx, s_keytab, &cursor);
39 if (kerr != 0) {
41 return kerr;
47 kerr = krb5_kt_add_entry(kctx, d_keytab, &entry);
48 if (kerr != 0) {
56 return kerr;
59 kerr = sss_krb5_free_keytab_entry_contents(kctx, &entry);
60 if (kerr != 0) {
68 return kerr;
93 krb5_error_code kerr; local
[all...]
H A Dkrb5_ccache.c288 krb5_error_code kerr; local
302 kerr = krb5_init_context(&cc->context);
303 if (kerr) {
308 kerr = krb5_cc_resolve(cc->context, ccname, &cc->ccache);
309 if (kerr == KRB5_FCC_NOFILE || cc->ccache == NULL) {
313 } else if (kerr != 0) {
314 KRB5_DEBUG(SSSDBG_OP_FAILURE, cc->context, kerr);
333 krb5_error_code kerr; local
336 kerr = krb5_cc_destroy(cc->context, cc->ccache);
337 if (kerr) {
388 krb5_error_code kerr; local
483 krb5_error_code kerr; local
557 krb5_error_code kerr; local
685 krb5_error_code kerr; local
[all...]
H A Dkrb5_child.c103 krb5_error_code kerr; local
113 kerr = krb5_string_to_deltat(cli_opts->rtime, &lifetime);
114 if (kerr != 0) {
117 KRB5_CHILD_DEBUG(SSSDBG_CRIT_FAILURE, kerr);
118 return kerr;
131 kerr = krb5_string_to_deltat(cli_opts->lifetime, &lifetime);
132 if (kerr != 0) {
136 KRB5_CHILD_DEBUG(SSSDBG_CRIT_FAILURE, kerr);
137 return kerr;
170 krb5_error_code kerr; local
599 krb5_error_code kerr; local
700 krb5_error_code kerr; local
788 krb5_error_code kerr; local
1043 krb5_error_code kerr; local
1079 krb5_error_code kerr; local
1231 krb5_error_code kerr = 0; local
1269 krb5_error_code kerr; local
1368 map_krb5_error(krb5_error_code kerr) argument
1430 krb5_error_code kerr = 0; local
1613 krb5_error_code kerr; local
1714 krb5_error_code kerr; local
1746 krb5_error_code kerr; local
1814 krb5_error_code kerr; local
2069 krb5_error_code kerr; local
2264 krb5_error_code kerr; local
2495 krb5_error_code kerr; local
2598 krb5_error_code kerr; local
2698 krb5_error_code kerr; local
[all...]
/sssd/src/sss_client/
H A Dsssd_pac.c133 krb5_error_code kerr; local
144 kerr = krb5_pac_parse(kcontext, sssdctx->data.data,
146 if (kerr != 0) {
150 kerr = krb5_pac_verify(kcontext, pac,
156 if (kerr != 0) {
/sssd/src/providers/ldap/
H A Dsdap_child_helpers.c223 int *result, krb5_error_code *kerr,
261 *kerr = krberr;
408 krb5_error_code *kerr,
433 *kerr = krberr;
221 parse_child_response(TALLOC_CTX *mem_ctx, uint8_t *buf, ssize_t size, int *result, krb5_error_code *kerr, char **ccache, time_t *expire_time_out) argument
405 sdap_get_tgt_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, int *result, krb5_error_code *kerr, char **ccname, time_t *expire_time_out) argument
H A Dldap_child.c179 krb5_error_code kerr; local
185 kerr = sss_child_set_krb5_tracing(ctx);
186 if (kerr) {
187 LDAP_CHILD_DEBUG(SSSDBG_MINOR_FAILURE, kerr);
535 krb5_error_code kerr,
548 DEBUG(SSSDBG_TRACE_FUNC, "Building response for result [%d]\n", kerr);
550 if (kerr == 0) {
551 ret = pack_buffer(r, EOK, kerr, ccname, expire_time);
553 krb5_msg = sss_krb5_get_error_message(krb5_error_ctx, kerr);
560 ret = pack_buffer(r, EFAULT, kerr, krb5_ms
532 prepare_response(TALLOC_CTX *mem_ctx, const char *ccname, time_t expire_time, krb5_error_code kerr, struct response **rsp) argument
575 krb5_error_code kerr; local
600 int kerr; local
[all...]
H A Dsdap_async_connection.c1195 krb5_error_code kerr; local
1199 &kerr, &ccname, &expire_time);
1234 if (kerr == KRB5_KDC_UNREACH) {
/sssd/src/util/
H A Dsss_krb5.c69 krb5_error_code kerr = 0; local
108 kerr = krb5_init_context(&krb_ctx);
109 if (kerr) {
116 kerr = krb5_kt_resolve(krb_ctx, keytab_name, &keytab);
118 kerr = krb5_kt_default(krb_ctx, &keytab);
120 if (kerr) {
124 sss_krb5_get_error_message(krb_ctx, kerr));
158 kerr = find_principal_in_keytab(krb_ctx, keytab, primary, realm,
162 if (kerr == 0) {
172 if (kerr
350 krb5_error_code kerr; local
873 krb5_error_code kerr; local
982 krb5_error_code kerr; local
1080 krb5_error_code kerr; local
[all...]

Completed in 262 milliseconds