context 163 examples/libsmbclient/smbwrapper/smbw.h smbw_cache_functions(SMBCCTX * context);
context 1625 examples/libsmbclient/smbwrapper/wrapper.c void *context)
context 1634 examples/libsmbclient/smbwrapper/wrapper.c (* user_action[signum].sa_sigaction)(signum, info, context);
context 151 examples/libsmbclient/testacl.c SMBCCTX *context = smbc_set_context(NULL);
context 152 examples/libsmbclient/testacl.c smbc_setOptionFullTimeNames(context, 1);
context 41 examples/libsmbclient/testacl2.c SMBCCTX *context = smbc_set_context(NULL);
context 42 examples/libsmbclient/testacl2.c smbc_setOptionFullTimeNames(context, 1);
context 26 examples/libsmbclient/testacl3.c SMBCCTX * context;
context 30 examples/libsmbclient/testacl3.c context = smbc_set_context(NULL);
context 31 examples/libsmbclient/testacl3.c smbc_setOptionFullTimeNames(context, 1);
context 28 examples/libsmbclient/testbrowse.c get_auth_data_with_context_fn(SMBCCTX * context,
context 53 examples/libsmbclient/testbrowse.c SMBCCTX * context;
context 99 examples/libsmbclient/testbrowse.c context = smbc_new_context();
context 100 examples/libsmbclient/testbrowse.c if (!context) {
context 111 examples/libsmbclient/testbrowse.c smbc_setDebug(context, debug);
context 113 examples/libsmbclient/testbrowse.c smbc_setFunctionAuthDataWithContext(context,
context 115 examples/libsmbclient/testbrowse.c smbc_setOptionUserData(context, "hello world");
context 117 examples/libsmbclient/testbrowse.c smbc_setFunctionAuthData(context, get_auth_data_fn);
context 120 examples/libsmbclient/testbrowse.c smbc_setOptionUseKerberos(context, 1);
context 121 examples/libsmbclient/testbrowse.c smbc_setOptionFallbackAfterKerberos(context, 1);
context 126 examples/libsmbclient/testbrowse.c smbc_setOptionDebugToStderr(context, 1);
context 130 examples/libsmbclient/testbrowse.c if (!smbc_init_context(context)) {
context 131 examples/libsmbclient/testbrowse.c smbc_free_context(context, 0);
context 137 examples/libsmbclient/testbrowse.c smbc_set_context(context);
context 190 examples/libsmbclient/testbrowse.c get_auth_data_with_context_fn(SMBCCTX * context,
context 200 examples/libsmbclient/testbrowse.c printf("Authenticating with context %p", context);
context 201 examples/libsmbclient/testbrowse.c if (context != NULL) {
context 202 examples/libsmbclient/testbrowse.c char *user_data = smbc_getOptionUserData(context);
context 14 lib/crypto/md5.h void MD5Init(struct MD5Context *context);
context 15 lib/crypto/md5.h void MD5Update(struct MD5Context *context, const uint8_t *buf,
context 17 lib/crypto/md5.h void MD5Final(uint8_t digest[16], struct MD5Context *context);
context 320 lib/talloc/talloc.c static inline void *__talloc(const void *context, size_t size)
context 324 lib/talloc/talloc.c if (unlikely(context == NULL)) {
context 325 lib/talloc/talloc.c context = null_context;
context 332 lib/talloc/talloc.c if (context != NULL) {
context 333 lib/talloc/talloc.c tc = talloc_alloc_pool(talloc_chunk_from_ptr(context),
context 350 lib/talloc/talloc.c if (likely(context)) {
context 351 lib/talloc/talloc.c struct talloc_chunk *parent = talloc_chunk_from_ptr(context);
context 374 lib/talloc/talloc.c void *talloc_pool(const void *context, size_t size)
context 376 lib/talloc/talloc.c void *result = __talloc(context, size + TALLOC_POOL_HDR_SIZE);
context 445 lib/talloc/talloc.c static inline void *_talloc_named_const(const void *context, size_t size, const char *name)
context 449 lib/talloc/talloc.c ptr = __talloc(context, size);
context 468 lib/talloc/talloc.c void *_talloc_reference(const void *context, const void *ptr)
context 475 lib/talloc/talloc.c handle = (struct talloc_reference_handle *)_talloc_named_const(context,
context 662 lib/talloc/talloc.c static inline int talloc_unreference(const void *context, const void *ptr)
context 667 lib/talloc/talloc.c if (unlikely(context == NULL)) {
context 668 lib/talloc/talloc.c context = null_context;
context 674 lib/talloc/talloc.c if (context == NULL) break;
context 675 lib/talloc/talloc.c } else if (TC_PTR_FROM_CHUNK(p) == context) {
context 690 lib/talloc/talloc.c int talloc_unlink(const void *context, void *ptr)
context 699 lib/talloc/talloc.c if (context == NULL) {
context 700 lib/talloc/talloc.c context = null_context;
context 703 lib/talloc/talloc.c if (talloc_unreference(context, ptr) == 0) {
context 707 lib/talloc/talloc.c if (context == NULL) {
context 712 lib/talloc/talloc.c if (talloc_chunk_from_ptr(context) != talloc_parent_chunk(ptr)) {
context 773 lib/talloc/talloc.c void *talloc_named(const void *context, size_t size, const char *fmt, ...)
context 779 lib/talloc/talloc.c ptr = __talloc(context, size);
context 941 lib/talloc/talloc.c void *_talloc(const void *context, size_t size)
context 943 lib/talloc/talloc.c return __talloc(context, size);
context 959 lib/talloc/talloc.c void *talloc_named_const(const void *context, size_t size, const char *name)
context 961 lib/talloc/talloc.c return _talloc_named_const(context, size, name);
context 983 lib/talloc/talloc.c void *_talloc_realloc(const void *context, void *ptr, size_t size, const char *name)
context 1001 lib/talloc/talloc.c return _talloc_named_const(context, size, name);
context 1672 lib/talloc/talloc.c void *talloc_realloc_fn(const void *context, void *ptr, size_t size)
context 1674 lib/talloc/talloc.c return _talloc_realloc(context, ptr, size, NULL);
context 1703 lib/talloc/talloc.c size_t talloc_get_size(const void *context)
context 1707 lib/talloc/talloc.c if (context == NULL)
context 1710 lib/talloc/talloc.c tc = talloc_chunk_from_ptr(context);
context 1718 lib/talloc/talloc.c void *talloc_find_parent_byname(const void *context, const char *name)
context 1722 lib/talloc/talloc.c if (context == NULL) {
context 1726 lib/talloc/talloc.c tc = talloc_chunk_from_ptr(context);
context 1742 lib/talloc/talloc.c void talloc_show_parents(const void *context, FILE *file)
context 1746 lib/talloc/talloc.c if (context == NULL) {
context 1751 lib/talloc/talloc.c tc = talloc_chunk_from_ptr(context);
context 1752 lib/talloc/talloc.c fprintf(file, "talloc parents of '%s'\n", talloc_get_name(context));
context 1766 lib/talloc/talloc.c int talloc_is_parent(const void *context, const void *ptr)
context 1770 lib/talloc/talloc.c if (context == NULL) {
context 1774 lib/talloc/talloc.c tc = talloc_chunk_from_ptr(context);
context 122 lib/talloc/talloc.h void *_talloc(const void *context, size_t size);
context 123 lib/talloc/talloc.h void *talloc_pool(const void *context, size_t size);
context 127 lib/talloc/talloc.h void *_talloc_reference(const void *context, const void *ptr);
context 128 lib/talloc/talloc.h int talloc_unlink(const void *context, void *ptr);
context 131 lib/talloc/talloc.h void *talloc_named(const void *context, size_t size,
context 133 lib/talloc/talloc.h void *talloc_named_const(const void *context, size_t size, const char *name);
context 142 lib/talloc/talloc.h void *_talloc_realloc(const void *context, void *ptr, size_t size, const char *name);
context 165 lib/talloc/talloc.h void *talloc_realloc_fn(const void *context, void *ptr, size_t size);
context 169 lib/talloc/talloc.h void talloc_show_parents(const void *context, FILE *file);
context 170 lib/talloc/talloc.h int talloc_is_parent(const void *context, const void *ptr);
context 162 lib/tevent/tevent.h void (*debug)(void *context,
context 166 lib/tevent/tevent.h void *context);
context 500 lib/tevent/tevent.h #define ev_set_debug(ev, debug, context) \
context 501 lib/tevent/tevent.h tevent_set_debug(ev, debug, context)
context 38 lib/tevent/tevent_debug.c void (*debug)(void *context,
context 42 lib/tevent/tevent_debug.c void *context)
context 45 lib/tevent/tevent_debug.c ev->debug_ops.context = context;
context 93 lib/tevent/tevent_debug.c ev->debug_ops.debug(ev->debug_ops.context, level, fmt, ap);
context 214 lib/tevent/tevent_internal.h void (*debug)(void *context, enum tevent_debug_level level,
context 216 lib/tevent/tevent_internal.h void *context;
context 48 lib/torture/subunit.c static void subunit_test_result(struct torture_context *context,
context 65 lib/torture/subunit.c subunit_print_testname(context, context->active_tcase, context->active_test);
context 100 lib/torture/torture.c void torture_comment(struct torture_context *context, const char *comment, ...)
context 105 lib/torture/torture.c if (!context->results->ui_ops->comment)
context 109 lib/torture/torture.c tmp = talloc_vasprintf(context, comment, ap);
context 111 lib/torture/torture.c context->results->ui_ops->comment(context, tmp);
context 119 lib/torture/torture.c void torture_warning(struct torture_context *context, const char *comment, ...)
context 124 lib/torture/torture.c if (!context->results->ui_ops->warning)
context 128 lib/torture/torture.c tmp = talloc_vasprintf(context, comment, ap);
context 130 lib/torture/torture.c context->results->ui_ops->warning(context, tmp);
context 138 lib/torture/torture.c void torture_result(struct torture_context *context,
context 145 lib/torture/torture.c if (context->last_reason) {
context 146 lib/torture/torture.c torture_warning(context, "%s", context->last_reason);
context 147 lib/torture/torture.c talloc_free(context->last_reason);
context 150 lib/torture/torture.c context->last_result = result;
context 151 lib/torture/torture.c context->last_reason = talloc_vasprintf(context, fmt, ap);
context 250 lib/torture/torture.c bool torture_run_suite(struct torture_context *context,
context 258 lib/torture/torture.c context->level++;
context 259 lib/torture/torture.c if (context->results->ui_ops->suite_start)
context 260 lib/torture/torture.c context->results->ui_ops->suite_start(context, suite);
context 262 lib/torture/torture.c old_testname = context->active_testname;
context 264 lib/torture/torture.c context->active_testname = talloc_asprintf(context, "%s-%s",
context 267 lib/torture/torture.c context->active_testname = talloc_strdup(context, suite->name);
context 270 lib/torture/torture.c ret &= torture_run_tcase(context, tcase);
context 274 lib/torture/torture.c ret &= torture_run_suite(context, tsuite);
context 277 lib/torture/torture.c talloc_free(context->active_testname);
context 278 lib/torture/torture.c context->active_testname = old_testname;
context 280 lib/torture/torture.c if (context->results->ui_ops->suite_finish)
context 281 lib/torture/torture.c context->results->ui_ops->suite_finish(context, suite);
context 283 lib/torture/torture.c context->level--;
context 288 lib/torture/torture.c void torture_ui_test_start(struct torture_context *context,
context 292 lib/torture/torture.c if (context->results->ui_ops->test_start)
context 293 lib/torture/torture.c context->results->ui_ops->test_start(context, tcase, test);
context 296 lib/torture/torture.c void torture_ui_test_result(struct torture_context *context,
context 300 lib/torture/torture.c if (context->results->ui_ops->test_result)
context 301 lib/torture/torture.c context->results->ui_ops->test_result(context, result, comment);
context 304 lib/torture/torture.c context->results->returncode = false;
context 307 lib/torture/torture.c static bool internal_torture_run_test(struct torture_context *context,
context 316 lib/torture/torture.c old_testname = context->active_testname;
context 317 lib/torture/torture.c context->active_testname = talloc_asprintf(context, "%s-%s", old_testname, test->name);
context 320 lib/torture/torture.c context->active_tcase = tcase;
context 321 lib/torture/torture.c context->active_test = test;
context 323 lib/torture/torture.c torture_ui_test_start(context, tcase, test);
context 325 lib/torture/torture.c context->last_reason = NULL;
context 326 lib/torture/torture.c context->last_result = TORTURE_OK;
context 329 lib/torture/torture.c !tcase->setup(context, &(tcase->data))) {
context 330 lib/torture/torture.c if (context->last_reason == NULL)
context 331 lib/torture/torture.c context->last_reason = talloc_strdup(context, "Setup failure");
context 332 lib/torture/torture.c context->last_result = TORTURE_ERROR;
context 335 lib/torture/torture.c !torture_setting_bool(context, "dangerous", false)) {
context 336 lib/torture/torture.c context->last_result = TORTURE_SKIP;
context 337 lib/torture/torture.c context->last_reason = talloc_asprintf(context,
context 341 lib/torture/torture.c success = test->run(context, tcase, test);
context 343 lib/torture/torture.c if (!success && context->last_result == TORTURE_OK) {
context 344 lib/torture/torture.c if (context->last_reason == NULL)
context 345 lib/torture/torture.c context->last_reason = talloc_strdup(context, "Unknown error/failure");
context 346 lib/torture/torture.c context->last_result = TORTURE_ERROR;
context 350 lib/torture/torture.c if (!already_setup && tcase->teardown && !tcase->teardown(context, tcase->data)) {
context 351 lib/torture/torture.c if (context->last_reason == NULL)
context 352 lib/torture/torture.c context->last_reason = talloc_strdup(context, "Setup failure");
context 353 lib/torture/torture.c context->last_result = TORTURE_ERROR;
context 357 lib/torture/torture.c torture_ui_test_result(context, context->last_result,
context 358 lib/torture/torture.c context->last_reason);
context 360 lib/torture/torture.c talloc_free(context->last_reason);
context 363 lib/torture/torture.c talloc_free(context->active_testname);
context 364 lib/torture/torture.c context->active_testname = old_testname;
context 366 lib/torture/torture.c context->active_test = NULL;
context 367 lib/torture/torture.c context->active_tcase = NULL;
context 372 lib/torture/torture.c bool torture_run_tcase(struct torture_context *context,
context 379 lib/torture/torture.c context->level++;
context 381 lib/torture/torture.c context->active_tcase = tcase;
context 382 lib/torture/torture.c if (context->results->ui_ops->tcase_start)
context 383 lib/torture/torture.c context->results->ui_ops->tcase_start(context, tcase);
context 386 lib/torture/torture.c && !tcase->setup(context, &tcase->data)) {
context 389 lib/torture/torture.c if (context->last_reason != NULL)
context 390 lib/torture/torture.c fprintf(stderr, "%s", context->last_reason);
context 396 lib/torture/torture.c old_testname = context->active_testname;
context 397 lib/torture/torture.c context->active_testname = talloc_asprintf(context, "%s-%s",
context 400 lib/torture/torture.c ret &= internal_torture_run_test(context, tcase, test,
context 403 lib/torture/torture.c talloc_free(context->active_testname);
context 404 lib/torture/torture.c context->active_testname = old_testname;
context 407 lib/torture/torture.c !tcase->teardown(context, tcase->data))
context 411 lib/torture/torture.c context->active_tcase = NULL;
context 413 lib/torture/torture.c if (context->results->ui_ops->tcase_finish)
context 414 lib/torture/torture.c context->results->ui_ops->tcase_finish(context, tcase);
context 416 lib/torture/torture.c context->level--;
context 421 lib/torture/torture.c bool torture_run_test(struct torture_context *context,
context 425 lib/torture/torture.c return internal_torture_run_test(context, tcase, test, false);
context 57 lib/torture/torture.h void torture_ui_test_start(struct torture_context *context,
context 61 lib/torture/torture.h void torture_ui_test_result(struct torture_context *context,
context 213 lib/torture/torture.h bool torture_run_suite(struct torture_context *context,
context 217 lib/torture/torture.h bool torture_run_tcase(struct torture_context *context,
context 221 lib/torture/torture.h bool torture_run_test(struct torture_context *context,
context 127 lib/util/util_ldb.c char *wrap_casefold(void *context, void *mem_ctx, const char *s, size_t n)
context 27 lib/util/util_ldb.h char *wrap_casefold(void *context, void *mem_ctx, const char *s, size_t n);
context 226 nsswitch/winbind_krb5_locator.c static krb5_error_code smb_krb5_locator_init(krb5_context context,
context 62 source3/client/cifs.upcall.c krb5_context context;
context 71 source3/client/cifs.upcall.c if (krb5_init_context(&context)) {
context 76 source3/client/cifs.upcall.c if (krb5_cc_resolve(context, ccname, &ccache)) {
context 81 source3/client/cifs.upcall.c if (krb5_cc_set_flags(context, ccache, 0)) {
context 86 source3/client/cifs.upcall.c if (krb5_cc_get_principal(context, ccache, &principal)) {
context 91 source3/client/cifs.upcall.c if (krb5_cc_start_seq_get(context, ccache, &cur)) {
context 96 source3/client/cifs.upcall.c while (!credtime && !krb5_cc_next_cred(context, ccache, &cur, &creds)) {
context 102 source3/client/cifs.upcall.c krb5_free_cred_contents(context, &creds);
context 104 source3/client/cifs.upcall.c krb5_cc_end_seq_get(context, ccache, &cur);
context 107 source3/client/cifs.upcall.c krb5_free_principal(context, principal);
context 109 source3/client/cifs.upcall.c krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE);
context 110 source3/client/cifs.upcall.c krb5_cc_close(context, ccache);
context 112 source3/client/cifs.upcall.c krb5_free_context(context);
context 50 source3/client/dnsbrowse.c uint16_t txtLen, const unsigned char *txtRecord, void *context)
context 113 source3/client/dnsbrowse.c const char *replyDomain, void *context)
context 115 source3/client/dnsbrowse.c struct mdns_browse_state *bstatep = (struct mdns_browse_state *)context;
context 905 source3/include/includes.h krb5_error_code smb_krb5_parse_name(krb5_context context,
context 910 source3/include/includes.h krb5_context context,
context 915 source3/include/includes.h krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
context 921 source3/include/includes.h krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock);
context 938 source3/include/includes.h int create_kerberos_key_from_string(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype, bool no_salt);
context 945 source3/include/includes.h krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_enctype **enctypes);
context 946 source3/include/includes.h bool get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, bool remote);
context 947 source3/include/includes.h krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry);
context 948 source3/include/includes.h krb5_principal kerberos_fetch_salt_princ_for_host_princ(krb5_context context, krb5_principal host_princ, int enctype);
context 950 source3/include/includes.h bool kerberos_compatible_enctypes(krb5_context context, krb5_enctype enctype1, krb5_enctype enctype2);
context 951 source3/include/includes.h void kerberos_free_data_contents(krb5_context context, krb5_data *pdata);
context 954 source3/include/includes.h krb5_context context,
context 961 source3/include/includes.h krb5_error_code smb_krb5_verify_checksum(krb5_context context,
context 968 source3/include/includes.h void smb_krb5_free_ap_req(krb5_context context,
context 970 source3/include/includes.h krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
context 974 source3/include/includes.h krb5_error_code krb5_rd_req_return_keyblock_from_keytab(krb5_context context,
context 982 source3/include/includes.h krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
context 985 source3/include/includes.h bool smb_krb5_principal_compare_any_realm(krb5_context context,
context 993 source3/include/includes.h krb5_error_code smb_krb5_free_addresses(krb5_context context, smb_krb5_addresses *addr);
context 996 source3/include/includes.h void smb_krb5_free_error(krb5_context context, krb5_error *krberror);
context 997 source3/include/includes.h krb5_error_code handle_krberror_packet(krb5_context context,
context 1000 source3/include/includes.h void smb_krb5_get_init_creds_opt_free(krb5_context context,
context 1002 source3/include/includes.h krb5_error_code smb_krb5_get_init_creds_opt_alloc(krb5_context context,
context 1004 source3/include/includes.h krb5_error_code smb_krb5_mk_error(krb5_context context,
context 1009 source3/include/includes.h krb5_error_code smb_krb5_enctype_to_string(krb5_context context,
context 1012 source3/include/includes.h krb5_error_code smb_krb5_open_keytab(krb5_context context,
context 1017 source3/include/includes.h krb5_context context,
context 1020 source3/include/includes.h int smb_krb5_kt_add_entry_ext(krb5_context context,
context 251 source3/include/libsmb_internal.h SMBC_add_cached_server(SMBCCTX * context,
context 259 source3/include/libsmb_internal.h SMBC_get_cached_server(SMBCCTX * context,
context 266 source3/include/libsmb_internal.h SMBC_remove_cached_server(SMBCCTX * context,
context 270 source3/include/libsmb_internal.h SMBC_purge_cached_servers(SMBCCTX * context);
context 281 source3/include/libsmb_internal.h SMBC_opendir_ctx(SMBCCTX *context,
context 285 source3/include/libsmb_internal.h SMBC_closedir_ctx(SMBCCTX *context,
context 289 source3/include/libsmb_internal.h SMBC_readdir_ctx(SMBCCTX *context,
context 293 source3/include/libsmb_internal.h SMBC_getdents_ctx(SMBCCTX *context,
context 299 source3/include/libsmb_internal.h SMBC_mkdir_ctx(SMBCCTX *context,
context 304 source3/include/libsmb_internal.h SMBC_rmdir_ctx(SMBCCTX *context,
context 308 source3/include/libsmb_internal.h SMBC_telldir_ctx(SMBCCTX *context,
context 312 source3/include/libsmb_internal.h SMBC_lseekdir_ctx(SMBCCTX *context,
context 317 source3/include/libsmb_internal.h SMBC_fstatdir_ctx(SMBCCTX *context,
context 322 source3/include/libsmb_internal.h SMBC_chmod_ctx(SMBCCTX *context,
context 327 source3/include/libsmb_internal.h SMBC_utimes_ctx(SMBCCTX *context,
context 332 source3/include/libsmb_internal.h SMBC_unlink_ctx(SMBCCTX *context,
context 344 source3/include/libsmb_internal.h SMBC_open_ctx(SMBCCTX *context,
context 350 source3/include/libsmb_internal.h SMBC_creat_ctx(SMBCCTX *context,
context 355 source3/include/libsmb_internal.h SMBC_read_ctx(SMBCCTX *context,
context 361 source3/include/libsmb_internal.h SMBC_write_ctx(SMBCCTX *context,
context 367 source3/include/libsmb_internal.h SMBC_close_ctx(SMBCCTX *context,
context 371 source3/include/libsmb_internal.h SMBC_getatr(SMBCCTX * context,
context 383 source3/include/libsmb_internal.h SMBC_setatr(SMBCCTX * context, SMBCSRV *srv, char *path,
context 391 source3/include/libsmb_internal.h SMBC_lseek_ctx(SMBCCTX *context,
context 397 source3/include/libsmb_internal.h SMBC_ftruncate_ctx(SMBCCTX *context,
context 407 source3/include/libsmb_internal.h SMBC_errno(SMBCCTX *context,
context 414 source3/include/libsmb_internal.h SMBCCTX *context,
context 427 source3/include/libsmb_internal.h SMBC_open_print_job_ctx(SMBCCTX *context,
context 437 source3/include/libsmb_internal.h SMBC_list_print_jobs_ctx(SMBCCTX *context,
context 442 source3/include/libsmb_internal.h SMBC_unlink_print_job_ctx(SMBCCTX *context,
context 449 source3/include/libsmb_internal.h SMBC_check_server(SMBCCTX * context,
context 453 source3/include/libsmb_internal.h SMBC_remove_unused_server(SMBCCTX * context,
context 458 source3/include/libsmb_internal.h SMBCCTX *context,
context 473 source3/include/libsmb_internal.h SMBCCTX *context,
context 482 source3/include/libsmb_internal.h SMBCCTX *context,
context 492 source3/include/libsmb_internal.h SMBCCTX *context,
context 502 source3/include/libsmb_internal.h SMBC_stat_ctx(SMBCCTX *context,
context 507 source3/include/libsmb_internal.h SMBC_fstat_ctx(SMBCCTX *context,
context 513 source3/include/libsmb_internal.h SMBC_statvfs_ctx(SMBCCTX *context,
context 519 source3/include/libsmb_internal.h SMBC_fstatvfs_ctx(SMBCCTX *context,
context 526 source3/include/libsmb_internal.h SMBC_setxattr_ctx(SMBCCTX *context,
context 534 source3/include/libsmb_internal.h SMBC_getxattr_ctx(SMBCCTX *context,
context 541 source3/include/libsmb_internal.h SMBC_removexattr_ctx(SMBCCTX *context,
context 546 source3/include/libsmb_internal.h SMBC_listxattr_ctx(SMBCCTX *context,
context 974 source3/include/libsmbclient.h typedef int (*smbc_setxattr_fn)(SMBCCTX *context,
context 983 source3/include/libsmbclient.h typedef int (*smbc_getxattr_fn)(SMBCCTX *context,
context 991 source3/include/libsmbclient.h typedef int (*smbc_removexattr_fn)(SMBCCTX *context,
context 997 source3/include/libsmbclient.h typedef int (*smbc_listxattr_fn)(SMBCCTX *context,
context 1075 source3/include/libsmbclient.h int smbc_free_context(SMBCCTX * context, int shutdown_ctx);
context 1083 source3/include/libsmbclient.h smbc_option_set(SMBCCTX *context,
context 1091 source3/include/libsmbclient.h smbc_option_get(SMBCCTX *context,
context 1116 source3/include/libsmbclient.h SMBCCTX * smbc_init_context(SMBCCTX * context);
context 2584 source3/include/libsmbclient.h int smbc_remove_unused_server(SMBCCTX * context, SMBCSRV * srv);
context 71 source3/include/locking.h struct lock_context context;
context 1217 source3/include/proto.h void *talloc_zeronull(const void *context, size_t size, const char *name);
context 5797 source3/include/proto.h RPC_CONTEXT *context);
context 27 source3/include/smb_perfcount.h void *context;
context 261 source3/lib/events.c static void s3_event_debug(void *context, enum tevent_debug_level level,
context 264 source3/lib/events.c static void s3_event_debug(void *context, enum tevent_debug_level level,
context 524 source3/lib/ldb/common/ldb.c int ldb_search_default_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 529 source3/lib/ldb/common/ldb.c if (!context) {
context 534 source3/lib/ldb/common/ldb.c res = talloc_get_type(context, struct ldb_result);
context 589 source3/lib/ldb/common/ldb.c void *context,
context 619 source3/lib/ldb/common/ldb.c req->context = context;
context 631 source3/lib/ldb/common/ldb.c void *context,
context 647 source3/lib/ldb/common/ldb.c req->context = context;
context 660 source3/lib/ldb/common/ldb.c void *context,
context 676 source3/lib/ldb/common/ldb.c req->context = context;
context 689 source3/lib/ldb/common/ldb.c void *context,
context 705 source3/lib/ldb/common/ldb.c req->context = context;
context 719 source3/lib/ldb/common/ldb.c void *context,
context 736 source3/lib/ldb/common/ldb.c req->context = context;
context 971 source3/lib/ldb/common/ldb.c req->context = NULL;
context 41 source3/lib/ldb/common/ldb_debug.c void (*debug)(void *context, enum ldb_debug_level level,
context 43 source3/lib/ldb/common/ldb_debug.c void *context)
context 46 source3/lib/ldb/common/ldb_debug.c ldb->debug_ops.context = context;
context 53 source3/lib/ldb/common/ldb_debug.c static void ldb_debug_stderr(void *context, enum ldb_debug_level level,
context 55 source3/lib/ldb/common/ldb_debug.c static void ldb_debug_stderr(void *context, enum ldb_debug_level level,
context 82 source3/lib/ldb/common/ldb_debug.c ldb->debug_ops.debug(ldb->debug_ops.context, level, fmt, ap);
context 44 source3/lib/ldb/common/ldb_utf8.c void *context,
context 47 source3/lib/ldb/common/ldb_utf8.c if (context)
context 48 source3/lib/ldb/common/ldb_utf8.c ldb->utf8_fns.context = context;
context 57 source3/lib/ldb/common/ldb_utf8.c char *ldb_casefold_default(void *context, void *mem_ctx, const char *s)
context 78 source3/lib/ldb/common/ldb_utf8.c return ldb->utf8_fns.casefold(ldb->utf8_fns.context, mem_ctx, s);
context 196 source3/lib/ldb/include/ldb.h void (*debug)(void *context, enum ldb_debug_level level,
context 198 source3/lib/ldb/include/ldb.h void *context;
context 206 source3/lib/ldb/include/ldb.h void *context;
context 207 source3/lib/ldb/include/ldb.h char *(*casefold)(void *context, void *mem_ctx, const char *s);
context 765 source3/lib/ldb/include/ldb.h void *context;
context 853 source3/lib/ldb/include/ldb.h int ldb_search_default_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares);
context 880 source3/lib/ldb/include/ldb.h void *context,
context 902 source3/lib/ldb/include/ldb.h void *context,
context 924 source3/lib/ldb/include/ldb.h void *context,
context 946 source3/lib/ldb/include/ldb.h void *context,
context 970 source3/lib/ldb/include/ldb.h void *context,
context 1484 source3/lib/ldb/include/ldb.h void (*debug)(void *context, enum ldb_debug_level level,
context 1486 source3/lib/ldb/include/ldb.h void *context);
context 1492 source3/lib/ldb/include/ldb.h void *context,
context 211 source3/lib/ldb/include/ldb_private.h char *ldb_casefold_default(void *context, void *mem_ctx, const char *s);
context 61 source3/lib/ldb/ldb_ildap/ldb_ildap.c void *context;
context 180 source3/lib/ldb/ldb_ildap/ldb_ildap.c handle->status = ac->callback(ac->module->ldb, ac->context, NULL);
context 194 source3/lib/ldb/ldb_ildap/ldb_ildap.c handle->status = ac->callback(ac->module->ldb, ac->context, NULL);
context 208 source3/lib/ldb/ldb_ildap/ldb_ildap.c handle->status = ac->callback(ac->module->ldb, ac->context, NULL);
context 222 source3/lib/ldb/ldb_ildap/ldb_ildap.c handle->status = ac->callback(ac->module->ldb, ac->context, NULL);
context 304 source3/lib/ldb/ldb_ildap/ldb_ildap.c ret = ac->callback(ac->module->ldb, ac->context, ares);
context 323 source3/lib/ldb/ldb_ildap/ldb_ildap.c void *context,
context 351 source3/lib/ldb/ldb_ildap/ldb_ildap.c ildb_ac->context = context;
context 358 source3/lib/ldb/ldb_ildap/ldb_ildap.c void *context,
context 364 source3/lib/ldb/ldb_ildap/ldb_ildap.c struct ldb_handle *h = init_ildb_handle(module, context, callback);
context 403 source3/lib/ldb/ldb_ildap/ldb_ildap.c struct ldb_handle *h = init_ildb_handle(module, req->context, req->callback);
context 416 source3/lib/ldb/ldb_ildap/ldb_ildap.c ret = ildb_ac->callback(module->ldb, ildb_ac->context, NULL);
context 433 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (!req->callback || !req->context) {
context 480 source3/lib/ldb/ldb_ildap/ldb_ildap.c return ildb_request_send(module, msg, req->context, req->callback, req->timeout, &(req->handle));
context 530 source3/lib/ldb/ldb_ildap/ldb_ildap.c return ildb_request_send(module, msg, req->context, req->callback, req->timeout, &(req->handle));
context 580 source3/lib/ldb/ldb_ildap/ldb_ildap.c return ildb_request_send(module, msg, req->context, req->callback, req->timeout, &(req->handle));
context 611 source3/lib/ldb/ldb_ildap/ldb_ildap.c return ildb_request_send(module, msg, req->context, req->callback, req->timeout, &(req->handle));
context 660 source3/lib/ldb/ldb_ildap/ldb_ildap.c return ildb_request_send(module, msg, req->context, req->callback, req->timeout, &(req->handle));
context 56 source3/lib/ldb/ldb_ldap/ldb_ldap.c void *context;
context 66 source3/lib/ldb/ldb_ldap/ldb_ldap.c void *context,
context 94 source3/lib/ldb/ldb_ldap/ldb_ldap.c ac->context = context;
context 245 source3/lib/ldb/ldb_ldap/ldb_ldap.c if (!req->callback || !req->context) {
context 259 source3/lib/ldb/ldb_ldap/ldb_ldap.c req->handle = init_handle(lldb, module, req->context, req->callback, req->timeout, req->starttime);
context 329 source3/lib/ldb/ldb_ldap/ldb_ldap.c req->handle = init_handle(lldb, module, req->context, req->callback, req->timeout, req->starttime);
context 374 source3/lib/ldb/ldb_ldap/ldb_ldap.c req->handle = init_handle(lldb, module, req->context, req->callback, req->timeout, req->starttime);
context 418 source3/lib/ldb/ldb_ldap/ldb_ldap.c req->handle = init_handle(lldb, module, req->context, req->callback, req->timeout, req->starttime);
context 456 source3/lib/ldb/ldb_ldap/ldb_ldap.c req->handle = init_handle(lldb, module, req->context, req->callback, req->timeout, req->starttime);
context 560 source3/lib/ldb/ldb_ldap/ldb_ldap.c ret = ac->callback(ac->module->ldb, ac->context, ares);
context 587 source3/lib/ldb/ldb_ldap/ldb_ldap.c ret = ac->callback(ac->module->ldb, ac->context, ares);
context 612 source3/lib/ldb/ldb_ldap/ldb_ldap.c ret = ac->callback(ac->module->ldb, ac->context, ares);
context 628 source3/lib/ldb/ldb_ldap/ldb_ldap.c ret = ac->callback(ac->module->ldb, ac->context, ares);
context 55 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c void *context;
context 87 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ac->context = req->context;
context 735 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c handle->status = ac->callback(ac->module->ldb, ac->context, ac->ares);
context 1008 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c req->handle->status = lsql_ac->callback(module->ldb, lsql_ac->context, lsql_ac->ares);
context 1153 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c req->handle->status = lsql_ac->callback(module->ldb, lsql_ac->context, NULL);
context 1348 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c req->handle->status = lsql_ac->callback(module->ldb, lsql_ac->context, NULL);
context 1402 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ret = lsql_ac->callback(module->ldb, lsql_ac->context, NULL);
context 1457 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ret = lsql_ac->callback(module->ldb, lsql_ac->context, NULL);
context 705 source3/lib/ldb/ldb_tdb/ldb_index.c handle->status = ac->callback(ac->module->ldb, ac->context, ares);
context 427 source3/lib/ldb/ldb_tdb/ldb_search.c handle->status = ac->callback(ac->module->ldb, ac->context, ares);
context 520 source3/lib/ldb/ldb_tdb/ldb_search.c ret = req->callback(module->ldb, req->context, ares);
context 108 source3/lib/ldb/ldb_tdb/ldb_tdb.c ac->context = req->context;
context 322 source3/lib/ldb/ldb_tdb/ldb_tdb.c ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL);
context 432 source3/lib/ldb/ldb_tdb/ldb_tdb.c ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL);
context 799 source3/lib/ldb/ldb_tdb/ldb_tdb.c ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL);
context 870 source3/lib/ldb/ldb_tdb/ldb_tdb.c ret = ltdb_ac->callback(module->ldb, ltdb_ac->context, NULL);
context 54 source3/lib/ldb/ldb_tdb/ldb_tdb.h void *context;
context 66 source3/lib/ldb/modules/asq.c void *context,
context 93 source3/lib/ldb/modules/asq.c ac->up_context = context;
context 154 source3/lib/ldb/modules/asq.c static int asq_base_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 158 source3/lib/ldb/modules/asq.c if (!context || !ares) {
context 163 source3/lib/ldb/modules/asq.c if (!(ac = talloc_get_type(context, struct asq_context))) {
context 180 source3/lib/ldb/modules/asq.c static int asq_reqs_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 184 source3/lib/ldb/modules/asq.c if (!context || !ares) {
context 189 source3/lib/ldb/modules/asq.c if (!(ac = talloc_get_type(context, struct asq_context))) {
context 228 source3/lib/ldb/modules/asq.c if (!req->callback || !req->context) {
context 239 source3/lib/ldb/modules/asq.c h = init_handle(req, module, req->context, req->callback);
context 278 source3/lib/ldb/modules/asq.c ac->base_req->context = ac;
context 337 source3/lib/ldb/modules/asq.c ac->reqs[i]->context = ac;
context 101 source3/lib/ldb/modules/ldb_map.c return data->context;
context 827 source3/lib/ldb/modules/ldb_map.c static int map_search_self_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 831 source3/lib/ldb/modules/ldb_map.c if (context == NULL || ares == NULL) {
context 836 source3/lib/ldb/modules/ldb_map.c ac = talloc_get_type(context, struct map_context);
context 858 source3/lib/ldb/modules/ldb_map.c struct ldb_request *map_search_base_req(struct map_context *ac, const struct ldb_dn *dn, const char * const *attrs, const struct ldb_parse_tree *tree, void *context, ldb_search_callback callback)
context 884 source3/lib/ldb/modules/ldb_map.c req->context = context;
context 952 source3/lib/ldb/modules/ldb_map.c req->context = NULL;
context 1296 source3/lib/ldb/modules/ldb_map.c data->context = talloc_zero(data, struct ldb_map_context);
context 1297 source3/lib/ldb/modules/ldb_map.c if (!data->context) {
context 1303 source3/lib/ldb/modules/ldb_map.c ret = map_init_dns(module, data->context, name);
context 1310 source3/lib/ldb/modules/ldb_map.c ret = map_init_maps(module, data->context, attrs, ocls, wildcard_attributes);
context 144 source3/lib/ldb/modules/ldb_map.h struct ldb_map_context *context;
context 257 source3/lib/ldb/modules/ldb_map_inbound.c ac->local_req->context = NULL;
context 268 source3/lib/ldb/modules/ldb_map_inbound.c ac->remote_req->context = NULL;
context 412 source3/lib/ldb/modules/ldb_map_inbound.c ac->local_req->context = NULL;
context 423 source3/lib/ldb/modules/ldb_map_inbound.c ac->remote_req->context = NULL;
context 541 source3/lib/ldb/modules/ldb_map_inbound.c ac->local_req->context = NULL;
context 559 source3/lib/ldb/modules/ldb_map_inbound.c ac->remote_req->context = NULL;
context 677 source3/lib/ldb/modules/ldb_map_inbound.c ac->local_req->context = NULL;
context 690 source3/lib/ldb/modules/ldb_map_inbound.c ac->remote_req->context = NULL;
context 1022 source3/lib/ldb/modules/ldb_map_outbound.c return req->callback(ldb, req->context, ares);
context 1046 source3/lib/ldb/modules/ldb_map_outbound.c return req->callback(ldb, req->context, ares);
context 1050 source3/lib/ldb/modules/ldb_map_outbound.c int map_local_merge_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 1055 source3/lib/ldb/modules/ldb_map_outbound.c if (context == NULL || ares == NULL) {
context 1061 source3/lib/ldb/modules/ldb_map_outbound.c sc = talloc_get_type(context, struct map_search_context);
context 1101 source3/lib/ldb/modules/ldb_map_outbound.c int map_remote_search_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 1108 source3/lib/ldb/modules/ldb_map_outbound.c if (context == NULL || ares == NULL) {
context 1114 source3/lib/ldb/modules/ldb_map_outbound.c ac = talloc_get_type(context, struct map_context);
context 1211 source3/lib/ldb/modules/ldb_map_outbound.c ac->search_reqs[0]->context = ac;
context 89 source3/lib/ldb/modules/ldb_map_private.h struct ldb_request *map_search_base_req(struct map_context *ac, const struct ldb_dn *dn, const char * const *attrs, const struct ldb_parse_tree *tree, void *context, ldb_search_callback callback);
context 412 source3/lib/ldb/modules/objectclass.c ac->down_req->context = NULL;
context 422 source3/lib/ldb/modules/objectclass.c static int get_self_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 426 source3/lib/ldb/modules/objectclass.c if (!context || !ares) {
context 431 source3/lib/ldb/modules/objectclass.c ac = talloc_get_type(context, struct oc_context);
context 473 source3/lib/ldb/modules/objectclass.c ac->search_req->context = ac;
context 506 source3/lib/ldb/modules/objectclass.c ac->mod_req->context = ac;
context 185 source3/lib/ldb/modules/operational.c static int operational_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 189 source3/lib/ldb/modules/operational.c if (!context || !ares) {
context 194 source3/lib/ldb/modules/operational.c ac = talloc_get_type(context, struct operational_context);
context 226 source3/lib/ldb/modules/operational.c ac->up_context = req->context;
context 275 source3/lib/ldb/modules/operational.c down_req->context = ac;
context 144 source3/lib/ldb/modules/paged_results.c void *context,
context 171 source3/lib/ldb/modules/paged_results.c ac->up_context = context;
context 177 source3/lib/ldb/modules/paged_results.c static int paged_search_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 181 source3/lib/ldb/modules/paged_results.c if (!context || !ares) {
context 186 source3/lib/ldb/modules/paged_results.c ac = talloc_get_type(context, struct paged_context);
context 253 source3/lib/ldb/modules/paged_results.c if (!req->callback || !req->context) {
context 264 source3/lib/ldb/modules/paged_results.c h = init_handle(req, module, req->context, req->callback);
context 299 source3/lib/ldb/modules/paged_results.c ac->store->req->context = ac;
context 63 source3/lib/ldb/modules/paged_searches.c void *context,
context 90 source3/lib/ldb/modules/paged_searches.c ac->up_context = context;
context 180 source3/lib/ldb/modules/paged_searches.c static int ps_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 185 source3/lib/ldb/modules/paged_searches.c if (!context || !ares) {
context 190 source3/lib/ldb/modules/paged_searches.c ac = talloc_get_type(context, struct ps_context);
context 248 source3/lib/ldb/modules/paged_searches.c if (!req->callback || !req->context) {
context 254 source3/lib/ldb/modules/paged_searches.c h = init_handle(req, module, req->context, req->callback);
context 287 source3/lib/ldb/modules/paged_searches.c ac->new_req->context = ac;
context 388 source3/lib/ldb/modules/paged_searches.c static int check_supported_paged(struct ldb_context *ldb, void *context,
context 392 source3/lib/ldb/modules/paged_searches.c data = talloc_get_type(context,
context 438 source3/lib/ldb/modules/paged_searches.c req->context = data;
context 66 source3/lib/ldb/modules/sort.c void *context,
context 93 source3/lib/ldb/modules/sort.c ac->up_context = context;
context 168 source3/lib/ldb/modules/sort.c static int server_sort_search_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 172 source3/lib/ldb/modules/sort.c if (!context || !ares) {
context 177 source3/lib/ldb/modules/sort.c ac = talloc_get_type(context, struct sort_context);
context 233 source3/lib/ldb/modules/sort.c if (!req->callback || !req->context) {
context 239 source3/lib/ldb/modules/sort.c h = init_handle(req, module, req->context, req->callback);
context 300 source3/lib/ldb/modules/sort.c ac->req->context = ac;
context 137 source3/lib/ldb/tools/ldbsearch.c static int search_callback(struct ldb_context *ldb, void *context, struct ldb_reply *ares)
context 139 source3/lib/ldb/tools/ldbsearch.c struct search_context *sctx = talloc_get_type(context, struct search_context);
context 221 source3/lib/ldb/tools/ldbsearch.c req->context = sctx;
context 1844 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c GOptionContext *context = NULL;
context 1860 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c context = g_option_context_new("- Samba domain join utility");
context 1861 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c g_option_context_add_main_entries(context, entries, NULL);
context 1863 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c g_option_context_add_group(context, gtk_get_option_group(TRUE));
context 1864 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c g_option_context_parse(context, &argc, &argv, &error);
context 54 source3/lib/netapi/netapi.c NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
context 61 source3/lib/netapi/netapi.c *context = stat_ctx;
context 129 source3/lib/netapi/netapi.c *context = stat_ctx = ctx;
context 3056 source3/lib/util.c void *talloc_zeronull(const void *context, size_t size, const char *name)
context 3061 source3/lib/util.c return talloc_named_const(context, size, name);
context 107 source3/libaddns/dns.h void *talloc_zeronull(const void *context, size_t size, const char *name);
context 36 source3/libads/authdata.c krb5_context context,
context 53 source3/libads/authdata.c ret = smb_krb5_verify_checksum(context,
context 74 source3/libads/authdata.c krb5_context context,
context 266 source3/libads/authdata.c context,
context 284 source3/libads/authdata.c ret = smb_krb5_parse_name_norealm(context, logon_name->account_name,
context 293 source3/libads/authdata.c if (!smb_krb5_principal_compare_any_realm(context, client_principal, client_principal_pac)) {
context 296 source3/libads/authdata.c krb5_free_principal(context, client_principal_pac);
context 535 source3/libads/kerberos.c krb5_principal kerberos_fetch_salt_princ_for_host_princ(krb5_context context,
context 548 source3/libads/kerberos.c if (smb_krb5_unparse_name(talloc_tos(), context, host_princ, &unparsed_name) != 0) {
context 557 source3/libads/kerberos.c if (smb_krb5_parse_name(context, salt_princ_s, &ret_princ) != 0) {
context 581 source3/libads/kerberos.c krb5_context context = NULL;
context 587 source3/libads/kerberos.c if (((code = krb5_init_context(&context)) != 0) || (context == NULL)) {
context 602 source3/libads/kerberos.c if (smb_krb5_parse_name(context, princ_s, &princ) != 0) {
context 606 source3/libads/kerberos.c if (smb_krb5_unparse_name(talloc_tos(), context, princ, &unparsed_name) != 0) {
context 629 source3/libads/kerberos.c krb5_free_principal(context, princ);
context 632 source3/libads/kerberos.c if (context) {
context 633 source3/libads/kerberos.c krb5_free_context(context);
context 35 source3/libads/kerberos_keytab.c int smb_krb5_kt_add_entry_ext(krb5_context context,
context 54 source3/libads/kerberos_keytab.c ret = smb_krb5_parse_name(context, princ_s, &princ);
context 61 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 64 source3/libads/kerberos_keytab.c while(!krb5_kt_next_entry(context, keytab, &kt_entry, &cursor)) {
context 67 source3/libads/kerberos_keytab.c ret = smb_krb5_unparse_name(talloc_tos(), context, kt_entry.principal, &ktprinc);
context 84 source3/libads/kerberos_keytab.c compare_name_ok = (krb5_kt_compare(context, &kt_entry, princ, 0, 0) == True);
context 103 source3/libads/kerberos_keytab.c ret = krb5_kt_end_seq_get(context, keytab, &cursor);
context 110 source3/libads/kerberos_keytab.c ret = krb5_kt_remove_entry(context, keytab, &kt_entry);
context 120 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 126 source3/libads/kerberos_keytab.c ret = smb_krb5_kt_free_entry(context, &kt_entry);
context 138 source3/libads/kerberos_keytab.c ret = smb_krb5_kt_free_entry(context, &kt_entry);
context 146 source3/libads/kerberos_keytab.c ret = krb5_kt_end_seq_get(context, keytab, &cursor);
context 166 source3/libads/kerberos_keytab.c if (create_kerberos_key_from_string(context, princ, &password, keyp, enctypes[i], no_salt)) {
context 175 source3/libads/kerberos_keytab.c ret = krb5_kt_add_entry(context, keytab, &kt_entry);
context 176 source3/libads/kerberos_keytab.c krb5_free_keyblock_contents(context, keyp);
context 190 source3/libads/kerberos_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 194 source3/libads/kerberos_keytab.c krb5_free_principal(context, princ);
context 201 source3/libads/kerberos_keytab.c krb5_kt_end_seq_get(context, keytab, &cursor);
context 208 source3/libads/kerberos_keytab.c static int smb_krb5_kt_add_entry(krb5_context context,
context 215 source3/libads/kerberos_keytab.c return smb_krb5_kt_add_entry_ext(context,
context 232 source3/libads/kerberos_keytab.c krb5_context context = NULL;
context 248 source3/libads/kerberos_keytab.c ret = krb5_init_context(&context);
context 254 source3/libads/kerberos_keytab.c ret = smb_krb5_open_keytab(context, NULL, True, &keytab);
context 350 source3/libads/kerberos_keytab.c ret = smb_krb5_kt_add_entry( context, keytab, kvno, princ_s, enctypes, password );
context 359 source3/libads/kerberos_keytab.c ret = smb_krb5_kt_add_entry( context, keytab, kvno, short_princ_s, enctypes, password );
context 372 source3/libads/kerberos_keytab.c krb5_kt_close(context, keytab);
context 374 source3/libads/kerberos_keytab.c if (context) {
context 375 source3/libads/kerberos_keytab.c krb5_free_context(context);
context 387 source3/libads/kerberos_keytab.c krb5_context context = NULL;
context 397 source3/libads/kerberos_keytab.c ret = krb5_init_context(&context);
context 403 source3/libads/kerberos_keytab.c ret = smb_krb5_open_keytab(context, NULL, True, &keytab);
context 415 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 417 source3/libads/kerberos_keytab.c while (!krb5_kt_next_entry(context, keytab, &kt_entry, &cursor)) {
context 418 source3/libads/kerberos_keytab.c ret = krb5_kt_end_seq_get(context, keytab, &cursor);
context 424 source3/libads/kerberos_keytab.c ret = krb5_kt_remove_entry(context, keytab, &kt_entry);
context 429 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 434 source3/libads/kerberos_keytab.c ret = smb_krb5_kt_free_entry(context, &kt_entry);
context 458 source3/libads/kerberos_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 465 source3/libads/kerberos_keytab.c krb5_kt_end_seq_get(context, keytab, &cursor);
context 469 source3/libads/kerberos_keytab.c krb5_kt_close(context, keytab);
context 471 source3/libads/kerberos_keytab.c if (context) {
context 472 source3/libads/kerberos_keytab.c krb5_free_context(context);
context 484 source3/libads/kerberos_keytab.c krb5_context context = NULL;
context 568 source3/libads/kerberos_keytab.c ret = krb5_init_context(&context);
context 575 source3/libads/kerberos_keytab.c ret = smb_krb5_open_keytab(context, NULL, True, &keytab);
context 581 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 583 source3/libads/kerberos_keytab.c while ((ret = krb5_kt_next_entry(context, keytab, &kt_entry, &cursor)) == 0) {
context 584 source3/libads/kerberos_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 589 source3/libads/kerberos_keytab.c krb5_kt_end_seq_get(context, keytab, &cursor);
context 610 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 612 source3/libads/kerberos_keytab.c while (krb5_kt_next_entry(context, keytab, &kt_entry, &cursor) == 0) {
context 618 source3/libads/kerberos_keytab.c ret = smb_krb5_unparse_name(oldEntries, context, kt_entry.principal, &ktprinc);
context 651 source3/libads/kerberos_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 659 source3/libads/kerberos_keytab.c krb5_kt_end_seq_get(context, keytab, &cursor);
context 672 source3/libads/kerberos_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 679 source3/libads/kerberos_keytab.c krb5_kt_end_seq_get(context, keytab, &cursor);
context 683 source3/libads/kerberos_keytab.c krb5_kt_close(context, keytab);
context 685 source3/libads/kerberos_keytab.c if (context) {
context 686 source3/libads/kerberos_keytab.c krb5_free_context(context);
context 698 source3/libads/kerberos_keytab.c krb5_context context = NULL;
context 707 source3/libads/kerberos_keytab.c ret = krb5_init_context(&context);
context 713 source3/libads/kerberos_keytab.c ret = smb_krb5_open_keytab(context, keytab_name, False, &keytab);
context 719 source3/libads/kerberos_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 726 source3/libads/kerberos_keytab.c while (krb5_kt_next_entry(context, keytab, &kt_entry, &cursor) == 0) {
context 732 source3/libads/kerberos_keytab.c ret = smb_krb5_unparse_name(talloc_tos(), context, kt_entry.principal, &princ_s);
context 739 source3/libads/kerberos_keytab.c ret = smb_krb5_enctype_to_string(context, enctype, &etype_s);
context 753 source3/libads/kerberos_keytab.c ret = smb_krb5_kt_free_entry(context, &kt_entry);
context 759 source3/libads/kerberos_keytab.c ret = krb5_kt_end_seq_get(context, keytab, &cursor);
context 773 source3/libads/kerberos_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 780 source3/libads/kerberos_keytab.c krb5_kt_end_seq_get(context, keytab, &cursor);
context 785 source3/libads/kerberos_keytab.c krb5_kt_close(context, keytab);
context 787 source3/libads/kerberos_keytab.c if (context) {
context 788 source3/libads/kerberos_keytab.c krb5_free_context(context);
context 34 source3/libads/kerberos_verify.c static bool ads_dedicated_keytab_verify_ticket(krb5_context context,
context 57 source3/libads/kerberos_verify.c ret = smb_krb5_open_keytab(context, lp_dedicated_keytab_file(), true,
context 68 source3/libads/kerberos_verify.c ret = krb5_rd_req(context, &auth_context, &packet, NULL, keytab,
context 83 source3/libads/kerberos_verify.c ret = krb5_kt_get_entry(context, keytab, dec_ticket->server,
context 91 source3/libads/kerberos_verify.c ret = krb5_copy_keyblock(context, KRB5_KT_KEY(&kt_entry), keyblock);
context 92 source3/libads/kerberos_verify.c smb_krb5_kt_free_entry(context, &kt_entry);
context 106 source3/libads/kerberos_verify.c krb5_free_ticket(context, dec_ticket);
context 109 source3/libads/kerberos_verify.c krb5_kt_close(context, keytab);
context 121 source3/libads/kerberos_verify.c static bool ads_keytab_verify_ticket(krb5_context context,
context 178 source3/libads/kerberos_verify.c ret = smb_krb5_open_keytab(context, NULL, False, &keytab);
context 188 source3/libads/kerberos_verify.c ret = krb5_kt_start_seq_get(context, keytab, &kt_cursor);
context 194 source3/libads/kerberos_verify.c while (!auth_ok && (krb5_kt_next_entry(context, keytab, &kt_entry, &kt_cursor) == 0)) {
context 195 source3/libads/kerberos_verify.c ret = smb_krb5_unparse_name(talloc_tos(), context, kt_entry.principal, &entry_princ_s);
context 213 source3/libads/kerberos_verify.c ret = krb5_rd_req_return_keyblock_from_keytab(context, &auth_context, &packet,
context 248 source3/libads/kerberos_verify.c smb_krb5_kt_free_entry(context, &kt_entry);
context 251 source3/libads/kerberos_verify.c krb5_kt_end_seq_get(context, keytab, &kt_cursor);
context 276 source3/libads/kerberos_verify.c smb_krb5_kt_free_entry(context, &kt_entry);
context 284 source3/libads/kerberos_verify.c krb5_kt_end_seq_get(context, keytab, &kt_cursor);
context 289 source3/libads/kerberos_verify.c krb5_kt_close(context, keytab);
context 299 source3/libads/kerberos_verify.c static krb5_error_code ads_secrets_verify_ticket(krb5_context context,
context 357 source3/libads/kerberos_verify.c if (create_kerberos_key_from_string(context, host_princ, &password, key, enctypes[i], false)) {
context 362 source3/libads/kerberos_verify.c krb5_auth_con_setuseruserkey(context, auth_context, key);
context 364 source3/libads/kerberos_verify.c if (!(ret = krb5_rd_req(context, &auth_context, &packet,
context 370 source3/libads/kerberos_verify.c krb5_copy_keyblock(context, key, keyblock);
context 371 source3/libads/kerberos_verify.c krb5_free_keyblock(context, key);
context 383 source3/libads/kerberos_verify.c krb5_free_keyblock(context, key);
context 387 source3/libads/kerberos_verify.c krb5_free_keyblock(context, key);
context 415 source3/libads/kerberos_verify.c krb5_context context = NULL;
context 440 source3/libads/kerberos_verify.c ret = krb5_init_context(&context);
context 447 source3/libads/kerberos_verify.c krb5_set_real_time(context, time(NULL) + time_offset, 0);
context 450 source3/libads/kerberos_verify.c ret = krb5_set_default_realm(context, realm);
context 460 source3/libads/kerberos_verify.c ret = krb5_auth_con_init(context, &auth_context);
context 466 source3/libads/kerberos_verify.c krb5_auth_con_getflags( context, auth_context, &flags );
context 470 source3/libads/kerberos_verify.c krb5_auth_con_setflags( context, auth_context, flags );
context 478 source3/libads/kerberos_verify.c ret = smb_krb5_parse_name(context, host_princ_s, &host_princ);
context 504 source3/libads/kerberos_verify.c ret = krb5_get_server_rcache(context,
context 505 source3/libads/kerberos_verify.c krb5_princ_component(context, host_princ, 0),
context 513 source3/libads/kerberos_verify.c ret = krb5_auth_con_setrcache(context, auth_context, rcache);
context 524 source3/libads/kerberos_verify.c auth_ok = ads_secrets_verify_ticket(context, auth_context,
context 528 source3/libads/kerberos_verify.c auth_ok = ads_keytab_verify_ticket(context, auth_context,
context 532 source3/libads/kerberos_verify.c auth_ok = ads_dedicated_keytab_verify_ticket(context,
context 539 source3/libads/kerberos_verify.c auth_ok = ads_secrets_verify_ticket(context, auth_context,
context 547 source3/libads/kerberos_verify.c auth_ok = ads_keytab_verify_ticket(context,
context 560 source3/libads/kerberos_verify.c krb5_rc_close(context, rcache);
context 583 source3/libads/kerberos_verify.c ret = krb5_mk_rep(context, auth_context, &packet);
context 592 source3/libads/kerberos_verify.c kerberos_free_data_contents(context, &packet);
context 596 source3/libads/kerberos_verify.c get_krb5_smb_session_key(context, auth_context, session_key, True);
context 613 source3/libads/kerberos_verify.c pac_ret = decode_pac_data(mem_ctx, &auth_data, context, keyblock, client_principal, authtime, pac_data);
context 639 source3/libads/kerberos_verify.c if ((ret = smb_krb5_unparse_name(mem_ctx, context, client_principal, principal))) {
context 661 source3/libads/kerberos_verify.c krb5_free_principal(context, host_princ);
context 665 source3/libads/kerberos_verify.c krb5_free_keyblock(context, keyblock);
context 669 source3/libads/kerberos_verify.c krb5_free_ticket(context, tkt);
context 675 source3/libads/kerberos_verify.c krb5_auth_con_free(context, auth_context);
context 678 source3/libads/kerberos_verify.c if (context) {
context 679 source3/libads/kerberos_verify.c krb5_free_context(context);
context 137 source3/libads/krb5_setpw.c krb5_context context,
context 153 source3/libads/krb5_setpw.c ret = krb5_auth_con_setflags(context,
context 177 source3/libads/krb5_setpw.c ret = krb5_mk_priv(context, auth_context,
context 235 source3/libads/krb5_setpw.c static krb5_error_code setpw_result_code_string(krb5_context context,
context 272 source3/libads/krb5_setpw.c static krb5_error_code parse_setpw_reply(krb5_context context,
context 297 source3/libads/krb5_setpw.c ret = handle_krberror_packet(context, packet);
context 350 source3/libads/krb5_setpw.c ret = krb5_rd_rep(context, auth_context, &ap_rep, &ap_rep_enc);
context 356 source3/libads/krb5_setpw.c krb5_free_ap_rep_enc_part(context, ap_rep_enc);
context 361 source3/libads/krb5_setpw.c ret = krb5_rd_priv(context, auth_context, &cipherresult, &clearresult,
context 389 source3/libads/krb5_setpw.c setpw_result_code_string(context, res_code, &errstr);
context 396 source3/libads/krb5_setpw.c static ADS_STATUS do_krb5_kpasswd_request(krb5_context context,
context 416 source3/libads/krb5_setpw.c ret = krb5_mk_req_extended(context, &auth_context, AP_OPTS_USE_SUBKEY,
context 431 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 442 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 454 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 462 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 472 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 477 source3/libads/krb5_setpw.c ret = krb5_auth_con_setaddrs(context, auth_context, &local_kaddr, NULL);
context 481 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 486 source3/libads/krb5_setpw.c ret = build_kpasswd_request(pversion, context, auth_context, &ap_req,
context 491 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 502 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 514 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 525 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 533 source3/libads/krb5_setpw.c ret = krb5_auth_con_setaddrs(context, auth_context, NULL,&remote_kaddr);
context 537 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 543 source3/libads/krb5_setpw.c ret = parse_setpw_reply(context, use_tcp, auth_context, &chpw_rep);
context 555 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 562 source3/libads/krb5_setpw.c krb5_auth_con_free(context, auth_context);
context 574 source3/libads/krb5_setpw.c krb5_context context = NULL;
context 589 source3/libads/krb5_setpw.c ret = krb5_init_context(&context);
context 596 source3/libads/krb5_setpw.c krb5_set_real_time(context, time(NULL) + time_offset, 0);
context 599 source3/libads/krb5_setpw.c ret = krb5_cc_default(context, &ccache);
context 601 source3/libads/krb5_setpw.c krb5_free_context(context);
context 608 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 609 source3/libads/krb5_setpw.c krb5_free_context(context);
context 616 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 617 source3/libads/krb5_setpw.c krb5_free_context(context);
context 622 source3/libads/krb5_setpw.c ret = smb_krb5_parse_name(context, princ_name, &creds.server);
context 624 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 625 source3/libads/krb5_setpw.c krb5_free_context(context);
context 631 source3/libads/krb5_setpw.c ret = smb_krb5_parse_name(context, princ, &principal);
context 633 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 634 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server);
context 635 source3/libads/krb5_setpw.c krb5_free_context(context);
context 645 source3/libads/krb5_setpw.c orig_realm = *krb5_princ_realm(context, creds.server);
context 646 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, krb5_princ_realm(context, principal));
context 648 source3/libads/krb5_setpw.c ret = krb5_cc_get_principal(context, ccache, &creds.client);
context 650 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 651 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, &orig_realm);
context 652 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server);
context 653 source3/libads/krb5_setpw.c krb5_free_principal(context, principal);
context 654 source3/libads/krb5_setpw.c krb5_free_context(context);
context 660 source3/libads/krb5_setpw.c ret = krb5_get_credentials(context, 0, ccache, &creds, &credsp);
context 662 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 663 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.client);
context 664 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, &orig_realm);
context 665 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server);
context 666 source3/libads/krb5_setpw.c krb5_free_principal(context, principal);
context 667 source3/libads/krb5_setpw.c krb5_free_context(context);
context 674 source3/libads/krb5_setpw.c aret = do_krb5_kpasswd_request(context, kdc_host,
context 678 source3/libads/krb5_setpw.c krb5_free_creds(context, credsp);
context 679 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.client);
context 680 source3/libads/krb5_setpw.c krb5_princ_set_realm(context, creds.server, &orig_realm);
context 681 source3/libads/krb5_setpw.c krb5_free_principal(context, creds.server);
context 682 source3/libads/krb5_setpw.c krb5_free_principal(context, principal);
context 683 source3/libads/krb5_setpw.c krb5_cc_close(context, ccache);
context 684 source3/libads/krb5_setpw.c krb5_free_context(context);
context 725 source3/libads/krb5_setpw.c krb5_context context = NULL;
context 732 source3/libads/krb5_setpw.c ret = krb5_init_context(&context);
context 738 source3/libads/krb5_setpw.c if ((ret = smb_krb5_parse_name(context, principal,
context 740 source3/libads/krb5_setpw.c krb5_free_context(context);
context 753 source3/libads/krb5_setpw.c (char *) krb5_princ_realm(context, princ)) == -1) {
context 754 source3/libads/krb5_setpw.c krb5_free_context(context);
context 760 source3/libads/krb5_setpw.c ret = krb5_get_init_creds_password(context, &creds, princ, password,
context 772 source3/libads/krb5_setpw.c krb5_free_principal(context, princ);
context 773 source3/libads/krb5_setpw.c krb5_free_context(context);
context 777 source3/libads/krb5_setpw.c aret = do_krb5_kpasswd_request(context, kdc_host,
context 781 source3/libads/krb5_setpw.c krb5_free_principal(context, princ);
context 782 source3/libads/krb5_setpw.c krb5_free_context(context);
context 36 source3/libnet/libnet_keytab.c if (ctx->keytab && ctx->context) {
context 37 source3/libnet/libnet_keytab.c krb5_kt_close(ctx->context, ctx->keytab);
context 40 source3/libnet/libnet_keytab.c if (ctx->context) {
context 41 source3/libnet/libnet_keytab.c krb5_free_context(ctx->context);
context 61 source3/libnet/libnet_keytab.c krb5_context context = NULL;
context 75 source3/libnet/libnet_keytab.c ret = krb5_init_context(&context);
context 82 source3/libnet/libnet_keytab.c ret = smb_krb5_open_keytab(context, keytab_name, true, &keytab);
context 86 source3/libnet/libnet_keytab.c krb5_free_context(context);
context 90 source3/libnet/libnet_keytab.c ret = smb_krb5_keytab_name(mem_ctx, context, keytab, &keytab_string);
context 92 source3/libnet/libnet_keytab.c krb5_kt_close(context, keytab);
context 93 source3/libnet/libnet_keytab.c krb5_free_context(context);
context 97 source3/libnet/libnet_keytab.c r->context = context;
context 113 source3/libnet/libnet_keytab.c static krb5_error_code libnet_keytab_remove_entries(krb5_context context,
context 127 source3/libnet/libnet_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 132 source3/libnet/libnet_keytab.c while (krb5_kt_next_entry(context, keytab, &kt_entry, &cursor) == 0)
context 147 source3/libnet/libnet_keytab.c ret = smb_krb5_unparse_name(talloc_tos(), context, kt_entry.principal,
context 165 source3/libnet/libnet_keytab.c ret = krb5_kt_end_seq_get(context, keytab, &cursor);
context 173 source3/libnet/libnet_keytab.c ret = krb5_kt_remove_entry(context, keytab,
context 184 source3/libnet/libnet_keytab.c ret = krb5_kt_start_seq_get(context, keytab, &cursor);
context 192 source3/libnet/libnet_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 196 source3/libnet/libnet_keytab.c ret = krb5_kt_end_seq_get(context, keytab, &cursor);
context 205 source3/libnet/libnet_keytab.c static krb5_error_code libnet_keytab_add_entry(krb5_context context,
context 217 source3/libnet/libnet_keytab.c ret = libnet_keytab_remove_entries(context, keytab, princ_s, kvno,
context 228 source3/libnet/libnet_keytab.c ret = smb_krb5_parse_name(context, princ_s, &kt_entry.principal);
context 237 source3/libnet/libnet_keytab.c if (create_kerberos_key_from_string(context, kt_entry.principal,
context 244 source3/libnet/libnet_keytab.c ret = krb5_kt_add_entry(context, keytab, &kt_entry);
context 251 source3/libnet/libnet_keytab.c krb5_free_keyblock_contents(context, keyp);
context 252 source3/libnet/libnet_keytab.c krb5_free_principal(context, kt_entry.principal);
context 254 source3/libnet/libnet_keytab.c smb_krb5_kt_free_entry(context, &kt_entry);
context 270 source3/libnet/libnet_keytab.c ret = libnet_keytab_remove_entries(ctx->context,
context 295 source3/libnet/libnet_keytab.c ret = libnet_keytab_add_entry(ctx->context,
context 325 source3/libnet/libnet_keytab.c ret = krb5_kt_start_seq_get(ctx->context, ctx->keytab, &cursor);
context 332 source3/libnet/libnet_keytab.c while (krb5_kt_next_entry(ctx->context, ctx->keytab, &kt_entry, &cursor) == 0)
context 355 source3/libnet/libnet_keytab.c ret = smb_krb5_unparse_name(entry, ctx->context, kt_entry.principal,
context 382 source3/libnet/libnet_keytab.c smb_krb5_kt_free_entry(ctx->context, &kt_entry);
context 386 source3/libnet/libnet_keytab.c smb_krb5_kt_free_entry(ctx->context, &kt_entry);
context 391 source3/libnet/libnet_keytab.c smb_krb5_kt_free_entry(ctx->context, &kt_entry);
context 396 source3/libnet/libnet_keytab.c krb5_kt_end_seq_get(ctx->context, ctx->keytab, &cursor);
context 31 source3/libnet/libnet_keytab.h krb5_context context;
context 35 source3/libsmb/clikrb5.c static krb5_error_code ads_krb5_get_fwd_ticket( krb5_context context,
context 51 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_parse_name(krb5_context context,
context 63 source3/libsmb/clikrb5.c ret = krb5_parse_name(context, utf8_name, principal);
context 73 source3/libsmb/clikrb5.c static krb5_error_code smb_krb5_parse_name_norealm_conv(krb5_context context,
context 86 source3/libsmb/clikrb5.c ret = krb5_parse_name_norealm(context, utf8_name, principal);
context 98 source3/libsmb/clikrb5.c krb5_context context,
context 107 source3/libsmb/clikrb5.c ret = krb5_unparse_name(context, principal, &utf8_name);
context 113 source3/libsmb/clikrb5.c krb5_free_unparsed_name(context, utf8_name);
context 116 source3/libsmb/clikrb5.c krb5_free_unparsed_name(context, utf8_name);
context 124 source3/libsmb/clikrb5.c krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds)
context 129 source3/libsmb/clikrb5.c ret = krb5_us_timeofday(context, &sec, &usec);
context 133 source3/libsmb/clikrb5.c context->kdc_sec_offset = seconds - sec;
context 134 source3/libsmb/clikrb5.c context->kdc_usec_offset = microseconds - usec;
context 216 source3/libsmb/clikrb5.c static int create_kerberos_key_from_string_direct(krb5_context context,
context 226 source3/libsmb/clikrb5.c ret = krb5_principal2salt(context, host_princ, &salt);
context 231 source3/libsmb/clikrb5.c krb5_use_enctype(context, &eblock, enctype);
context 232 source3/libsmb/clikrb5.c ret = krb5_string_to_key(context, &eblock, key, password, &salt);
context 238 source3/libsmb/clikrb5.c static int create_kerberos_key_from_string_direct(krb5_context context,
context 247 source3/libsmb/clikrb5.c ret = krb5_get_pw_salt(context, host_princ, &salt);
context 253 source3/libsmb/clikrb5.c ret = krb5_string_to_key_salt(context, enctype, (const char *)password->data, salt, key);
context 254 source3/libsmb/clikrb5.c krb5_free_salt(context, salt);
context 262 source3/libsmb/clikrb5.c int create_kerberos_key_from_string(krb5_context context,
context 286 source3/libsmb/clikrb5.c salt_princ = kerberos_fetch_salt_princ_for_host_princ(context, host_princ, enctype);
context 287 source3/libsmb/clikrb5.c ret = create_kerberos_key_from_string_direct(context, salt_princ ? salt_princ : host_princ, password, key, enctype);
context 289 source3/libsmb/clikrb5.c krb5_free_principal(context, salt_princ);
context 295 source3/libsmb/clikrb5.c krb5_error_code get_kerberos_allowed_etypes(krb5_context context,
context 298 source3/libsmb/clikrb5.c return krb5_get_permitted_enctypes(context, enctypes);
context 301 source3/libsmb/clikrb5.c krb5_error_code get_kerberos_allowed_etypes(krb5_context context,
context 304 source3/libsmb/clikrb5.c return krb5_get_default_in_tkt_etypes(context, enctypes);
context 311 source3/libsmb/clikrb5.c krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context,
context 315 source3/libsmb/clikrb5.c return krb5_auth_con_setkey(context, auth_context, keyblock);
context 570 source3/libsmb/clikrb5.c void krb5_free_unparsed_name(krb5_context context, char *val)
context 576 source3/libsmb/clikrb5.c void kerberos_free_data_contents(krb5_context context, krb5_data *pdata)
context 580 source3/libsmb/clikrb5.c krb5_free_data_contents(context, pdata);
context 598 source3/libsmb/clikrb5.c bool kerberos_compatible_enctypes(krb5_context context,
context 605 source3/libsmb/clikrb5.c krb5_c_enctype_compare(context, enctype1, enctype2, &similar);
context 608 source3/libsmb/clikrb5.c return krb5_enctypes_compatible_keys(context, enctype1, enctype2) ? True : False;
context 612 source3/libsmb/clikrb5.c static bool ads_cleanup_expired_creds(krb5_context context,
context 617 source3/libsmb/clikrb5.c const char *cc_type = krb5_cc_get_type(context, ccache);
context 620 source3/libsmb/clikrb5.c cc_type, krb5_cc_get_name(context, ccache),
context 639 source3/libsmb/clikrb5.c retval = krb5_cc_remove_cred(context, ccache, 0, credsp);
context 652 source3/libsmb/clikrb5.c static krb5_error_code ads_krb5_mk_req(krb5_context context,
context 670 source3/libsmb/clikrb5.c retval = smb_krb5_parse_name(context, principal, &server);
context 678 source3/libsmb/clikrb5.c if ((retval = krb5_copy_principal(context, server, &creds.server))) {
context 684 source3/libsmb/clikrb5.c if ((retval = krb5_cc_get_principal(context, ccache, &creds.client))) {
context 694 source3/libsmb/clikrb5.c if ((retval = krb5_get_credentials(context, 0, ccache,
context 706 source3/libsmb/clikrb5.c krb5_set_real_time(context, t + time_offset + 1, 0);
context 709 source3/libsmb/clikrb5.c if (!ads_cleanup_expired_creds(context, ccache, credsp)) {
context 717 source3/libsmb/clikrb5.c principal, krb5_cc_get_type(context, ccache), krb5_cc_get_name(context, ccache),
context 734 source3/libsmb/clikrb5.c retval = krb5_auth_con_init( context, auth_context );
context 742 source3/libsmb/clikrb5.c retval = krb5_auth_con_setuseruserkey( context, *auth_context, &credsp->keyblock );
context 750 source3/libsmb/clikrb5.c retval = krb5_auth_con_setflags( context, *auth_context, KRB5_AUTH_CONTEXT_USE_SUBKEY);
context 757 source3/libsmb/clikrb5.c retval = ads_krb5_get_fwd_ticket( context,
context 776 source3/libsmb/clikrb5.c krb5_auth_con_free(context, *auth_context);
context 782 source3/libsmb/clikrb5.c retval = krb5_mk_req_extended(context, auth_context, ap_req_options,
context 794 source3/libsmb/clikrb5.c krb5_free_creds(context, credsp);
context 797 source3/libsmb/clikrb5.c krb5_free_cred_contents(context, &creds);
context 800 source3/libsmb/clikrb5.c krb5_free_principal(context, server);
context 816 source3/libsmb/clikrb5.c krb5_context context = NULL;
context 828 source3/libsmb/clikrb5.c retval = krb5_init_context(&context);
context 836 source3/libsmb/clikrb5.c krb5_set_real_time(context, time(NULL) + time_offset, 0);
context 839 source3/libsmb/clikrb5.c if ((retval = krb5_cc_resolve(context, ccname ?
context 840 source3/libsmb/clikrb5.c ccname : krb5_cc_default_name(context), &ccdef))) {
context 846 source3/libsmb/clikrb5.c if ((retval = krb5_set_default_tgs_ktypes(context, enc_types))) {
context 852 source3/libsmb/clikrb5.c if ((retval = ads_krb5_mk_req(context,
context 861 source3/libsmb/clikrb5.c get_krb5_smb_session_key(context, auth_context, session_key_krb5, False);
context 865 source3/libsmb/clikrb5.c kerberos_free_data_contents(context, &packet);
context 869 source3/libsmb/clikrb5.c if ( context ) {
context 871 source3/libsmb/clikrb5.c krb5_cc_close(context, ccdef);
context 873 source3/libsmb/clikrb5.c krb5_auth_con_free(context, auth_context);
context 874 source3/libsmb/clikrb5.c krb5_free_context(context);
context 880 source3/libsmb/clikrb5.c bool get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, bool remote)
context 887 source3/libsmb/clikrb5.c err = krb5_auth_con_getremotesubkey(context, auth_context, &skey);
context 889 source3/libsmb/clikrb5.c err = krb5_auth_con_getlocalsubkey(context, auth_context, &skey);
context 905 source3/libsmb/clikrb5.c krb5_free_keyblock(context, skey);
context 913 source3/libsmb/clikrb5.c const krb5_data *krb5_princ_component(krb5_context context, krb5_principal principal, int i );
context 915 source3/libsmb/clikrb5.c const krb5_data *krb5_princ_component(krb5_context context, krb5_principal principal, int i )
context 919 source3/libsmb/clikrb5.c kdata.data = (char *)krb5_principal_get_comp_string(context, principal, i);
context 925 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry)
context 928 source3/libsmb/clikrb5.c return krb5_kt_free_entry(context, kt_entry);
context 930 source3/libsmb/clikrb5.c return krb5_free_keytab_entry_contents(context, kt_entry);
context 950 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_verify_checksum(krb5_context context,
context 977 source3/libsmb/clikrb5.c ret = krb5_c_verify_checksum(context,
context 1001 source3/libsmb/clikrb5.c ret = krb5_crypto_init(context,
context 1011 source3/libsmb/clikrb5.c ret = krb5_verify_checksum(context,
context 1018 source3/libsmb/clikrb5.c krb5_crypto_destroy(context, crypto);
context 1061 source3/libsmb/clikrb5.c get_key_from_keytab(krb5_context context,
context 1078 source3/libsmb/clikrb5.c ret = smb_krb5_open_keytab(context, NULL, False, &keytab);
context 1085 source3/libsmb/clikrb5.c if (smb_krb5_unparse_name(talloc_tos(), context, server, &name) == 0) {
context 1092 source3/libsmb/clikrb5.c ret = krb5_kt_get_entry(context,
context 1106 source3/libsmb/clikrb5.c ret = krb5_copy_keyblock(context, keyp, out_key);
context 1112 source3/libsmb/clikrb5.c smb_krb5_kt_free_entry(context, &entry);
context 1115 source3/libsmb/clikrb5.c krb5_kt_close(context, keytab);
context 1121 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
context 1131 source3/libsmb/clikrb5.c ret = krb5_decode_ap_req(context, inbuf, &ap_req);
context 1147 source3/libsmb/clikrb5.c krb5_error_code krb5_rd_req_return_keyblock_from_keytab(krb5_context context,
context 1161 source3/libsmb/clikrb5.c ret = krb5_rd_req(context,
context 1176 source3/libsmb/clikrb5.c ret = smb_krb5_get_keyinfo_from_ap_req(context, inbuf, &kvno, &enctype);
context 1182 source3/libsmb/clikrb5.c ret = get_key_from_keytab(context,
context 1194 source3/libsmb/clikrb5.c krb5_free_keyblock(context, local_keyblock);
context 1202 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
context 1207 source3/libsmb/clikrb5.c return smb_krb5_parse_name_norealm_conv(context, name, principal);
context 1215 source3/libsmb/clikrb5.c return smb_krb5_parse_name(context, name, principal);
context 1218 source3/libsmb/clikrb5.c bool smb_krb5_principal_compare_any_realm(krb5_context context,
context 1224 source3/libsmb/clikrb5.c return krb5_principal_compare_any_realm(context, princ1, princ2);
context 1232 source3/libsmb/clikrb5.c len1 = krb5_princ_size(context, princ1);
context 1233 source3/libsmb/clikrb5.c len2 = krb5_princ_size(context, princ2);
context 1240 source3/libsmb/clikrb5.c p1 = krb5_princ_component(context, CONST_DISCARD(krb5_principal, princ1), i);
context 1241 source3/libsmb/clikrb5.c p2 = krb5_princ_component(context, CONST_DISCARD(krb5_principal, princ2), i);
context 1259 source3/libsmb/clikrb5.c krb5_context context = NULL;
context 1268 source3/libsmb/clikrb5.c ret = krb5_init_context(&context);
context 1274 source3/libsmb/clikrb5.c ccache_string = krb5_cc_default_name(context);
context 1285 source3/libsmb/clikrb5.c ret = krb5_cc_resolve(context, CONST_DISCARD(char *, ccache_string), &ccache);
context 1291 source3/libsmb/clikrb5.c ret = smb_krb5_parse_name(context, client_string, &client);
context 1296 source3/libsmb/clikrb5.c ret = krb5_cc_get_principal(context, ccache, &client);
context 1304 source3/libsmb/clikrb5.c ret = krb5_get_renewed_creds(context, &creds, client, ccache, CONST_DISCARD(char *, service_string));
context 1315 source3/libsmb/clikrb5.c ret = krb5_copy_principal(context, client, &creds_in.client);
context 1321 source3/libsmb/clikrb5.c ret = smb_krb5_parse_name(context, service_string, &creds_in.server);
context 1327 source3/libsmb/clikrb5.c client_realm = krb5_princ_realm(context, creds_in.client);
context 1332 source3/libsmb/clikrb5.c ret = krb5_make_principal(context, &creds_in.server, *client_realm, KRB5_TGS_NAME, *client_realm, NULL);
context 1341 source3/libsmb/clikrb5.c ret = krb5_get_kdc_cred(context, ccache, flags, NULL, NULL, &creds_in, &creds_out);
context 1354 source3/libsmb/clikrb5.c ret = krb5_cc_initialize(context, ccache, client);
context 1359 source3/libsmb/clikrb5.c ret = krb5_cc_store_cred(context, ccache, &creds);
context 1366 source3/libsmb/clikrb5.c krb5_free_cred_contents(context, &creds_in);
context 1369 source3/libsmb/clikrb5.c krb5_free_creds(context, creds_out);
context 1371 source3/libsmb/clikrb5.c krb5_free_cred_contents(context, &creds);
context 1375 source3/libsmb/clikrb5.c krb5_free_principal(context, client);
context 1378 source3/libsmb/clikrb5.c krb5_cc_close(context, ccache);
context 1380 source3/libsmb/clikrb5.c if (context) {
context 1381 source3/libsmb/clikrb5.c krb5_free_context(context);
context 1387 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_free_addresses(krb5_context context, smb_krb5_addresses *addr)
context 1394 source3/libsmb/clikrb5.c krb5_free_addresses(context, addr->addrs);
context 1396 source3/libsmb/clikrb5.c ret = krb5_free_addresses(context, addr->addrs);
context 1493 source3/libsmb/clikrb5.c void smb_krb5_free_error(krb5_context context, krb5_error *krberror)
context 1496 source3/libsmb/clikrb5.c krb5_free_error_contents(context, krberror);
context 1498 source3/libsmb/clikrb5.c krb5_free_error(context, krberror);
context 1502 source3/libsmb/clikrb5.c krb5_error_code handle_krberror_packet(krb5_context context,
context 1514 source3/libsmb/clikrb5.c if ((ret = krb5_rd_error(context, packet, &krberror))) {
context 1525 source3/libsmb/clikrb5.c smb_krb5_free_error(context, &krberror);
context 1531 source3/libsmb/clikrb5.c if ((ret = krb5_rd_error(context, packet, &krberror))) {
context 1541 source3/libsmb/clikrb5.c smb_krb5_free_error(context, krberror);
context 1551 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_get_init_creds_opt_alloc(krb5_context context,
context 1556 source3/libsmb/clikrb5.c return krb5_get_init_creds_opt_alloc(context, opt);
context 1574 source3/libsmb/clikrb5.c void smb_krb5_get_init_creds_opt_free(krb5_context context,
context 1581 source3/libsmb/clikrb5.c krb5_get_init_creds_opt_free(context, opt);
context 1601 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_enctype_to_string(krb5_context context,
context 1606 source3/libsmb/clikrb5.c return krb5_enctype_to_string(context, enctype, etype_s); /* Heimdal */
context 1623 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_mk_error(krb5_context context,
context 1636 source3/libsmb/clikrb5.c krb5_us_timeofday(context, &e.stime, &e.susec);
context 1646 source3/libsmb/clikrb5.c return krb5_mk_error(context, &e, reply);
context 1648 source3/libsmb/clikrb5.c return krb5_mk_error(context,
context 1675 source3/libsmb/clikrb5.c krb5_error_code smb_krb5_open_keytab(krb5_context context,
context 1690 source3/libsmb/clikrb5.c return krb5_kt_default(context, keytab);
context 1734 source3/libsmb/clikrb5.c ret = krb5_kt_default_name(context, &keytab_string[0], MAX_KEYTAB_NAME_LEN - 2);
context 1793 source3/libsmb/clikrb5.c ret = krb5_kt_resolve(context, tmp, keytab);
context 1801 source3/libsmb/clikrb5.c krb5_context context,
context 1808 source3/libsmb/clikrb5.c ret = krb5_kt_get_name(context, keytab,
context 1845 source3/libsmb/clikrb5.c static krb5_error_code ads_krb5_get_fwd_ticket( krb5_context context,
context 1859 source3/libsmb/clikrb5.c retval = krb5_fwd_tgt_creds(context,/* Krb5 context [in] */
context 1913 source3/libsmb/clikrb5.c retval = krb5_auth_con_set_req_cksumtype( context, *auth_context, GSSAPI_CHECKSUM );
context 1928 source3/libsmb/clikrb5.c krb5_free_data_contents( context, &fwdData );
context 48 source3/libsmb/libsmb_cache.c SMBC_add_cached_server(SMBCCTX * context,
context 91 source3/libsmb/libsmb_cache.c DLIST_ADD(context->internal->server_cache, srvcache);
context 112 source3/libsmb/libsmb_cache.c SMBC_get_cached_server(SMBCCTX * context,
context 121 source3/libsmb/libsmb_cache.c for (srv = context->internal->server_cache; srv; srv = srv->next) {
context 153 source3/libsmb/libsmb_cache.c if (smbc_getOptionOneSharePerServer(context)) {
context 163 source3/libsmb/libsmb_cache.c smbc_getFunctionRemoveCachedServer(context)(context, srv->server);
context 178 source3/libsmb/libsmb_cache.c smbc_getFunctionRemoveCachedServer(context)(context, srv->server);
context 198 source3/libsmb/libsmb_cache.c SMBC_remove_cached_server(SMBCCTX * context,
context 203 source3/libsmb/libsmb_cache.c for (srv = context->internal->server_cache; srv; srv = srv->next) {
context 207 source3/libsmb/libsmb_cache.c DLIST_REMOVE(context->internal->server_cache, srv);
context 226 source3/libsmb/libsmb_cache.c SMBC_purge_cached_servers(SMBCCTX * context)
context 232 source3/libsmb/libsmb_cache.c for (srv = context->internal->server_cache,
context 238 source3/libsmb/libsmb_cache.c if (SMBC_remove_unused_server(context, srv->server)) {
context 143 source3/libsmb/libsmb_compat.c smbc_set_context(SMBCCTX * context)
context 147 source3/libsmb/libsmb_compat.c if (context) {
context 149 source3/libsmb/libsmb_compat.c statcont = context;
context 42 source3/libsmb/libsmb_context.c SMBCCTX *context;
context 48 source3/libsmb/libsmb_context.c context = SMB_MALLOC_P(SMBCCTX);
context 49 source3/libsmb/libsmb_context.c if (!context) {
context 54 source3/libsmb/libsmb_context.c ZERO_STRUCTP(context);
context 56 source3/libsmb/libsmb_context.c context->internal = SMB_MALLOC_P(struct SMBC_internal_data);
context 57 source3/libsmb/libsmb_context.c if (!context->internal) {
context 58 source3/libsmb/libsmb_context.c SAFE_FREE(context);
context 64 source3/libsmb/libsmb_context.c ZERO_STRUCTP(context->internal);
context 66 source3/libsmb/libsmb_context.c smbc_setDebug(context, 0);
context 67 source3/libsmb/libsmb_context.c smbc_setTimeout(context, 20000);
context 69 source3/libsmb/libsmb_context.c smbc_setOptionFullTimeNames(context, False);
context 70 source3/libsmb/libsmb_context.c smbc_setOptionOpenShareMode(context, SMBC_SHAREMODE_DENY_NONE);
context 71 source3/libsmb/libsmb_context.c smbc_setOptionSmbEncryptionLevel(context, SMBC_ENCRYPTLEVEL_NONE);
context 72 source3/libsmb/libsmb_context.c smbc_setOptionCaseSensitive(context, False);
context 73 source3/libsmb/libsmb_context.c smbc_setOptionBrowseMaxLmbCount(context, 3); /* # LMBs to query */
context 74 source3/libsmb/libsmb_context.c smbc_setOptionUrlEncodeReaddirEntries(context, False);
context 75 source3/libsmb/libsmb_context.c smbc_setOptionOneSharePerServer(context, False);
context 77 source3/libsmb/libsmb_context.c smbc_setFunctionAuthData(context, SMBC_get_auth_data);
context 78 source3/libsmb/libsmb_context.c smbc_setFunctionCheckServer(context, SMBC_check_server);
context 79 source3/libsmb/libsmb_context.c smbc_setFunctionRemoveUnusedServer(context, SMBC_remove_unused_server);
context 81 source3/libsmb/libsmb_context.c smbc_setOptionUserData(context, NULL);
context 82 source3/libsmb/libsmb_context.c smbc_setFunctionAddCachedServer(context, SMBC_add_cached_server);
context 83 source3/libsmb/libsmb_context.c smbc_setFunctionGetCachedServer(context, SMBC_get_cached_server);
context 84 source3/libsmb/libsmb_context.c smbc_setFunctionRemoveCachedServer(context, SMBC_remove_cached_server);
context 85 source3/libsmb/libsmb_context.c smbc_setFunctionPurgeCachedServers(context, SMBC_purge_cached_servers);
context 87 source3/libsmb/libsmb_context.c smbc_setFunctionOpen(context, SMBC_open_ctx);
context 88 source3/libsmb/libsmb_context.c smbc_setFunctionCreat(context, SMBC_creat_ctx);
context 89 source3/libsmb/libsmb_context.c smbc_setFunctionRead(context, SMBC_read_ctx);
context 90 source3/libsmb/libsmb_context.c smbc_setFunctionWrite(context, SMBC_write_ctx);
context 91 source3/libsmb/libsmb_context.c smbc_setFunctionClose(context, SMBC_close_ctx);
context 92 source3/libsmb/libsmb_context.c smbc_setFunctionUnlink(context, SMBC_unlink_ctx);
context 93 source3/libsmb/libsmb_context.c smbc_setFunctionRename(context, SMBC_rename_ctx);
context 94 source3/libsmb/libsmb_context.c smbc_setFunctionLseek(context, SMBC_lseek_ctx);
context 95 source3/libsmb/libsmb_context.c smbc_setFunctionFtruncate(context, SMBC_ftruncate_ctx);
context 96 source3/libsmb/libsmb_context.c smbc_setFunctionStat(context, SMBC_stat_ctx);
context 97 source3/libsmb/libsmb_context.c smbc_setFunctionStatVFS(context, SMBC_statvfs_ctx);
context 98 source3/libsmb/libsmb_context.c smbc_setFunctionFstatVFS(context, SMBC_fstatvfs_ctx);
context 99 source3/libsmb/libsmb_context.c smbc_setFunctionFstat(context, SMBC_fstat_ctx);
context 100 source3/libsmb/libsmb_context.c smbc_setFunctionOpendir(context, SMBC_opendir_ctx);
context 101 source3/libsmb/libsmb_context.c smbc_setFunctionClosedir(context, SMBC_closedir_ctx);
context 102 source3/libsmb/libsmb_context.c smbc_setFunctionReaddir(context, SMBC_readdir_ctx);
context 103 source3/libsmb/libsmb_context.c smbc_setFunctionGetdents(context, SMBC_getdents_ctx);
context 104 source3/libsmb/libsmb_context.c smbc_setFunctionMkdir(context, SMBC_mkdir_ctx);
context 105 source3/libsmb/libsmb_context.c smbc_setFunctionRmdir(context, SMBC_rmdir_ctx);
context 106 source3/libsmb/libsmb_context.c smbc_setFunctionTelldir(context, SMBC_telldir_ctx);
context 107 source3/libsmb/libsmb_context.c smbc_setFunctionLseekdir(context, SMBC_lseekdir_ctx);
context 108 source3/libsmb/libsmb_context.c smbc_setFunctionFstatdir(context, SMBC_fstatdir_ctx);
context 109 source3/libsmb/libsmb_context.c smbc_setFunctionChmod(context, SMBC_chmod_ctx);
context 110 source3/libsmb/libsmb_context.c smbc_setFunctionUtimes(context, SMBC_utimes_ctx);
context 111 source3/libsmb/libsmb_context.c smbc_setFunctionSetxattr(context, SMBC_setxattr_ctx);
context 112 source3/libsmb/libsmb_context.c smbc_setFunctionGetxattr(context, SMBC_getxattr_ctx);
context 113 source3/libsmb/libsmb_context.c smbc_setFunctionRemovexattr(context, SMBC_removexattr_ctx);
context 114 source3/libsmb/libsmb_context.c smbc_setFunctionListxattr(context, SMBC_listxattr_ctx);
context 116 source3/libsmb/libsmb_context.c smbc_setFunctionOpenPrintJob(context, SMBC_open_print_job_ctx);
context 117 source3/libsmb/libsmb_context.c smbc_setFunctionPrintFile(context, SMBC_print_file_ctx);
context 118 source3/libsmb/libsmb_context.c smbc_setFunctionListPrintJobs(context, SMBC_list_print_jobs_ctx);
context 119 source3/libsmb/libsmb_context.c smbc_setFunctionUnlinkPrintJob(context, SMBC_unlink_print_job_ctx);
context 121 source3/libsmb/libsmb_context.c return context;
context 132 source3/libsmb/libsmb_context.c smbc_free_context(SMBCCTX *context,
context 135 source3/libsmb/libsmb_context.c if (!context) {
context 144 source3/libsmb/libsmb_context.c f = context->internal->files;
context 146 source3/libsmb/libsmb_context.c smbc_getFunctionClose(context)(context, f);
context 149 source3/libsmb/libsmb_context.c context->internal->files = NULL;
context 152 source3/libsmb/libsmb_context.c if (smbc_getFunctionPurgeCachedServers(context)(context)) {
context 157 source3/libsmb/libsmb_context.c s = context->internal->servers;
context 162 source3/libsmb/libsmb_context.c smbc_getFunctionRemoveCachedServer(context)(context,
context 165 source3/libsmb/libsmb_context.c DLIST_REMOVE(context->internal->servers, s);
context 169 source3/libsmb/libsmb_context.c context->internal->servers = NULL;
context 174 source3/libsmb/libsmb_context.c if (smbc_getFunctionPurgeCachedServers(context)(context)) {
context 180 source3/libsmb/libsmb_context.c if (context->internal->servers) {
context 186 source3/libsmb/libsmb_context.c if (context->internal->files) {
context 195 source3/libsmb/libsmb_context.c free(smbc_getWorkgroup(context));
context 196 source3/libsmb/libsmb_context.c smbc_setWorkgroup(context, NULL);
context 198 source3/libsmb/libsmb_context.c free(smbc_getNetbiosName(context));
context 199 source3/libsmb/libsmb_context.c smbc_setNetbiosName(context, NULL);
context 201 source3/libsmb/libsmb_context.c free(smbc_getUser(context));
context 202 source3/libsmb/libsmb_context.c smbc_setUser(context, NULL);
context 204 source3/libsmb/libsmb_context.c DEBUG(3, ("Context %p successfully freed\n", context));
context 207 source3/libsmb/libsmb_context.c TALLOC_FREE(context->internal->auth_info);
context 209 source3/libsmb/libsmb_context.c SAFE_FREE(context->internal);
context 210 source3/libsmb/libsmb_context.c SAFE_FREE(context);
context 231 source3/libsmb/libsmb_context.c smbc_option_set(SMBCCTX *context,
context 248 source3/libsmb/libsmb_context.c smbc_setOptionDebugToStderr(context, option_value.b);
context 252 source3/libsmb/libsmb_context.c smbc_setOptionFullTimeNames(context, option_value.b);
context 256 source3/libsmb/libsmb_context.c smbc_setOptionOpenShareMode(context, option_value.i);
context 261 source3/libsmb/libsmb_context.c smbc_setFunctionAuthDataWithContext(context, option_value.auth_fn);
context 265 source3/libsmb/libsmb_context.c smbc_setOptionUserData(context, option_value.v);
context 270 source3/libsmb/libsmb_context.c smbc_setOptionSmbEncryptionLevel(context,
context 273 source3/libsmb/libsmb_context.c smbc_setOptionSmbEncryptionLevel(context,
context 276 source3/libsmb/libsmb_context.c smbc_setOptionSmbEncryptionLevel(context,
context 282 source3/libsmb/libsmb_context.c smbc_setOptionBrowseMaxLmbCount(context, option_value.i);
context 286 source3/libsmb/libsmb_context.c smbc_setOptionUrlEncodeReaddirEntries(context, option_value.b);
context 290 source3/libsmb/libsmb_context.c smbc_setOptionOneSharePerServer(context, option_value.b);
context 294 source3/libsmb/libsmb_context.c smbc_setOptionUseKerberos(context, option_value.b);
context 298 source3/libsmb/libsmb_context.c smbc_setOptionFallbackAfterKerberos(context, option_value.b);
context 302 source3/libsmb/libsmb_context.c smbc_setOptionNoAutoAnonymousLogin(context, option_value.b);
context 314 source3/libsmb/libsmb_context.c smbc_option_get(SMBCCTX *context,
context 319 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionDebugToStderr(context);
context 321 source3/libsmb/libsmb_context.c return (void *) smbc_getOptionDebugToStderr(context);
context 326 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionFullTimeNames(context);
context 328 source3/libsmb/libsmb_context.c return (void *) smbc_getOptionFullTimeNames(context);
context 333 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionOpenShareMode(context);
context 335 source3/libsmb/libsmb_context.c return (void *) smbc_getOptionOpenShareMode(context);
context 339 source3/libsmb/libsmb_context.c return (void *) smbc_getFunctionAuthDataWithContext(context);
context 342 source3/libsmb/libsmb_context.c return smbc_getOptionUserData(context);
context 345 source3/libsmb/libsmb_context.c switch(smbc_getOptionSmbEncryptionLevel(context))
context 359 source3/libsmb/libsmb_context.c for (s = context->internal->servers; s; s = s->next) {
context 373 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionBrowseMaxLmbCount(context);
context 375 source3/libsmb/libsmb_context.c return (void *) smbc_getOptionBrowseMaxLmbCount(context);
context 380 source3/libsmb/libsmb_context.c return (void *)(intptr_t) smbc_getOptionUrlEncodeReaddirEntries(context);
context 382 source3/libsmb/libsmb_context.c return (void *) (bool) smbc_getOptionUrlEncodeReaddirEntries(context);
context 387 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionOneSharePerServer(context);
context 389 source3/libsmb/libsmb_context.c return (void *) (bool) smbc_getOptionOneSharePerServer(context);
context 394 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionUseKerberos(context);
context 396 source3/libsmb/libsmb_context.c return (void *) (bool) smbc_getOptionUseKerberos(context);
context 401 source3/libsmb/libsmb_context.c return (void *)(intptr_t) smbc_getOptionFallbackAfterKerberos(context);
context 403 source3/libsmb/libsmb_context.c return (void *) (bool) smbc_getOptionFallbackAfterKerberos(context);
context 408 source3/libsmb/libsmb_context.c return (void *) (intptr_t) smbc_getOptionNoAutoAnonymousLogin(context);
context 410 source3/libsmb/libsmb_context.c return (void *) (bool) smbc_getOptionNoAutoAnonymousLogin(context);
context 426 source3/libsmb/libsmb_context.c smbc_init_context(SMBCCTX *context)
context 432 source3/libsmb/libsmb_context.c if (!context) {
context 438 source3/libsmb/libsmb_context.c if (context->internal->initialized) {
context 442 source3/libsmb/libsmb_context.c if ((!smbc_getFunctionAuthData(context) &&
context 443 source3/libsmb/libsmb_context.c !smbc_getFunctionAuthDataWithContext(context)) ||
context 444 source3/libsmb/libsmb_context.c smbc_getDebug(context) < 0 ||
context 445 source3/libsmb/libsmb_context.c smbc_getDebug(context) > 100) {
context 463 source3/libsmb/libsmb_context.c if (context->internal->debug_stderr) {
context 534 source3/libsmb/libsmb_context.c if (!smbc_getUser(context)) {
context 551 source3/libsmb/libsmb_context.c smbc_setUser(context, user);
context 554 source3/libsmb/libsmb_context.c if (!smbc_getNetbiosName(context)) {
context 575 source3/libsmb/libsmb_context.c "smbc%s%d", smbc_getUser(context), pid);
context 583 source3/libsmb/libsmb_context.c smbc_setNetbiosName(context, netbios_name);
context 586 source3/libsmb/libsmb_context.c DEBUG(1, ("Using netbios name %s.\n", smbc_getNetbiosName(context)));
context 588 source3/libsmb/libsmb_context.c if (!smbc_getWorkgroup(context)) {
context 604 source3/libsmb/libsmb_context.c smbc_setWorkgroup(context, workgroup);
context 607 source3/libsmb/libsmb_context.c DEBUG(1, ("Using workgroup %s.\n", smbc_getWorkgroup(context)));
context 610 source3/libsmb/libsmb_context.c if (smbc_getTimeout(context) > 0 && smbc_getTimeout(context) < 1000)
context 611 source3/libsmb/libsmb_context.c smbc_setTimeout(context, 1000);
context 617 source3/libsmb/libsmb_context.c context->internal->initialized = True;
context 620 source3/libsmb/libsmb_context.c return context;
context 647 source3/libsmb/libsmb_context.c void smbc_set_credentials_with_fallback(SMBCCTX *context,
context 656 source3/libsmb/libsmb_context.c if (! context) {
context 662 source3/libsmb/libsmb_context.c workgroup = smbc_getWorkgroup(context);
context 666 source3/libsmb/libsmb_context.c user = smbc_getUser(context);
context 680 source3/libsmb/libsmb_context.c if (smbc_getOptionUseKerberos(context)) {
context 697 source3/libsmb/libsmb_context.c smbc_getOptionFallbackAfterKerberos(context));
context 700 source3/libsmb/libsmb_context.c TALLOC_FREE(context->internal->auth_info);
context 702 source3/libsmb/libsmb_context.c context->internal->auth_info = auth_info;
context 352 source3/libsmb/libsmb_dir.c SMBC_opendir_ctx(SMBCCTX *context,
context 370 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 386 source3/libsmb/libsmb_dir.c context,
context 414 source3/libsmb/libsmb_dir.c user = talloc_strdup(frame, smbc_getUser(context));
context 460 source3/libsmb/libsmb_dir.c max_lmb_count = (smbc_getOptionBrowseMaxLmbCount(context) == 0
context 462 source3/libsmb/libsmb_dir.c : smbc_getOptionBrowseMaxLmbCount(context));
context 554 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True, server, "IPC$",
context 608 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, False,
context 657 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 693 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 755 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True, server, share,
context 782 source3/libsmb/libsmb_dir.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 802 source3/libsmb/libsmb_dir.c saved_errno = SMBC_errno(context, targetcli);
context 814 source3/libsmb/libsmb_dir.c if (SMBC_getatr(context, srv, path,
context 830 source3/libsmb/libsmb_dir.c smbc_getFunctionCheckServer(context)(context, srv)) {
context 833 source3/libsmb/libsmb_dir.c if (smbc_getFunctionRemoveUnusedServer(context)(context,
context 843 source3/libsmb/libsmb_dir.c smbc_getFunctionRemoveCachedServer(context)(context, srv);
context 855 source3/libsmb/libsmb_dir.c DLIST_ADD(context->internal->files, dir);
context 866 source3/libsmb/libsmb_dir.c SMBC_closedir_ctx(SMBCCTX *context,
context 871 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 877 source3/libsmb/libsmb_dir.c if (!dir || !SMBC_dlist_contains(context->internal->files, dir)) {
context 885 source3/libsmb/libsmb_dir.c DLIST_REMOVE(context->internal->files, dir);
context 899 source3/libsmb/libsmb_dir.c smbc_readdir_internal(SMBCCTX * context,
context 904 source3/libsmb/libsmb_dir.c if (smbc_getOptionUrlEncodeReaddirEntries(context)) {
context 939 source3/libsmb/libsmb_dir.c SMBC_readdir_ctx(SMBCCTX *context,
context 948 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 957 source3/libsmb/libsmb_dir.c if (!dir || !SMBC_dlist_contains(context->internal->files, dir)) {
context 989 source3/libsmb/libsmb_dir.c dirp = &context->internal->dirent;
context 990 source3/libsmb/libsmb_dir.c maxlen = sizeof(context->internal->_dirent_name);
context 992 source3/libsmb/libsmb_dir.c smbc_readdir_internal(context, dirp, dirent, maxlen);
context 1005 source3/libsmb/libsmb_dir.c SMBC_getdents_ctx(SMBCCTX *context,
context 1019 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1027 source3/libsmb/libsmb_dir.c if (!dir || !SMBC_dlist_contains(context->internal->files, dir)) {
context 1061 source3/libsmb/libsmb_dir.c dirent = &context->internal->dirent;
context 1062 source3/libsmb/libsmb_dir.c maxlen = sizeof(context->internal->_dirent_name);
context 1063 source3/libsmb/libsmb_dir.c smbc_readdir_internal(context, dirent,
context 1115 source3/libsmb/libsmb_dir.c SMBC_mkdir_ctx(SMBCCTX *context,
context 1130 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1145 source3/libsmb/libsmb_dir.c context,
context 1160 source3/libsmb/libsmb_dir.c user = talloc_strdup(frame, smbc_getUser(context));
context 1168 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 1179 source3/libsmb/libsmb_dir.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 1191 source3/libsmb/libsmb_dir.c errno = SMBC_errno(context, targetcli);
context 1224 source3/libsmb/libsmb_dir.c SMBC_rmdir_ctx(SMBCCTX *context,
context 1238 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1253 source3/libsmb/libsmb_dir.c context,
context 1268 source3/libsmb/libsmb_dir.c user = talloc_strdup(frame, smbc_getUser(context));
context 1276 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 1287 source3/libsmb/libsmb_dir.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 1300 source3/libsmb/libsmb_dir.c errno = SMBC_errno(context, targetcli);
context 1324 source3/libsmb/libsmb_dir.c SMBC_errno(context, targetcli)));
context 1351 source3/libsmb/libsmb_dir.c SMBC_telldir_ctx(SMBCCTX *context,
context 1356 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1364 source3/libsmb/libsmb_dir.c if (!dir || !SMBC_dlist_contains(context->internal->files, dir)) {
context 1430 source3/libsmb/libsmb_dir.c SMBC_lseekdir_ctx(SMBCCTX *context,
context 1439 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1491 source3/libsmb/libsmb_dir.c SMBC_fstatdir_ctx(SMBCCTX *context,
context 1496 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1507 source3/libsmb/libsmb_dir.c SMBC_chmod_ctx(SMBCCTX *context,
context 1523 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1539 source3/libsmb/libsmb_dir.c context,
context 1554 source3/libsmb/libsmb_dir.c user = talloc_strdup(frame, smbc_getUser(context));
context 1562 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 1571 source3/libsmb/libsmb_dir.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 1588 source3/libsmb/libsmb_dir.c errno = SMBC_errno(context, targetcli);
context 1598 source3/libsmb/libsmb_dir.c SMBC_utimes_ctx(SMBCCTX *context,
context 1613 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1655 source3/libsmb/libsmb_dir.c context,
context 1670 source3/libsmb/libsmb_dir.c user = talloc_strdup(frame, smbc_getUser(context));
context 1678 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 1686 source3/libsmb/libsmb_dir.c if (!SMBC_setatr(context, srv, path,
context 1701 source3/libsmb/libsmb_dir.c SMBC_unlink_ctx(SMBCCTX *context,
context 1715 source3/libsmb/libsmb_dir.c if (!context || !context->internal->initialized) {
context 1731 source3/libsmb/libsmb_dir.c context,
context 1746 source3/libsmb/libsmb_dir.c user = talloc_strdup(frame, smbc_getUser(context));
context 1754 source3/libsmb/libsmb_dir.c srv = SMBC_server(frame, context, True,
context 1764 source3/libsmb/libsmb_dir.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 1776 source3/libsmb/libsmb_dir.c errno = SMBC_errno(context, targetcli);
context 1788 source3/libsmb/libsmb_dir.c if (!SMBC_getatr(context, srv, path, &mode, &size,
context 1797 source3/libsmb/libsmb_dir.c errno = SMBC_errno(context, targetcli);
context 35 source3/libsmb/libsmb_file.c SMBC_open_ctx(SMBCCTX *context,
context 53 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 70 source3/libsmb/libsmb_file.c context,
context 85 source3/libsmb/libsmb_file.c user = talloc_strdup(frame, smbc_getUser(context));
context 93 source3/libsmb/libsmb_file.c srv = SMBC_server(frame, context, True,
context 118 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 130 source3/libsmb/libsmb_file.c context->internal->share_mode)) < 0) {
context 135 source3/libsmb/libsmb_file.c errno = SMBC_errno(context, targetcli);
context 149 source3/libsmb/libsmb_file.c DLIST_ADD(context->internal->files, file);
context 174 source3/libsmb/libsmb_file.c if (SMBC_lseek_ctx(context, file, 0, SEEK_END) < 0) {
context 175 source3/libsmb/libsmb_file.c (void) SMBC_close_ctx(context, file);
context 192 source3/libsmb/libsmb_file.c eno = SMBC_errno(context, srv->cli);
context 193 source3/libsmb/libsmb_file.c file = smbc_getFunctionOpendir(context)(context, fname);
context 211 source3/libsmb/libsmb_file.c SMBC_creat_ctx(SMBCCTX *context,
context 216 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 223 source3/libsmb/libsmb_file.c return SMBC_open_ctx(context, path,
context 232 source3/libsmb/libsmb_file.c SMBC_read_ctx(SMBCCTX *context,
context 255 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 265 source3/libsmb/libsmb_file.c if (!file || !SMBC_dlist_contains(context->internal->files, file)) {
context 285 source3/libsmb/libsmb_file.c context,
context 300 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 314 source3/libsmb/libsmb_file.c errno = SMBC_errno(context, targetcli);
context 334 source3/libsmb/libsmb_file.c SMBC_write_ctx(SMBCCTX *context,
context 349 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 357 source3/libsmb/libsmb_file.c if (!file || !SMBC_dlist_contains(context->internal->files, file)) {
context 376 source3/libsmb/libsmb_file.c context,
context 391 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 405 source3/libsmb/libsmb_file.c errno = SMBC_errno(context, targetcli);
context 422 source3/libsmb/libsmb_file.c SMBC_close_ctx(SMBCCTX *context,
context 432 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 439 source3/libsmb/libsmb_file.c if (!file || !SMBC_dlist_contains(context->internal->files, file)) {
context 448 source3/libsmb/libsmb_file.c return smbc_getFunctionClosedir(context)(context, file);
context 453 source3/libsmb/libsmb_file.c context,
context 468 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 484 source3/libsmb/libsmb_file.c errno = SMBC_errno(context, targetcli);
context 486 source3/libsmb/libsmb_file.c DLIST_REMOVE(context->internal->files, file);
context 489 source3/libsmb/libsmb_file.c smbc_getFunctionRemoveUnusedServer(context)(context, srv);
context 495 source3/libsmb/libsmb_file.c DLIST_REMOVE(context->internal->files, file);
context 508 source3/libsmb/libsmb_file.c SMBC_getatr(SMBCCTX * context,
context 525 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 552 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 623 source3/libsmb/libsmb_file.c SMBC_setatr(SMBCCTX * context, SMBCSRV *srv, char *path,
context 664 source3/libsmb/libsmb_file.c errno = SMBC_errno(context, srv->cli);
context 689 source3/libsmb/libsmb_file.c errno = SMBC_errno(context, srv->cli);
context 704 source3/libsmb/libsmb_file.c SMBC_lseek_ctx(SMBCCTX *context,
context 716 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 723 source3/libsmb/libsmb_file.c if (!file || !SMBC_dlist_contains(context->internal->files, file)) {
context 751 source3/libsmb/libsmb_file.c context,
context 766 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 809 source3/libsmb/libsmb_file.c SMBC_ftruncate_ctx(SMBCCTX *context,
context 823 source3/libsmb/libsmb_file.c if (!context || !context->internal->initialized) {
context 830 source3/libsmb/libsmb_file.c if (!file || !SMBC_dlist_contains(context->internal->files, file)) {
context 844 source3/libsmb/libsmb_file.c context,
context 859 source3/libsmb/libsmb_file.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 49 source3/libsmb/libsmb_misc.c SMBC_errno(SMBCCTX *context,
context 223 source3/libsmb/libsmb_path.c SMBCCTX *context,
context 257 source3/libsmb/libsmb_path.c talloc_strdup(ctx, smbc_getWorkgroup(context));
context 301 source3/libsmb/libsmb_path.c int wl = strlen(smbc_getWorkgroup(context));
context 307 source3/libsmb/libsmb_path.c *pp_server = talloc_strdup(ctx, smbc_getWorkgroup(context));
context 399 source3/libsmb/libsmb_path.c workgroup = talloc_strdup(ctx, smbc_getWorkgroup(context));
context 406 source3/libsmb/libsmb_path.c smbc_set_credentials_with_fallback(context,
context 35 source3/libsmb/libsmb_printjob.c SMBC_open_print_job_ctx(SMBCCTX *context,
context 45 source3/libsmb/libsmb_printjob.c if (!context || !context->internal->initialized) {
context 61 source3/libsmb/libsmb_printjob.c context,
context 78 source3/libsmb/libsmb_printjob.c return smbc_getFunctionOpen(context)(context, fname, O_WRONLY, 666);
context 181 source3/libsmb/libsmb_printjob.c SMBC_list_print_jobs_ctx(SMBCCTX *context,
context 194 source3/libsmb/libsmb_printjob.c if (!context || !context->internal->initialized) {
context 210 source3/libsmb/libsmb_printjob.c context,
context 225 source3/libsmb/libsmb_printjob.c user = talloc_strdup(frame, smbc_getUser(context));
context 233 source3/libsmb/libsmb_printjob.c srv = SMBC_server(frame, context, True,
context 243 source3/libsmb/libsmb_printjob.c errno = SMBC_errno(context, srv->cli);
context 258 source3/libsmb/libsmb_printjob.c SMBC_unlink_print_job_ctx(SMBCCTX *context,
context 272 source3/libsmb/libsmb_printjob.c if (!context || !context->internal->initialized) {
context 288 source3/libsmb/libsmb_printjob.c context,
context 303 source3/libsmb/libsmb_printjob.c user = talloc_strdup(frame, smbc_getUser(context));
context 311 source3/libsmb/libsmb_printjob.c srv = SMBC_server(frame, context, True,
context 324 source3/libsmb/libsmb_printjob.c errno = SMBC_errno(context, srv->cli);
context 38 source3/libsmb/libsmb_server.c SMBC_check_server(SMBCCTX * context,
context 55 source3/libsmb/libsmb_server.c SMBC_remove_unused_server(SMBCCTX * context,
context 61 source3/libsmb/libsmb_server.c if (!context || !context->internal->initialized || !srv) {
context 66 source3/libsmb/libsmb_server.c for (file = context->internal->files; file; file = file->next) {
context 76 source3/libsmb/libsmb_server.c DLIST_REMOVE(context->internal->servers, srv);
context 83 source3/libsmb/libsmb_server.c smbc_getFunctionRemoveCachedServer(context)(context, srv);
context 94 source3/libsmb/libsmb_server.c SMBCCTX *context,
context 111 source3/libsmb/libsmb_server.c auth_with_context_fn = smbc_getFunctionAuthDataWithContext(context);
context 114 source3/libsmb/libsmb_server.c (* auth_with_context_fn)(context,
context 122 source3/libsmb/libsmb_server.c smbc_getFunctionAuthData(context)(server, share,
context 151 source3/libsmb/libsmb_server.c SMBCCTX *context,
context 167 source3/libsmb/libsmb_server.c srv = smbc_getFunctionGetCachedServer(context)(context,
context 174 source3/libsmb/libsmb_server.c SMBC_call_auth_fn(ctx, context, server, share,
context 188 source3/libsmb/libsmb_server.c if (smbc_getFunctionCheckServer(context)(context, srv)) {
context 194 source3/libsmb/libsmb_server.c if (smbc_getFunctionRemoveUnusedServer(context)(context,
context 202 source3/libsmb/libsmb_server.c smbc_getFunctionRemoveCachedServer(context)(context,
context 232 source3/libsmb/libsmb_server.c SMBCCTX *context,
context 263 source3/libsmb/libsmb_server.c srv = SMBC_find_server(ctx, context, server, share,
context 272 source3/libsmb/libsmb_server.c smbc_getOptionOneSharePerServer(context)) {
context 284 source3/libsmb/libsmb_server.c SMBC_call_auth_fn(ctx, context, server, share,
context 293 source3/libsmb/libsmb_server.c smbc_getFunctionRemoveCachedServer(context)(context,
context 311 source3/libsmb/libsmb_server.c smbc_getFunctionRemoveCachedServer(context)(context,
context 330 source3/libsmb/libsmb_server.c if (smbc_getOptionCaseSensitive(context)) {
context 377 source3/libsmb/libsmb_server.c make_nmb_name(&calling, smbc_getNetbiosName(context), 0x0);
context 394 source3/libsmb/libsmb_server.c if (smbc_getOptionUseKerberos(context)) {
context 398 source3/libsmb/libsmb_server.c if (smbc_getOptionFallbackAfterKerberos(context)) {
context 402 source3/libsmb/libsmb_server.c c->timeout = smbc_getTimeout(context);
context 491 source3/libsmb/libsmb_server.c if (smbc_getOptionNoAutoAnonymousLogin(context) ||
context 535 source3/libsmb/libsmb_server.c if (smbc_getOptionCaseSensitive(context)) {
context 551 source3/libsmb/libsmb_server.c if (context->internal->smb_encryption_level) {
context 566 source3/libsmb/libsmb_server.c if (context->internal->smb_encryption_level == 2) {
context 596 source3/libsmb/libsmb_server.c if (smbc_getFunctionAddCachedServer(context)(context, srv,
context 612 source3/libsmb/libsmb_server.c DLIST_ADD(context->internal->servers, srv);
context 615 source3/libsmb/libsmb_server.c workgroup = talloc_strdup(ctx, smbc_getWorkgroup(context));
context 624 source3/libsmb/libsmb_server.c smbc_set_credentials_with_fallback(context,
context 647 source3/libsmb/libsmb_server.c SMBCCTX *context,
context 666 source3/libsmb/libsmb_server.c ipc_srv = SMBC_find_server(ctx, context, server, "*IPC$",
context 673 source3/libsmb/libsmb_server.c SMBC_call_auth_fn(ctx, context, server, share,
context 684 source3/libsmb/libsmb_server.c if (smbc_getOptionUseKerberos(context)) {
context 704 source3/libsmb/libsmb_server.c if (context->internal->smb_encryption_level) {
context 720 source3/libsmb/libsmb_server.c if (context->internal->smb_encryption_level == 2) {
context 763 source3/libsmb/libsmb_server.c errno = SMBC_errno(context, ipc_srv->cli);
context 771 source3/libsmb/libsmb_server.c if (smbc_getFunctionAddCachedServer(context)(context, ipc_srv,
context 785 source3/libsmb/libsmb_server.c DLIST_ADD(context->internal->servers, ipc_srv);
context 35 source3/libsmb/libsmb_stat.c generate_inode(SMBCCTX *context,
context 38 source3/libsmb/libsmb_stat.c if (!context || !context->internal->initialized) {
context 56 source3/libsmb/libsmb_stat.c setup_stat(SMBCCTX *context,
context 97 source3/libsmb/libsmb_stat.c st->st_ino = generate_inode(context, fname);
context 110 source3/libsmb/libsmb_stat.c SMBC_stat_ctx(SMBCCTX *context,
context 129 source3/libsmb/libsmb_stat.c if (!context || !context->internal->initialized) {
context 145 source3/libsmb/libsmb_stat.c context,
context 160 source3/libsmb/libsmb_stat.c user = talloc_strdup(frame, smbc_getUser(context));
context 168 source3/libsmb/libsmb_stat.c srv = SMBC_server(frame, context, True,
context 176 source3/libsmb/libsmb_stat.c if (!SMBC_getatr(context, srv, path, &mode, &size,
context 182 source3/libsmb/libsmb_stat.c errno = SMBC_errno(context, srv->cli);
context 189 source3/libsmb/libsmb_stat.c setup_stat(context, st, (char *) fname, size, mode);
context 206 source3/libsmb/libsmb_stat.c SMBC_fstat_ctx(SMBCCTX *context,
context 225 source3/libsmb/libsmb_stat.c if (!context || !context->internal->initialized) {
context 232 source3/libsmb/libsmb_stat.c if (!file || !SMBC_dlist_contains(context->internal->files, file)) {
context 240 source3/libsmb/libsmb_stat.c return smbc_getFunctionFstatdir(context)(context, file, st);
context 245 source3/libsmb/libsmb_stat.c context,
context 260 source3/libsmb/libsmb_stat.c if (!cli_resolve_path(frame, "", context->internal->auth_info,
context 294 source3/libsmb/libsmb_stat.c setup_stat(context, st, file->fname, size, mode);
context 311 source3/libsmb/libsmb_stat.c SMBC_statvfs_ctx(SMBCCTX *context,
context 321 source3/libsmb/libsmb_stat.c if (SMBC_stat_ctx(context, path, &statbuf) < 0) {
context 328 source3/libsmb/libsmb_stat.c if ((pFile = SMBC_opendir_ctx(context, path)) == NULL) {
context 334 source3/libsmb/libsmb_stat.c if ((pFile = SMBC_open_ctx(context, path,
context 346 source3/libsmb/libsmb_stat.c ret = SMBC_fstatvfs_ctx(context, pFile, st);
context 350 source3/libsmb/libsmb_stat.c SMBC_closedir_ctx(context, pFile);
context 352 source3/libsmb/libsmb_stat.c SMBC_close_ctx(context, pFile);
context 364 source3/libsmb/libsmb_stat.c SMBC_fstatvfs_ctx(SMBCCTX *context,
context 463 source3/libsmb/libsmb_stat.c if (! smbc_getOptionCaseSensitive(context)) {
context 552 source3/libsmb/libsmb_xattr.c dos_attr_query(SMBCCTX *context,
context 573 source3/libsmb/libsmb_xattr.c if (!SMBC_getatr(context, srv, CONST_DISCARD(char *, filename),
context 580 source3/libsmb/libsmb_xattr.c errno = SMBC_errno(context, srv->cli);
context 599 source3/libsmb/libsmb_xattr.c dos_attr_parse(SMBCCTX *context,
context 616 source3/libsmb/libsmb_xattr.c if (context->internal->full_time_names) {
context 701 source3/libsmb/libsmb_xattr.c cacl_get(SMBCCTX *context,
context 766 source3/libsmb/libsmb_xattr.c if (context->internal->full_time_names) {
context 894 source3/libsmb/libsmb_xattr.c if (!cli_resolve_path(ctx, "", context->internal->auth_info,
context 1160 source3/libsmb/libsmb_xattr.c if (!SMBC_getatr(context, srv, filename, &mode, &size,
context 1167 source3/libsmb/libsmb_xattr.c errno = SMBC_errno(context, srv->cli);
context 1500 source3/libsmb/libsmb_xattr.c cacl_set(SMBCCTX *context,
context 1552 source3/libsmb/libsmb_xattr.c if (!cli_resolve_path(ctx, "", context->internal->auth_info,
context 1699 source3/libsmb/libsmb_xattr.c SMBC_setxattr_ctx(SMBCCTX *context,
context 1725 source3/libsmb/libsmb_xattr.c if (!context || !context->internal->initialized) {
context 1742 source3/libsmb/libsmb_xattr.c context,
context 1757 source3/libsmb/libsmb_xattr.c user = talloc_strdup(frame, smbc_getUser(context));
context 1765 source3/libsmb/libsmb_xattr.c srv = SMBC_server(frame, context, True,
context 1773 source3/libsmb/libsmb_xattr.c ipc_srv = SMBC_attr_server(frame, context, server, share,
context 1799 source3/libsmb/libsmb_xattr.c ret = cacl_set(context, talloc_tos(), srv->cli,
context 1811 source3/libsmb/libsmb_xattr.c dad = dos_attr_query(context, talloc_tos(), path, srv);
context 1814 source3/libsmb/libsmb_xattr.c dos_attr_parse(context, dad, srv, namevalue);
context 1817 source3/libsmb/libsmb_xattr.c if (! SMBC_setatr(context, srv, path,
context 1863 source3/libsmb/libsmb_xattr.c ret = cacl_set(context, talloc_tos(), srv->cli,
context 1893 source3/libsmb/libsmb_xattr.c ret = cacl_set(context, talloc_tos(), srv->cli,
context 1920 source3/libsmb/libsmb_xattr.c ret = cacl_set(context, talloc_tos(), srv->cli,
context 1929 source3/libsmb/libsmb_xattr.c if (context->internal->full_time_names) {
context 1955 source3/libsmb/libsmb_xattr.c dad = dos_attr_query(context, talloc_tos(), path, srv);
context 1965 source3/libsmb/libsmb_xattr.c dos_attr_parse(context, dad, srv, namevalue);
context 1968 source3/libsmb/libsmb_xattr.c ret2 = SMBC_setatr(context, srv, path,
context 1997 source3/libsmb/libsmb_xattr.c SMBC_getxattr_ctx(SMBCCTX *context,
context 2020 source3/libsmb/libsmb_xattr.c if (!context || !context->internal->initialized) {
context 2036 source3/libsmb/libsmb_xattr.c context,
context 2051 source3/libsmb/libsmb_xattr.c user = talloc_strdup(frame, smbc_getUser(context));
context 2059 source3/libsmb/libsmb_xattr.c srv = SMBC_server(frame, context, True,
context 2067 source3/libsmb/libsmb_xattr.c ipc_srv = SMBC_attr_server(frame, context, server, share,
context 2077 source3/libsmb/libsmb_xattr.c if (context->internal->full_time_names) {
context 2120 source3/libsmb/libsmb_xattr.c ret = cacl_get(context, talloc_tos(), srv,
context 2127 source3/libsmb/libsmb_xattr.c errno = SMBC_errno(context, srv->cli);
context 2141 source3/libsmb/libsmb_xattr.c SMBC_removexattr_ctx(SMBCCTX *context,
context 2156 source3/libsmb/libsmb_xattr.c if (!context || !context->internal->initialized) {
context 2172 source3/libsmb/libsmb_xattr.c context,
context 2187 source3/libsmb/libsmb_xattr.c user = talloc_strdup(frame, smbc_getUser(context));
context 2195 source3/libsmb/libsmb_xattr.c srv = SMBC_server(frame, context, True,
context 2203 source3/libsmb/libsmb_xattr.c ipc_srv = SMBC_attr_server(frame, context, server, share,
context 2222 source3/libsmb/libsmb_xattr.c ret = cacl_set(context, talloc_tos(), srv->cli,
context 2242 source3/libsmb/libsmb_xattr.c ret = cacl_set(context, talloc_tos(), srv->cli,
context 2257 source3/libsmb/libsmb_xattr.c SMBC_listxattr_ctx(SMBCCTX *context,
context 2309 source3/libsmb/libsmb_xattr.c if (context->internal->full_time_names) {
context 46 source3/locking/brlock.c (unsigned int)pls->context.smbpid,
context 47 source3/locking/brlock.c (unsigned int)pls->context.tid,
context 48 source3/locking/brlock.c procid_str(debug_ctx(), &pls->context.pid) ));
context 112 source3/locking/brlock.c brl_same_context(&lck1->context, &lck2->context) &&
context 144 source3/locking/brlock.c if (brl_same_context(&lck1->context, &lck2->context)) {
context 164 source3/locking/brlock.c if (brl_same_context(&lck1->context, &lck2->context) &&
context 208 source3/locking/brlock.c if (brl_same_context(&lck1->context, &lck2->context) &&
context 248 source3/locking/brlock.c if (procid_equal(&lock->context.pid, &fsp->last_lock_failure.context.pid) &&
context 249 source3/locking/brlock.c lock->context.tid == fsp->last_lock_failure.context.tid &&
context 326 source3/locking/brlock.c plock->context.smbpid = locks[i].context.smbpid;
context 351 source3/locking/brlock.c &plock->context,
context 357 source3/locking/brlock.c plock->context.smbpid = 0xFFFFFFFF;
context 401 source3/locking/brlock.c if (!brl_same_context(&ex->context, &plock->context)) {
context 732 source3/locking/brlock.c plock->context.smbpid = curr_lock->context.smbpid;
context 747 source3/locking/brlock.c plock->context.smbpid = curr_lock->context.smbpid;
context 807 source3/locking/brlock.c plock->context.smbpid = 0xFFFFFFFF;
context 853 source3/locking/brlock.c procid_str_static(&pend_lock->context.pid )));
context 855 source3/locking/brlock.c messaging_send(msg_ctx, pend_lock->context.pid,
context 900 source3/locking/brlock.c lock.context.smbpid = smbpid;
context 901 source3/locking/brlock.c lock.context.pid = pid;
context 902 source3/locking/brlock.c lock.context.tid = br_lck->fsp->conn->cnum;
context 923 source3/locking/brlock.c *psmbpid = lock.context.smbpid;
context 950 source3/locking/brlock.c brl_same_context(&lock->context, &plock->context) &&
context 972 source3/locking/brlock.c if (brl_same_context(&lock->context, &plock->context) &&
context 1006 source3/locking/brlock.c &plock->context,
context 1023 source3/locking/brlock.c procid_str_static(&pend_lock->context.pid )));
context 1025 source3/locking/brlock.c messaging_send(msg_ctx, pend_lock->context.pid,
context 1076 source3/locking/brlock.c !brl_same_context(&lock->context, &plock->context)) {
context 1140 source3/locking/brlock.c &plock->context,
context 1180 source3/locking/brlock.c procid_str_static(&pend_lock->context.pid )));
context 1182 source3/locking/brlock.c messaging_send(msg_ctx, pend_lock->context.pid,
context 1204 source3/locking/brlock.c lock.context.smbpid = smbpid;
context 1205 source3/locking/brlock.c lock.context.pid = pid;
context 1206 source3/locking/brlock.c lock.context.tid = br_lck->fsp->conn->cnum;
context 1240 source3/locking/brlock.c lock.context.smbpid = smbpid;
context 1241 source3/locking/brlock.c lock.context.pid = pid;
context 1242 source3/locking/brlock.c lock.context.tid = br_lck->fsp->conn->cnum;
context 1297 source3/locking/brlock.c lock.context.smbpid = *psmbpid;
context 1298 source3/locking/brlock.c lock.context.pid = pid;
context 1299 source3/locking/brlock.c lock.context.tid = br_lck->fsp->conn->cnum;
context 1318 source3/locking/brlock.c *psmbpid = exlock->context.smbpid;
context 1362 source3/locking/brlock.c lock.context.smbpid = smbpid;
context 1363 source3/locking/brlock.c lock.context.pid = pid;
context 1364 source3/locking/brlock.c lock.context.tid = br_lck->fsp->conn->cnum;
context 1393 source3/locking/brlock.c if (brl_same_context(&lock->context, &plock->context) &&
context 1447 source3/locking/brlock.c if (!procid_equal(&lock->context.pid, &pid)) {
context 1455 source3/locking/brlock.c if (lock->context.tid != tid || lock->fnum != fnum) {
context 1480 source3/locking/brlock.c if (lock->context.tid == tid && procid_equal(&lock->context.pid, &pid) &&
context 1484 source3/locking/brlock.c lock->context.smbpid,
context 1503 source3/locking/brlock.c if (lock->context.tid == tid && procid_equal(&lock->context.pid, &pid)) {
context 1533 source3/locking/brlock.c if (pend_lock->context.tid == tid &&
context 1534 source3/locking/brlock.c procid_equal(&pend_lock->context.pid, &pid) &&
context 1541 source3/locking/brlock.c messaging_send(msg_ctx, pend_lock->context.pid,
context 1575 source3/locking/brlock.c if (!process_exists(lock_data->context.pid)) {
context 1597 source3/locking/brlock.c if (lock_data->context.smbpid &&
context 1598 source3/locking/brlock.c lock_data->context.tid) {
context 1671 source3/locking/brlock.c locks[i].context.pid,
context 87 source3/locking/locking.c plock->context.smbpid = smbpid;
context 88 source3/locking/locking.c plock->context.tid = fsp->conn->cnum;
context 89 source3/locking/locking.c plock->context.pid = procid_self();
context 124 source3/locking/locking.c plock->context.smbpid,
context 125 source3/locking/locking.c plock->context.pid,
context 138 source3/locking/locking.c plock->context.smbpid,
context 139 source3/locking/locking.c plock->context.pid,
context 734 source3/locking/posix.c if (!procid_equal(&lock->context.pid, &lock_ctx->pid)) {
context 334 source3/modules/onefs_cbrl.c plock->size, async, id, plock->context.smbpid, plock->context.tid,
context 363 source3/modules/onefs_cbrl.c plock->context.smbpid = (uint32) ONEFS_BLOCKING_PID;
context 402 source3/modules/onefs_cbrl.c plock->start, plock->size, false, 0, plock->context.smbpid,
context 403 source3/modules/onefs_cbrl.c plock->context.tid, plock->fnum);
context 461 source3/modules/onefs_cbrl.c plock->size, false, bs->id, plock->context.smbpid,
context 462 source3/modules/onefs_cbrl.c plock->context.tid, plock->fnum);
context 507 source3/modules/onefs_cbrl.c plock->start, plock->size, 0, 0, plock->context.smbpid,
context 508 source3/modules/onefs_cbrl.c plock->context.tid, plock->fnum);
context 544 source3/modules/onefs_cbrl.c plock->start, plock->size, 0, 0, plock->context.smbpid,
context 545 source3/modules/onefs_cbrl.c plock->context.tid, plock->fnum);
context 72 source3/modules/perfcount_onefs.c pcd->context = &g_context;
context 74 source3/modules/perfcount_onefs.c pcd->context = NULL;
context 82 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 85 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 103 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 107 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 125 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 129 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 151 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 155 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 173 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 177 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 187 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 190 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 219 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 224 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 240 source3/modules/perfcount_onefs.c dest->context = new_ctxt;
context 250 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 255 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 261 source3/modules/perfcount_onefs.c def_pcd->context = ctxt;
context 262 source3/modules/perfcount_onefs.c pcd->context = NULL;
context 275 source3/modules/perfcount_onefs.c def_pcd->context = (void*) deferred_ctxt;
context 282 source3/modules/perfcount_onefs.c pcd->context = NULL;
context 295 source3/modules/perfcount_onefs.c struct onefs_stats_context *ctxt = pcd->context;
context 299 source3/modules/perfcount_onefs.c if (pcd->context == NULL)
context 329 source3/modules/perfcount_onefs.c pcd->context = NULL;
context 198 source3/modules/perfcount_test.c if (pcd->context) {
context 221 source3/modules/perfcount_test.c pcd->context = (void*)ctxt;
context 227 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 230 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 245 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 247 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 256 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 258 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 267 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 268 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 278 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 279 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 289 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 291 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 301 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 307 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 329 source3/modules/perfcount_test.c new_pcd->context = new_ctxt;
context 365 source3/modules/perfcount_test.c (struct perfcount_test_context *)pcd->context;
context 366 source3/modules/perfcount_test.c if (pcd->context == NULL)
context 372 source3/modules/perfcount_test.c pcd->context = NULL;
context 663 source3/printing/nt_printing.c TDB_DATA data, void *context)
context 665 source3/printing/nt_printing.c int *printer_count = (int*)context;
context 214 source3/rpc_parse/parse_rpc.c RPC_CONTEXT *context)
context 219 source3/rpc_parse/parse_rpc.c rpc->rpc_context = context;
context 260 source3/smbd/blocking.c fsp->last_lock_failure.context.smbpid = blr->lock_pid;
context 261 source3/smbd/blocking.c fsp->last_lock_failure.context.tid = fsp->conn->cnum;
context 262 source3/smbd/blocking.c fsp->last_lock_failure.context.pid = procid_self();
context 182 source3/smbd/sesssetup.c krb5_context context = NULL;
context 192 source3/smbd/sesssetup.c kerr = krb5_init_context(&context);
context 203 source3/smbd/sesssetup.c kerr = smb_krb5_parse_name(context, host_princ_s, &host_princ);
context 211 source3/smbd/sesssetup.c kerr = smb_krb5_mk_error(context, KRB5KRB_AP_ERR_SKEW,
context 221 source3/smbd/sesssetup.c kerberos_free_data_contents(context,&reply);
context 230 source3/smbd/sesssetup.c krb5_free_principal(context, host_princ);
context 232 source3/smbd/sesssetup.c krb5_free_context(context);
context 54 source4/auth/gensec/cyrus_sasl.c static int gensec_sasl_get_user(void *context, int id,
context 57 source4/auth/gensec/cyrus_sasl.c struct gensec_security *gensec_security = talloc_get_type(context, struct gensec_security);
context 67 source4/auth/gensec/cyrus_sasl.c static int gensec_sasl_get_realm(void *context, int id,
context 71 source4/auth/gensec/cyrus_sasl.c struct gensec_security *gensec_security = talloc_get_type(context, struct gensec_security);
context 89 source4/auth/gensec/cyrus_sasl.c static int gensec_sasl_get_password(sasl_conn_t *conn, void *context, int id,
context 92 source4/auth/gensec/cyrus_sasl.c struct gensec_security *gensec_security = talloc_get_type(context, struct gensec_security);
context 137 source4/auth/gensec/cyrus_sasl.c callbacks[0].context = gensec_security;
context 141 source4/auth/gensec/cyrus_sasl.c callbacks[1].context = gensec_security;
context 145 source4/auth/gensec/cyrus_sasl.c callbacks[2].context = gensec_security;
context 149 source4/auth/gensec/cyrus_sasl.c callbacks[3].context = gensec_security;
context 153 source4/auth/gensec/cyrus_sasl.c callbacks[4].context = NULL;
context 322 source4/auth/gensec/cyrus_sasl.c static int gensec_sasl_log(void *context,
context 376 source4/auth/gensec/cyrus_sasl.c .context = NULL,
context 381 source4/auth/gensec/cyrus_sasl.c .context = NULL,
context 513 source4/auth/gensec/gensec_krb5.c krb5_context context = gensec_krb5_state->smb_krb5_context->krb5_context;
context 529 source4/auth/gensec/gensec_krb5.c err = krb5_auth_con_getlocalsubkey(context, auth_context, &skey);
context 532 source4/auth/gensec/gensec_krb5.c err = krb5_auth_con_getremotesubkey(context, auth_context, &skey);
context 543 source4/auth/gensec/gensec_krb5.c krb5_free_keyblock(context, skey);
context 556 source4/auth/gensec/gensec_krb5.c krb5_context context = gensec_krb5_state->smb_krb5_context->krb5_context;
context 574 source4/auth/gensec/gensec_krb5.c ret = krb5_ticket_get_client(context, gensec_krb5_state->ticket, &client_principal);
context 577 source4/auth/gensec/gensec_krb5.c smb_get_krb5_error_message(context,
context 587 source4/auth/gensec/gensec_krb5.c smb_get_krb5_error_message(context,
context 593 source4/auth/gensec/gensec_krb5.c ret = krb5_ticket_get_authorization_data_type(context, gensec_krb5_state->ticket,
context 600 source4/auth/gensec/gensec_krb5.c smb_get_krb5_error_message(context,
context 602 source4/auth/gensec/gensec_krb5.c krb5_free_principal(context, client_principal);
context 608 source4/auth/gensec/gensec_krb5.c smb_get_krb5_error_message(context,
context 627 source4/auth/gensec/gensec_krb5.c krb5_free_principal(context, client_principal);
context 641 source4/auth/gensec/gensec_krb5.c krb5_free_principal(context, client_principal);
context 654 source4/auth/gensec/gensec_krb5.c krb5_free_principal(context, client_principal);
context 700 source4/auth/gensec/gensec_krb5.c krb5_context context = gensec_krb5_state->smb_krb5_context->krb5_context;
context 708 source4/auth/gensec/gensec_krb5.c ret = krb5_mk_priv(context, auth_context, &input, &output, NULL);
context 730 source4/auth/gensec/gensec_krb5.c krb5_context context = gensec_krb5_state->smb_krb5_context->krb5_context;
context 739 source4/auth/gensec/gensec_krb5.c ret = krb5_rd_priv(context, auth_context, &input, &output, &replay);
context 38 source4/auth/gensec/spnego_parse.c uint8_t context;
context 39 source4/auth/gensec/spnego_parse.c if (!asn1_peek_uint8(asn1, &context)) {
context 44 source4/auth/gensec/spnego_parse.c switch (context) {
context 187 source4/auth/gensec/spnego_parse.c uint8_t context;
context 188 source4/auth/gensec/spnego_parse.c if (!asn1_peek_uint8(asn1, &context)) {
context 193 source4/auth/gensec/spnego_parse.c switch (context) {
context 269 source4/auth/gensec/spnego_parse.c uint8_t context;
context 284 source4/auth/gensec/spnego_parse.c if (!asn1_peek_uint8(asn1, &context)) {
context 287 source4/auth/gensec/spnego_parse.c switch (context) {
context 31 source4/auth/kerberos/clikrb5.c int create_kerberos_key_from_string(krb5_context context,
context 41 source4/auth/kerberos/clikrb5.c ret = krb5_principal2salt(context, host_princ, &salt);
context 46 source4/auth/kerberos/clikrb5.c krb5_use_enctype(context, &eblock, enctype);
context 47 source4/auth/kerberos/clikrb5.c ret = krb5_string_to_key(context, &eblock, key, password, &salt);
context 52 source4/auth/kerberos/clikrb5.c int create_kerberos_key_from_string(krb5_context context,
context 61 source4/auth/kerberos/clikrb5.c ret = krb5_get_pw_salt(context, host_princ, &salt);
context 66 source4/auth/kerberos/clikrb5.c ret = krb5_string_to_key_salt(context, enctype, password->data,
context 68 source4/auth/kerberos/clikrb5.c krb5_free_salt(context, salt);
context 75 source4/auth/kerberos/clikrb5.c void kerberos_free_data_contents(krb5_context context, krb5_data *pdata)
context 79 source4/auth/kerberos/clikrb5.c krb5_free_data_contents(context, pdata);
context 86 source4/auth/kerberos/clikrb5.c krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry)
context 89 source4/auth/kerberos/clikrb5.c return krb5_kt_free_entry(context, kt_entry);
context 91 source4/auth/kerberos/clikrb5.c return krb5_free_keytab_entry_contents(context, kt_entry);
context 97 source4/auth/kerberos/clikrb5.c char *smb_get_krb5_error_message(krb5_context context, krb5_error_code code, TALLOC_CTX *mem_ctx)
context 102 source4/auth/kerberos/clikrb5.c char *context_error = krb5_get_error_string(context);
context 105 source4/auth/kerberos/clikrb5.c krb5_free_error_string(context, context_error);
context 57 source4/auth/kerberos/kerberos.h krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
context 65 source4/auth/kerberos/kerberos.h krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock);
context 73 source4/auth/kerberos/kerberos.h const krb5_data *krb5_princ_component(krb5_context context, krb5_principal principal, int i );
context 78 source4/auth/kerberos/kerberos.h int create_kerberos_key_from_string(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype);
context 79 source4/auth/kerberos/kerberos.h int create_kerberos_key_from_string_direct(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype);
context 81 source4/auth/kerberos/kerberos.h krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_enctype **enctypes);
context 82 source4/auth/kerberos/kerberos.h void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes);
context 83 source4/auth/kerberos/kerberos.h bool get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, bool remote);
context 84 source4/auth/kerberos/kerberos.h krb5_error_code ads_krb5_mk_req(krb5_context context,
context 97 source4/auth/kerberos/kerberos.h krb5_principal kerberos_fetch_salt_princ_for_host_princ(krb5_context context,
context 101 source4/auth/kerberos/kerberos.h bool kerberos_compatible_enctypes(krb5_context context, krb5_enctype enctype1, krb5_enctype enctype2);
context 102 source4/auth/kerberos/kerberos.h void kerberos_free_data_contents(krb5_context context, krb5_data *pdata);
context 103 source4/auth/kerberos/kerberos.h krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry);
context 104 source4/auth/kerberos/kerberos.h char *smb_get_krb5_error_message(krb5_context context, krb5_error_code code, TALLOC_CTX *mem_ctx);
context 117 source4/auth/kerberos/kerberos.h krb5_context context,
context 127 source4/auth/kerberos/kerberos.h krb5_context context,
context 136 source4/auth/kerberos/kerberos.h krb5_context context,
context 143 source4/auth/kerberos/kerberos.h krb5_context context,
context 42 source4/auth/kerberos/kerberos_heimdal.c krb5_error_code smb_rd_req_return_stuff(krb5_context context,
context 60 source4/auth/kerberos/kerberos_heimdal.c kret = krb5_rd_req_in_ctx_alloc(context, &in);
context 62 source4/auth/kerberos/kerberos_heimdal.c kret = krb5_rd_req_in_set_keytab(context, in, keytab);
context 65 source4/auth/kerberos/kerberos_heimdal.c krb5_rd_req_in_ctx_free(context, in);
context 69 source4/auth/kerberos/kerberos_heimdal.c kret = krb5_rd_req_ctx(context,
context 74 source4/auth/kerberos/kerberos_heimdal.c krb5_rd_req_in_ctx_free(context, in);
context 82 source4/auth/kerberos/kerberos_heimdal.c kret = krb5_rd_req_out_get_ticket(context, out,
context 85 source4/auth/kerberos/kerberos_heimdal.c kret = krb5_rd_req_out_get_keyblock(context, out,
context 88 source4/auth/kerberos/kerberos_heimdal.c krb5_rd_req_out_ctx_free(context, out);
context 91 source4/auth/kerberos/kerberos_heimdal.c kret = krb5_mk_rep(context, *auth_context, outbuf);
context 95 source4/auth/kerberos/kerberos_heimdal.c krb5_free_ticket(context, *ticket);
context 96 source4/auth/kerberos/kerberos_heimdal.c krb5_free_keyblock(context, *keyblock);
context 37 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 48 source4/auth/kerberos/kerberos_pac.c ret = krb5_crypto_init(context,
context 54 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 57 source4/auth/kerberos/kerberos_pac.c ret = krb5_verify_checksum(context,
context 63 source4/auth/kerberos/kerberos_pac.c krb5_crypto_destroy(context, crypto);
context 72 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 99 source4/auth/kerberos/kerberos_pac.c krb5_clear_error_string(context);
context 274 source4/auth/kerberos/kerberos_pac.c context,
context 278 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 288 source4/auth/kerberos/kerberos_pac.c context, krbtgt_keyblock);
context 291 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 309 source4/auth/kerberos/kerberos_pac.c ret = krb5_parse_name_flags(context, logon_name->account_name, KRB5_PRINCIPAL_PARSE_NO_REALM,
context 314 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 321 source4/auth/kerberos/kerberos_pac.c if (!krb5_principal_compare_any_realm(context, client_principal, client_principal_pac)) {
context 346 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 360 source4/auth/kerberos/kerberos_pac.c context,
context 386 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 394 source4/auth/kerberos/kerberos_pac.c ret = krb5_crypto_init(context,
context 400 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 403 source4/auth/kerberos/kerberos_pac.c ret = krb5_create_checksum(context,
context 412 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 415 source4/auth/kerberos/kerberos_pac.c krb5_crypto_destroy(context, crypto);
context 431 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 453 source4/auth/kerberos/kerberos_pac.c context, krbtgt_keyblock);
context 456 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 469 source4/auth/kerberos/kerberos_pac.c context, service_keyblock);
context 472 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 504 source4/auth/kerberos/kerberos_pac.c context, service_keyblock);
context 507 source4/auth/kerberos/kerberos_pac.c ret = make_pac_checksum(mem_ctx, &srv_checksum->signature, kdc_checksum, context, krbtgt_keyblock);
context 510 source4/auth/kerberos/kerberos_pac.c smb_get_krb5_error_message(context, ret, mem_ctx)));
context 536 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 633 source4/auth/kerberos/kerberos_pac.c ret = krb5_unparse_name_flags(context, client_principal,
context 649 source4/auth/kerberos/kerberos_pac.c context,
context 660 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 680 source4/auth/kerberos/kerberos_pac.c ret = krb5_pac_get_buffer(context, pac, PAC_TYPE_LOGON_INFO, &k5pac_logon_info_in);
context 710 source4/auth/kerberos/kerberos_pac.c ret = krb5_pac_get_buffer(context, pac, PAC_TYPE_SRV_CHECKSUM, &k5pac_srv_checksum_in);
context 729 source4/auth/kerberos/kerberos_pac.c ret = krb5_pac_get_buffer(context, pac, PAC_TYPE_KDC_CHECKSUM, &k5pac_kdc_checksum_in);
context 757 source4/auth/kerberos/kerberos_pac.c krb5_context context,
context 762 source4/auth/kerberos/kerberos_pac.c ret = krb5_pac_parse(context,
context 770 source4/auth/kerberos/kerberos_pac.c ret = kerberos_pac_to_server_info(mem_ctx, iconv_convenience, pac, context, server_info);
context 771 source4/auth/kerberos/kerberos_pac.c krb5_pac_free(context, pac);
context 206 source4/auth/kerberos/krb5_init_context.c krb5_error_code smb_krb5_send_and_recv_func(krb5_context context,
context 224 source4/auth/kerberos/krb5_init_context.c ret = krb5_krbhst_get_addrinfo(context, hi, &ai);
context 32 source4/auth/kerberos/krb5_init_context.h krb5_error_code smb_krb5_send_and_recv_func(krb5_context context,
context 78 source4/dsdb/samdb/cracknames.c static enum drsuapi_DsNameStatus LDB_lookup_spn_alias(krb5_context context, struct ldb_context *ldb_ctx,
context 289 source4/dsdb/samdb/ldb_modules/anr.c ac = talloc_get_type(req->context, struct anr_context);
context 52 source4/dsdb/samdb/ldb_modules/extended_dn_in.c ac = talloc_get_type(req->context, struct extended_search_context);
context 88 source4/dsdb/samdb/ldb_modules/extended_dn_in.c ac = talloc_get_type(req->context, struct extended_search_context);
context 251 source4/dsdb/samdb/ldb_modules/extended_dn_out.c ac = talloc_get_type(req->context, struct extended_search_context);
context 93 source4/dsdb/samdb/ldb_modules/extended_dn_store.c ac = talloc_get_type(req->context, struct extended_dn_context);
context 120 source4/dsdb/samdb/ldb_modules/extended_dn_store.c struct extended_dn_replace_list *os = talloc_get_type(req->context,
context 53 source4/dsdb/samdb/ldb_modules/instancetype.c ac = talloc_get_type(req->context, struct it_context);
context 217 source4/dsdb/samdb/ldb_modules/kludge_acl.c ac = talloc_get_type(req->context, struct kludge_acl_context);
context 242 source4/dsdb/samdb/ldb_modules/linked_attributes.c ac = talloc_get_type(req->context, struct la_context);
context 628 source4/dsdb/samdb/ldb_modules/linked_attributes.c ac = talloc_get_type(req->context, struct la_context);
context 845 source4/dsdb/samdb/ldb_modules/linked_attributes.c ac = talloc_get_type(req->context, struct la_context);
context 884 source4/dsdb/samdb/ldb_modules/linked_attributes.c ac = talloc_get_type(req->context, struct la_context);
context 930 source4/dsdb/samdb/ldb_modules/linked_attributes.c ac = talloc_get_type(req->context, struct la_context);
context 994 source4/dsdb/samdb/ldb_modules/linked_attributes.c ac = talloc_get_type(req->context, struct la_context);
context 113 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 261 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 390 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 443 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 601 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 654 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 790 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 903 source4/dsdb/samdb/ldb_modules/local_password.c ac = talloc_get_type(req->context, struct lpdb_context);
context 282 source4/dsdb/samdb/ldb_modules/objectclass.c ac = talloc_get_type(req->context, struct oc_context);
context 328 source4/dsdb/samdb/ldb_modules/objectclass.c ac = talloc_get_type(req->context, struct oc_context);
context 839 source4/dsdb/samdb/ldb_modules/objectclass.c ac = talloc_get_type(req->context, struct oc_context);
context 115 source4/dsdb/samdb/ldb_modules/objectguid.c ac = talloc_get_type(req->context, struct og_context);
context 164 source4/dsdb/samdb/ldb_modules/partition.c ac = talloc_get_type(req->context, struct partition_context);
context 1458 source4/dsdb/samdb/ldb_modules/password_hash.c ac = talloc_get_type(req->context, struct ph_context);
context 1495 source4/dsdb/samdb/ldb_modules/password_hash.c ac = talloc_get_type(req->context, struct ph_context);
context 1965 source4/dsdb/samdb/ldb_modules/password_hash.c ac = talloc_get_type(req->context, struct ph_context);
context 1997 source4/dsdb/samdb/ldb_modules/password_hash.c ac = talloc_get_type(req->context, struct ph_context);
context 263 source4/dsdb/samdb/ldb_modules/proxy.c ac = talloc_get_type(req->context, struct proxy_ctx);
context 63 source4/dsdb/samdb/ldb_modules/ranged_results.c ac = talloc_get_type(req->context, struct rr_context);
context 211 source4/dsdb/samdb/ldb_modules/repl_meta_data.c ac = talloc_get_type(req->context, struct replmd_replicated_request);
context 558 source4/dsdb/samdb/ldb_modules/repl_meta_data.c struct replmd_replicated_request *ar = talloc_get_type(req->context,
context 699 source4/dsdb/samdb/ldb_modules/repl_meta_data.c struct replmd_replicated_request *ar = talloc_get_type(req->context,
context 920 source4/dsdb/samdb/ldb_modules/repl_meta_data.c struct replmd_replicated_request *ar = talloc_get_type(req->context,
context 1003 source4/dsdb/samdb/ldb_modules/repl_meta_data.c struct replmd_replicated_request *ar = talloc_get_type(req->context,
context 1328 source4/dsdb/samdb/ldb_modules/repl_meta_data.c struct replmd_replicated_request *ar = talloc_get_type(req->context,
context 252 source4/dsdb/samdb/ldb_modules/rootdse.c ac = talloc_get_type(req->context, struct rootdse_context);
context 151 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 333 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 475 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 620 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 777 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 859 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 975 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 1081 source4/dsdb/samdb/ldb_modules/samldb.c ac = talloc_get_type(req->context, struct samldb_ctx);
context 398 source4/dsdb/samdb/ldb_modules/schema_fsmo.c ac = talloc_get_type(req->context, struct schema_fsmo_search_data);
context 51 source4/dsdb/samdb/ldb_modules/show_deleted.c ar = talloc_get_type(req->context, struct show_deleted_search_request);
context 580 source4/dsdb/samdb/ldb_modules/simple_ldap_map.c unsigned long long *seq = (unsigned long long *)req->context;
context 68 source4/dsdb/samdb/ldb_modules/subtree_delete.c ac = talloc_get_type(req->context, struct subtree_delete_context);
context 76 source4/dsdb/samdb/ldb_modules/subtree_rename.c ac = talloc_get_type(req->context, struct subtree_rename_context);
context 144 source4/dsdb/samdb/ldb_modules/subtree_rename.c ac = talloc_get_type(req->context, struct subtree_rename_context);
context 151 source4/dsdb/samdb/ldb_modules/update_keytab.c ac = talloc_get_type(req->context, struct update_kt_ctx);
context 209 source4/dsdb/samdb/ldb_modules/update_keytab.c ac = talloc_get_type(req->context, struct update_kt_ctx);
context 46 source4/heimdal/kdc/524.c fetch_server (krb5_context context,
context 56 source4/heimdal/kdc/524.c ret = _krb5_principalname2krb5_principal(context, &sprinc,
context 59 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "_krb5_principalname2krb5_principal: %s",
context 60 source4/heimdal/kdc/524.c krb5_get_err_text(context, ret));
context 63 source4/heimdal/kdc/524.c ret = krb5_unparse_name(context, sprinc, spn);
context 65 source4/heimdal/kdc/524.c krb5_free_principal(context, sprinc);
context 66 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "krb5_unparse_name: %s",
context 67 source4/heimdal/kdc/524.c krb5_get_err_text(context, ret));
context 70 source4/heimdal/kdc/524.c ret = _kdc_db_fetch(context, config, sprinc, HDB_F_GET_SERVER,
context 72 source4/heimdal/kdc/524.c krb5_free_principal(context, sprinc);
context 74 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 76 source4/heimdal/kdc/524.c from, *spn, krb5_get_err_text(context, ret));
context 85 source4/heimdal/kdc/524.c log_524 (krb5_context context,
context 95 source4/heimdal/kdc/524.c ret = _krb5_principalname2krb5_principal(context, &client,
context 98 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "_krb5_principalname2krb5_principal: %s",
context 99 source4/heimdal/kdc/524.c krb5_get_err_text (context, ret));
context 102 source4/heimdal/kdc/524.c ret = krb5_unparse_name(context, client, &cpn);
context 104 source4/heimdal/kdc/524.c krb5_free_principal(context, client);
context 105 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "krb5_unparse_name: %s",
context 106 source4/heimdal/kdc/524.c krb5_get_err_text (context, ret));
context 109 source4/heimdal/kdc/524.c kdc_log(context, config, 1, "524-REQ %s from %s for %s", cpn, from, spn);
context 111 source4/heimdal/kdc/524.c krb5_free_principal(context, client);
context 116 source4/heimdal/kdc/524.c verify_flags (krb5_context context,
context 122 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "Ticket expired (%s)", spn);
context 126 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "Ticket not valid (%s)", spn);
context 138 source4/heimdal/kdc/524.c set_address (krb5_context context,
context 151 source4/heimdal/kdc/524.c ret = krb5_sockaddr2address(context, addr, v4_addr);
context 154 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "Failed to convert address (%s)", from);
context 158 source4/heimdal/kdc/524.c if (et->caddr && !krb5_address_search (context, v4_addr, et->caddr)) {
context 159 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "Incorrect network address (%s)", from);
context 160 source4/heimdal/kdc/524.c krb5_free_address(context, v4_addr);
context 174 source4/heimdal/kdc/524.c krb5_free_address(context, v4_addr);
context 182 source4/heimdal/kdc/524.c krb5_free_address(context, v4_addr);
context 190 source4/heimdal/kdc/524.c encrypt_v4_ticket(krb5_context context,
context 199 source4/heimdal/kdc/524.c ret = krb5_crypto_init(context, skey, ETYPE_DES_PCBC_NONE, &crypto);
context 202 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 203 source4/heimdal/kdc/524.c krb5_get_err_text(context, ret));
context 207 source4/heimdal/kdc/524.c ret = krb5_encrypt_EncryptedData(context,
context 214 source4/heimdal/kdc/524.c krb5_crypto_destroy(context, crypto);
context 216 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "Failed to encrypt data: %s",
context 217 source4/heimdal/kdc/524.c krb5_get_err_text(context, ret));
context 224 source4/heimdal/kdc/524.c encode_524_response(krb5_context context,
context 234 source4/heimdal/kdc/524.c use_2b = krb5_config_get_bool(context, NULL, "kdc", "use_2b", spn, NULL);
context 241 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 254 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "524 cross-realm %s -> %s disabled", et.crealm,
context 259 source4/heimdal/kdc/524.c ret = _kdc_encode_v4_ticket(context, config,
context 263 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 267 source4/heimdal/kdc/524.c ret = _kdc_get_des_key(context, server, TRUE, FALSE, &skey);
context 269 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 273 source4/heimdal/kdc/524.c ret = encrypt_v4_ticket(context, config, buf + sizeof(buf) - len, len,
context 276 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 292 source4/heimdal/kdc/524.c _kdc_do_524(krb5_context context,
context 312 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 317 source4/heimdal/kdc/524.c ret = fetch_server (context, config, t, &spn, &server, from);
context 322 source4/heimdal/kdc/524.c ret = hdb_enctype2key(context, &server->entry, t->enc_part.etype, &skey);
context 324 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 328 source4/heimdal/kdc/524.c ret = krb5_crypto_init(context, &skey->key, 0, &crypto);
context 330 source4/heimdal/kdc/524.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 331 source4/heimdal/kdc/524.c krb5_get_err_text(context, ret));
context 334 source4/heimdal/kdc/524.c ret = krb5_decrypt_EncryptedData (context,
context 339 source4/heimdal/kdc/524.c krb5_crypto_destroy(context, crypto);
context 341 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 345 source4/heimdal/kdc/524.c ret = krb5_decode_EncTicketPart(context, et_data.data, et_data.length,
context 349 source4/heimdal/kdc/524.c kdc_log(context, config, 0,
context 354 source4/heimdal/kdc/524.c ret = log_524 (context, config, &et, from, spn);
context 360 source4/heimdal/kdc/524.c ret = verify_flags (context, config, &et, spn);
context 366 source4/heimdal/kdc/524.c ret = set_address (context, config, &et, addr, from);
context 372 source4/heimdal/kdc/524.c ret = encode_524_response(context, config, spn, et, t,
context 398 source4/heimdal/kdc/524.c _kdc_free_ent (context, server);
context 42 source4/heimdal/kdc/default_config.c krb5_kdc_get_config(krb5_context context, krb5_kdc_configuration **config)
context 48 source4/heimdal/kdc/default_config.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 71 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 75 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 79 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 84 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 88 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 95 source4/heimdal/kdc/default_config.c digests = krb5_config_get_string(context, NULL,
context 102 source4/heimdal/kdc/default_config.c kdc_log(context, c, 0,
context 107 source4/heimdal/kdc/default_config.c kdc_log(context, c, 0,
context 115 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 121 source4/heimdal/kdc/default_config.c krb5_config_get_string(context, NULL,
context 124 source4/heimdal/kdc/default_config.c krb5_config_get_string(context, NULL,
context 127 source4/heimdal/kdc/default_config.c kdc_log(context, c, 0,
context 134 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 139 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 145 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 151 source4/heimdal/kdc/default_config.c krb5_config_get_int_default(context,
context 162 source4/heimdal/kdc/default_config.c krb5_config_get_string_default(context, NULL, "DEFAULT", "kdc",
context 173 source4/heimdal/kdc/default_config.c kdc_log(context, c, 0,
context 182 source4/heimdal/kdc/default_config.c p = krb5_config_get_string (context, NULL,
context 189 source4/heimdal/kdc/default_config.c krb5_errx(context, 1, "out of memory");
context 196 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context,
context 203 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 209 source4/heimdal/kdc/default_config.c krb5_config_get_time_default (context, NULL,
context 216 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context,
context 227 source4/heimdal/kdc/default_config.c krb5_config_get_string(context, NULL,
context 230 source4/heimdal/kdc/default_config.c krb5_errx(context, 1, "pkinit enabled but no identity");
context 232 source4/heimdal/kdc/default_config.c anchors = krb5_config_get_string(context, NULL,
context 235 source4/heimdal/kdc/default_config.c krb5_errx(context, 1, "pkinit enabled but no X509 anchors");
context 238 source4/heimdal/kdc/default_config.c krb5_config_get_strings(context, NULL,
context 242 source4/heimdal/kdc/default_config.c krb5_config_get_strings(context, NULL,
context 246 source4/heimdal/kdc/default_config.c krb5_config_get_string(context, NULL,
context 251 source4/heimdal/kdc/default_config.c krb5_errx(context, 1, "out of memory");
context 254 source4/heimdal/kdc/default_config.c _kdc_pk_initialize(context, c, user_id, anchors,
context 261 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 268 source4/heimdal/kdc/default_config.c krb5_config_get_bool_default(context, NULL,
context 276 source4/heimdal/kdc/default_config.c krb5_config_get_int_default(context, NULL,
context 58 source4/heimdal/kdc/digest.c get_digest_key(krb5_context context,
context 67 source4/heimdal/kdc/digest.c ret = _kdc_get_preferred_key(context,
context 75 source4/heimdal/kdc/digest.c return krb5_crypto_init(context, &key->key, 0, crypto);
context 83 source4/heimdal/kdc/digest.c get_ntlm_targetname(krb5_context context,
context 88 source4/heimdal/kdc/digest.c targetname = strdup(krb5_principal_get_realm(context,
context 102 source4/heimdal/kdc/digest.c fill_targetinfo(krb5_context context,
context 117 source4/heimdal/kdc/digest.c str = krb5_principal_get_comp_string(context, p, 0);
context 125 source4/heimdal/kdc/digest.c str = krb5_principal_get_comp_string(context, p, 1);
context 164 source4/heimdal/kdc/digest.c get_password_entry(krb5_context context,
context 175 source4/heimdal/kdc/digest.c ret = krb5_parse_name(context, username, &clientprincipal);
context 179 source4/heimdal/kdc/digest.c ret = _kdc_db_fetch(context, config, clientprincipal,
context 181 source4/heimdal/kdc/digest.c krb5_free_principal(context, clientprincipal);
context 185 source4/heimdal/kdc/digest.c ret = hdb_entry_get_password(context, db, &user->entry, password);
context 189 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "password missing");
context 193 source4/heimdal/kdc/digest.c _kdc_free_ent (context, user);
context 202 source4/heimdal/kdc/digest.c _kdc_do_digest(krb5_context context,
context 226 source4/heimdal/kdc/digest.c kdc_log(context, config, 0,
context 238 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Digest request from %s", from);
context 240 source4/heimdal/kdc/digest.c ret = krb5_kt_resolve(context, "HDB:", &id);
context 242 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Can't open database for digest");
context 246 source4/heimdal/kdc/digest.c ret = krb5_rd_req(context,
context 261 source4/heimdal/kdc/digest.c ret = krb5_ticket_get_server(context, ticket, &principal);
context 266 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Wrong digest server principal used");
context 267 source4/heimdal/kdc/digest.c p = krb5_principal_get_comp_string(context, principal, 0);
context 269 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 273 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 277 source4/heimdal/kdc/digest.c p = krb5_principal_get_comp_string(context, principal, 1);
context 279 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 282 source4/heimdal/kdc/digest.c r = krb5_principal_get_realm(context, principal);
context 284 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 288 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 291 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 293 source4/heimdal/kdc/digest.c ret = _kdc_db_fetch(context, config, principal,
context 298 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 305 source4/heimdal/kdc/digest.c ret = krb5_ticket_get_client(context, ticket, &principal);
context 309 source4/heimdal/kdc/digest.c ret = krb5_unparse_name(context, principal, &client_name);
context 311 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 315 source4/heimdal/kdc/digest.c ret = _kdc_db_fetch(context, config, principal,
context 317 source4/heimdal/kdc/digest.c krb5_free_principal(context, principal);
context 322 source4/heimdal/kdc/digest.c kdc_log(context, config, 0,
context 327 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 337 source4/heimdal/kdc/digest.c ret = krb5_auth_con_getremotesubkey(context, ac, &key);
context 342 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "digest: remote subkey not found");
context 346 source4/heimdal/kdc/digest.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 347 source4/heimdal/kdc/digest.c krb5_free_keyblock (context, key);
context 352 source4/heimdal/kdc/digest.c ret = krb5_decrypt_EncryptedData(context, crypto, KRB5_KU_DIGEST_ENCRYPT,
context 354 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
context 362 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to decode digest inner request");
context 366 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Valid digest request from %s (%s)",
context 390 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to decode server nonce");
context 397 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 402 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 414 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 424 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 433 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 440 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 450 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 457 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 461 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
context 465 source4/heimdal/kdc/digest.c ret = krb5_create_checksum(context,
context 472 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
context 481 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to encode "
context 486 source4/heimdal/kdc/digest.c krb5_abortx(context, "ASN1 internal error");
context 491 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 496 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Digest %s init request successful from %s",
context 505 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 510 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 519 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 528 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 535 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to decode opaque");
context 543 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to decode digest Checksum");
context 549 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 557 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 572 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to decode serverNonce");
context 578 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
context 582 source4/heimdal/kdc/digest.c ret = krb5_verify_checksum(context, crypto,
context 585 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
context 597 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "server nonce too short");
context 602 source4/heimdal/kdc/digest.c if (abs((kdc_time & 0xffffffff) - t) > context->max_skew) {
context 604 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "time screw in server nonce ");
context 616 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Digest CHAP MD5 not allowed");
context 622 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Identifier missing "
context 629 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "failed to decode identifier");
context 633 source4/heimdal/kdc/digest.c ret = get_password_entry(context, config,
context 647 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 659 source4/heimdal/kdc/digest.c kdc_log(context, config, 0,
context 672 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Digest SASL MD5 not allowed");
context 685 source4/heimdal/kdc/digest.c ret = get_password_entry(context, config,
context 718 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 737 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 766 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 777 source4/heimdal/kdc/digest.c kdc_log(context, config, 0,
context 793 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "MS-CHAP-V2 not allowed");
context 799 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 805 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 827 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 835 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 847 source4/heimdal/kdc/digest.c ret = krb5_parse_name(context, username, &clientprincipal);
context 851 source4/heimdal/kdc/digest.c ret = _kdc_db_fetch(context, config, clientprincipal,
context 853 source4/heimdal/kdc/digest.c krb5_free_principal(context, clientprincipal);
context 855 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 861 source4/heimdal/kdc/digest.c ret = hdb_enctype2key(context, &user->entry,
context 864 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 875 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM missing arcfour key");
context 882 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 892 source4/heimdal/kdc/digest.c kdc_log(context, config, 0,
context 928 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 936 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 953 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 960 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 971 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 977 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Digest %s request successful %s",
context 985 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM not allowed");
context 994 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM client have no unicode");
context 1001 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM client doesn't support NTLM");
context 1022 source4/heimdal/kdc/digest.c get_ntlm_targetname(context, client);
context 1025 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1031 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1039 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "out of random error");
context 1046 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1050 source4/heimdal/kdc/digest.c ret = fill_targetinfo(context,
context 1056 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1067 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1074 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "storage write challange");
context 1079 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 1085 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 1089 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
context 1093 source4/heimdal/kdc/digest.c ret = krb5_encrypt(context, crypto, KRB5_KU_DIGEST_OPAQUE,
context 1096 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
context 1101 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM init from %s", from);
context 1120 source4/heimdal/kdc/digest.c ret = krb5_parse_name(context,
context 1126 source4/heimdal/kdc/digest.c ret = _kdc_db_fetch(context, config, clientprincipal,
context 1128 source4/heimdal/kdc/digest.c krb5_free_principal(context, clientprincipal);
context 1130 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM user %s not in database",
context 1135 source4/heimdal/kdc/digest.c ret = get_digest_key(context, config, server, &crypto);
context 1139 source4/heimdal/kdc/digest.c ret = krb5_decrypt(context, crypto, KRB5_KU_DIGEST_OPAQUE,
context 1142 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
context 1145 source4/heimdal/kdc/digest.c kdc_log(context, config, 0,
context 1153 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1160 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM storage read challange");
context 1165 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM storage read flags");
context 1172 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM not negotiated");
context 1176 source4/heimdal/kdc/digest.c ret = hdb_enctype2key(context, &user->entry,
context 1179 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM missing arcfour key");
context 1189 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM v2 not allowed");
context 1195 source4/heimdal/kdc/digest.c targetname = get_ntlm_targetname(context, client);
context 1198 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1216 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM v2 verify failed");
context 1235 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM v1-session not allowed");
context 1242 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "LM hash have wrong length "
context 1254 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM v1 not allowed");
context 1263 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM missing arcfour key");
context 1272 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "NTLM hash mismatch");
context 1294 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 1303 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret,
context 1320 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1327 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1333 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "NTLM version %d successful for %s",
context 1339 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "digest supportedMechs from %s", from);
context 1361 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "unknown operation to digest");
context 1365 source4/heimdal/kdc/digest.c s = krb5_get_error_message(context, ret);
context 1367 source4/heimdal/kdc/digest.c krb5_clear_error_message(context);
context 1371 source4/heimdal/kdc/digest.c kdc_log(context, config, 0, "Digest failed with: %s", s);
context 1375 source4/heimdal/kdc/digest.c krb5_free_error_message(context, s);
context 1378 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 1388 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to encode inner digest reply");
context 1392 source4/heimdal/kdc/digest.c krb5_abortx(context, "ASN1 internal error");
context 1394 source4/heimdal/kdc/digest.c krb5_auth_con_addflags(context, ac, KRB5_AUTH_CONTEXT_USE_SUBKEY, NULL);
context 1396 source4/heimdal/kdc/digest.c ret = krb5_mk_rep (context, ac, &rep.apRep);
context 1403 source4/heimdal/kdc/digest.c ret = krb5_auth_con_getlocalsubkey(context, ac, &key);
context 1407 source4/heimdal/kdc/digest.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 1408 source4/heimdal/kdc/digest.c krb5_free_keyblock (context, key);
context 1413 source4/heimdal/kdc/digest.c ret = krb5_encrypt_EncryptedData(context, crypto, KRB5_KU_DIGEST_ENCRYPT,
context 1419 source4/heimdal/kdc/digest.c krb5_set_error_message(context, ret, "Failed to encode digest reply");
context 1423 source4/heimdal/kdc/digest.c krb5_abortx(context, "ASN1 internal error");
context 1428 source4/heimdal/kdc/digest.c krb5_auth_con_free(context, ac);
context 1430 source4/heimdal/kdc/digest.c krb5_warn(context, ret, "Digest request from %s failed", from);
context 1432 source4/heimdal/kdc/digest.c krb5_free_ticket(context, ticket);
context 1434 source4/heimdal/kdc/digest.c krb5_kt_close(context, id);
context 1436 source4/heimdal/kdc/digest.c krb5_crypto_destroy(context, crypto);
context 1440 source4/heimdal/kdc/digest.c _kdc_free_ent (context, user);
context 1442 source4/heimdal/kdc/digest.c _kdc_free_ent (context, server);
context 1444 source4/heimdal/kdc/digest.c _kdc_free_ent (context, client);
context 283 source4/heimdal/kdc/kaserver.c create_reply_ticket (krb5_context context,
context 309 source4/heimdal/kdc/kaserver.c krb5_generate_random_keyblock(context, ETYPE_DES_PCBC_NONE, &session);
context 311 source4/heimdal/kdc/kaserver.c _krb5_krb_create_ticket(context,
context 332 source4/heimdal/kdc/kaserver.c krb5_free_keyblock_contents(context, &session);
context 433 source4/heimdal/kdc/kaserver.c do_authenticate (krb5_context context,
context 473 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "AS-REQ (kaserver) %s from %s for %s",
context 476 source4/heimdal/kdc/kaserver.c ret = _kdc_db_fetch4 (context, config, name, instance,
context 480 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "Client not found in database: %s: %s",
context 481 source4/heimdal/kdc/kaserver.c client_name, krb5_get_err_text(context, ret));
context 486 source4/heimdal/kdc/kaserver.c ret = _kdc_db_fetch4 (context, config, "krbtgt",
context 490 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "Server not found in database: %s: %s",
context 491 source4/heimdal/kdc/kaserver.c server_name, krb5_get_err_text(context, ret));
context 496 source4/heimdal/kdc/kaserver.c ret = _kdc_check_flags (context, config,
context 506 source4/heimdal/kdc/kaserver.c ret = _kdc_get_des_key(context, client_entry, FALSE, TRUE, &ckey);
context 508 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "no suitable DES key for client");
context 514 source4/heimdal/kdc/kaserver.c ret = _kdc_get_des_key(context, server_entry, TRUE, TRUE, &skey);
context 516 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "no suitable DES key for server");
context 540 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "preauth failed for %s", client_name);
context 549 source4/heimdal/kdc/kaserver.c if (abs(chal - kdc_time) > context->max_skew) {
context 567 source4/heimdal/kdc/kaserver.c create_reply_ticket (context,
context 586 source4/heimdal/kdc/kaserver.c _kdc_free_ent (context, client_entry);
context 588 source4/heimdal/kdc/kaserver.c _kdc_free_ent (context, server_entry);
context 646 source4/heimdal/kdc/kaserver.c do_getticket (krb5_context context,
context 693 source4/heimdal/kdc/kaserver.c ret = _kdc_db_fetch4 (context, config, name, instance,
context 696 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "Server not found in database: %s: %s",
context 697 source4/heimdal/kdc/kaserver.c server_name, krb5_get_err_text(context, ret));
context 702 source4/heimdal/kdc/kaserver.c ret = _kdc_db_fetch4 (context, config, "krbtgt",
context 705 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0,
context 708 source4/heimdal/kdc/kaserver.c krb5_get_err_text(context, ret));
context 714 source4/heimdal/kdc/kaserver.c ret = _kdc_get_des_key(context, krbtgt_entry, TRUE, TRUE, &kkey);
context 716 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "no suitable DES key for krbtgt");
context 722 source4/heimdal/kdc/kaserver.c ret = _kdc_get_des_key(context, server_entry, TRUE, TRUE, &skey);
context 724 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "no suitable DES key for server");
context 737 source4/heimdal/kdc/kaserver.c ret = _krb5_krb_decomp_ticket(context, &aticket, &kkey->key,
context 741 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0,
context 750 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "no TGT: %s.%s for %s.%s@%s",
context 762 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "TGT expired: %s.%s@%s",
context 772 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0, "TGS-REQ (kaserver) %s from %s for %s",
context 775 source4/heimdal/kdc/kaserver.c ret = _kdc_db_fetch4 (context, config,
context 779 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0,
context 781 source4/heimdal/kdc/kaserver.c client_name, krb5_get_err_text(context, ret));
context 786 source4/heimdal/kdc/kaserver.c kdc_log(context, config, 0,
context 793 source4/heimdal/kdc/kaserver.c ret = _kdc_check_flags (context, config,
context 842 source4/heimdal/kdc/kaserver.c create_reply_ticket (context,
context 852 source4/heimdal/kdc/kaserver.c _krb5_krb_free_auth_data(context, &ad);
context 868 source4/heimdal/kdc/kaserver.c _kdc_free_ent (context, krbtgt_entry);
context 870 source4/heimdal/kdc/kaserver.c _kdc_free_ent (context, server_entry);
context 874 source4/heimdal/kdc/kaserver.c _kdc_do_kaserver(krb5_context context,
context 925 source4/heimdal/kdc/kaserver.c do_authenticate (context, config, &hdr, sp, addr, from, reply);
context 928 source4/heimdal/kdc/kaserver.c do_getticket (context, config, &hdr, sp, addr, from, reply);
context 67 source4/heimdal/kdc/kdc_locl.h loop(krb5_context context, krb5_kdc_configuration *config);
context 70 source4/heimdal/kdc/kdc_locl.h configure(krb5_context context, int argc, char **argv);
context 58 source4/heimdal/kdc/kerberos4.c make_err_reply(krb5_context context, krb5_data *reply,
context 61 source4/heimdal/kdc/kerberos4.c _krb5_krb_cr_err_reply(context, "", "", "",
context 71 source4/heimdal/kdc/kerberos4.c valid_princ(krb5_context context,
context 80 source4/heimdal/kdc/kerberos4.c ret = krb5_unparse_name(context, princ, &s);
context 83 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch(context, ctx->config, princ, ctx->flags, NULL, &ent);
context 85 source4/heimdal/kdc/kerberos4.c kdc_log(context, ctx->config, 7, "Lookup %s failed: %s", s,
context 86 source4/heimdal/kdc/kerberos4.c krb5_get_err_text (context, ret));
context 90 source4/heimdal/kdc/kerberos4.c kdc_log(context, ctx->config, 7, "Lookup %s succeeded", s);
context 92 source4/heimdal/kdc/kerberos4.c _kdc_free_ent(context, ent);
context 97 source4/heimdal/kdc/kerberos4.c _kdc_db_fetch4(krb5_context context,
context 110 source4/heimdal/kdc/kerberos4.c ret = krb5_425_conv_principal_ext2(context, name, instance, realm,
context 114 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch(context, config, p, flags, NULL, ent);
context 115 source4/heimdal/kdc/kerberos4.c krb5_free_principal(context, p);
context 119 source4/heimdal/kdc/kerberos4.c #define RCHECK(X, L) if(X){make_err_reply(context, reply, KFAILURE, "Packet too short"); goto L;}
context 128 source4/heimdal/kdc/kerberos4.c _kdc_do_version4(krb5_context context,
context 152 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 154 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_GEN_ERR,
context 162 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 164 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PKT_VER, "protocol mismatch");
context 193 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "AS-REQ (krb4) %s from %s for %s",
context 196 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch4(context, config, name, inst, realm,
context 199 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "Client not found in database: %s: %s",
context 200 source4/heimdal/kdc/kerberos4.c client_name, krb5_get_err_text(context, ret));
context 201 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN,
context 205 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch4(context, config, sname, sinst, config->v4_realm,
context 208 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "Server not found in database: %s: %s",
context 209 source4/heimdal/kdc/kerberos4.c server_name, krb5_get_err_text(context, ret));
context 210 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN,
context 215 source4/heimdal/kdc/kerberos4.c ret = _kdc_check_flags (context, config,
context 221 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NAME_EXP,
context 229 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 232 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NULL_KEY,
context 245 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 249 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NULL_KEY,
context 254 source4/heimdal/kdc/kerberos4.c ret = _kdc_get_des_key(context, client, FALSE, FALSE, &ckey);
context 256 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "no suitable DES key for client");
context 257 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NULL_KEY,
context 262 source4/heimdal/kdc/kerberos4.c ret = _kdc_get_des_key(context, server, TRUE, FALSE, &skey);
context 264 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "no suitable DES key for server");
context 265 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NULL_KEY,
context 278 source4/heimdal/kdc/kerberos4.c ret = krb5_generate_random_keyblock(context,
context 282 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 287 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_create_ticket(context,
context 301 source4/heimdal/kdc/kerberos4.c krb5_free_keyblock_contents(context, &session);
context 302 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 307 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_create_ciph(context,
context 318 source4/heimdal/kdc/kerberos4.c krb5_free_keyblock_contents(context, &session);
context 321 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 326 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_create_auth_reply(context,
context 360 source4/heimdal/kdc/kerberos4.c ret = krb5_425_conv_principal(context, "krbtgt", realm,
context 364 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 366 source4/heimdal/kdc/kerberos4.c krb5_get_err_text(context, ret));
context 367 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 372 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch(context, config, tgt_princ,
context 376 source4/heimdal/kdc/kerberos4.c s = kdc_log_msg(context, config, 0, "Ticket-granting ticket not "
context 379 source4/heimdal/kdc/kerberos4.c krb5_get_err_text(context, ret));
context 380 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE, s);
context 386 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 390 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_AUTH_EXP,
context 395 source4/heimdal/kdc/kerberos4.c ret = _kdc_get_des_key(context, tgt, TRUE, FALSE, &tkey);
context 397 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 399 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NULL_KEY,
context 417 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_rd_req(context, &auth, "krbtgt", realm,
context 421 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "krb_rd_req: %d", ret);
context 422 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, ret, "failed to parse request");
context 439 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "TGS-REQ (krb4) %s from %s for %s",
context 443 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 445 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN,
context 451 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 454 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN,
context 460 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 462 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN,
context 467 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch4(context, config, ad.pname, ad.pinst, ad.prealm,
context 471 source4/heimdal/kdc/kerberos4.c s = kdc_log_msg(context, config, 0,
context 473 source4/heimdal/kdc/kerberos4.c client_name, krb5_get_err_text(context, ret));
context 474 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN, s);
context 480 source4/heimdal/kdc/kerberos4.c s = kdc_log_msg(context, config, 0,
context 483 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN, s);
context 488 source4/heimdal/kdc/kerberos4.c ret = _kdc_db_fetch4(context, config, sname, sinst, config->v4_realm,
context 492 source4/heimdal/kdc/kerberos4.c s = kdc_log_msg(context, config, 0,
context 494 source4/heimdal/kdc/kerberos4.c server_name, krb5_get_err_text(context, ret));
context 495 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_PR_UNKNOWN, s);
context 500 source4/heimdal/kdc/kerberos4.c ret = _kdc_check_flags (context, config,
context 505 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NAME_EXP,
context 510 source4/heimdal/kdc/kerberos4.c ret = _kdc_get_des_key(context, server, TRUE, FALSE, &skey);
context 512 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0,
context 514 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KRB4ET_KDC_NULL_KEY,
context 546 source4/heimdal/kdc/kerberos4.c ret = krb5_generate_random_keyblock(context,
context 550 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 555 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_create_ticket(context,
context 569 source4/heimdal/kdc/kerberos4.c krb5_free_keyblock_contents(context, &session);
context 570 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 575 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_create_ciph(context,
context 586 source4/heimdal/kdc/kerberos4.c krb5_free_keyblock_contents(context, &session);
context 588 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE,
context 593 source4/heimdal/kdc/kerberos4.c ret = _krb5_krb_create_auth_reply(context,
context 606 source4/heimdal/kdc/kerberos4.c _krb5_krb_free_auth_data(context, &ad);
context 608 source4/heimdal/kdc/kerberos4.c krb5_free_principal(context, tgt_princ);
context 610 source4/heimdal/kdc/kerberos4.c _kdc_free_ent(context, tgt);
context 617 source4/heimdal/kdc/kerberos4.c kdc_log(context, config, 0, "Unknown message type (krb4): %d from %s",
context 620 source4/heimdal/kdc/kerberos4.c make_err_reply(context, reply, KFAILURE, "Unknown message type");
context 635 source4/heimdal/kdc/kerberos4.c _kdc_free_ent(context, client);
context 637 source4/heimdal/kdc/kerberos4.c _kdc_free_ent(context, server);
context 643 source4/heimdal/kdc/kerberos4.c _kdc_encode_v4_ticket(krb5_context context,
context 655 source4/heimdal/kdc/kerberos4.c _krb5_principalname2krb5_principal(context,
context 659 source4/heimdal/kdc/kerberos4.c ret = krb5_524_conv_principal(context,
context 664 source4/heimdal/kdc/kerberos4.c krb5_free_principal(context, princ);
context 668 source4/heimdal/kdc/kerberos4.c _krb5_principalname2krb5_principal(context,
context 673 source4/heimdal/kdc/kerberos4.c ret = krb5_524_conv_principal(context,
context 678 source4/heimdal/kdc/kerberos4.c krb5_free_principal(context, princ);
context 734 source4/heimdal/kdc/kerberos4.c _kdc_get_des_key(krb5_context context,
context 750 source4/heimdal/kdc/kerberos4.c while(hdb_next_enctype2key(context, &principal->entry, etypes[i], &key) == 0) {
context 128 source4/heimdal/kdc/kerberos5.c _kdc_find_etype(krb5_context context, const hdb_entry_ex *princ,
context 136 source4/heimdal/kdc/kerberos5.c krb5_get_pw_salt (context, princ->entry.principal, &def_salt);
context 141 source4/heimdal/kdc/kerberos5.c if (krb5_enctype_valid(context, etypes[i]) != 0 &&
context 145 source4/heimdal/kdc/kerberos5.c while (hdb_next_enctype2key(context, &princ->entry, etypes[i], &key) == 0) {
context 154 source4/heimdal/kdc/kerberos5.c krb5_free_salt (context, def_salt);
context 159 source4/heimdal/kdc/kerberos5.c krb5_free_salt (context, def_salt);
context 181 source4/heimdal/kdc/kerberos5.c _kdc_log_timestamp(krb5_context context,
context 190 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, authtime,
context 193 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *starttime,
context 197 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, endtime,
context 200 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *renew_till,
context 205 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5,
context 211 source4/heimdal/kdc/kerberos5.c log_patypes(krb5_context context,
context 240 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "out of memory");
context 248 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Client sent patypes: %s", str);
context 258 source4/heimdal/kdc/kerberos5.c _kdc_encode_reply(krb5_context context,
context 275 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Failed to encode ticket: %s",
context 276 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 281 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Internal error in ASN.1 encoder");
context 286 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, skey, etype, &crypto);
context 289 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 290 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 294 source4/heimdal/kdc/kerberos5.c ret = krb5_encrypt_EncryptedData(context,
context 302 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
context 304 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Failed to encrypt data: %s",
context 305 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 314 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Failed to encode KDC-REP: %s",
context 315 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 320 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Internal error in ASN.1 encoder");
context 324 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, ckey, 0, &crypto);
context 327 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 328 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 332 source4/heimdal/kdc/kerberos5.c krb5_encrypt_EncryptedData(context,
context 342 source4/heimdal/kdc/kerberos5.c krb5_encrypt_EncryptedData(context,
context 352 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
context 354 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Failed to encode KDC-REP: %s",
context 355 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 360 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Internal error in ASN.1 encoder");
context 414 source4/heimdal/kdc/kerberos5.c make_etype_info_entry(krb5_context context, ETYPE_INFO_ENTRY *ent, Key *key)
context 426 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "unknown salt-type: %d",
context 447 source4/heimdal/kdc/kerberos5.c krb5_copy_data(context, &key->salt->salt,
context 462 source4/heimdal/kdc/kerberos5.c get_pa_etype_info(krb5_context context,
context 489 source4/heimdal/kdc/kerberos5.c if (krb5_enctype_valid(context, etypes[j]) != 0)
context 494 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal error: n >= p.len");
context 495 source4/heimdal/kdc/kerberos5.c if((ret = make_etype_info_entry(context,
context 512 source4/heimdal/kdc/kerberos5.c if (krb5_enctype_valid(context, client->keys.val[i].key.keytype) != 0)
context 517 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal error: n >= p.len");
context 518 source4/heimdal/kdc/kerberos5.c if((ret = make_etype_info_entry(context,
context 624 source4/heimdal/kdc/kerberos5.c get_pa_etype_info2(krb5_context context,
context 650 source4/heimdal/kdc/kerberos5.c if (krb5_enctype_valid(context, etypes[j]) != 0)
context 653 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal error: n >= p.len");
context 671 source4/heimdal/kdc/kerberos5.c if (krb5_enctype_valid(context, client->keys.val[i].key.keytype) != 0)
context 674 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal error: n >= p.len");
context 708 source4/heimdal/kdc/kerberos5.c log_as_req(krb5_context context,
context 720 source4/heimdal/kdc/kerberos5.c ret = krb5_enctype_to_string(context, b->etype.val[i], &str);
context 729 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "out of memory");
context 737 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Client supported enctypes: %s", str);
context 744 source4/heimdal/kdc/kerberos5.c ret = krb5_enctype_to_string(context, cetype, &cet);
context 746 source4/heimdal/kdc/kerberos5.c ret = krb5_enctype_to_string(context, setype, &set);
context 748 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5, "Using %s/%s", cet, set);
context 754 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5, "Using e-types %d/%d", cetype, setype);
context 762 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 2, "Requested flags: %s", fixedstr);
context 773 source4/heimdal/kdc/kerberos5.c _kdc_check_flags(krb5_context context,
context 784 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 790 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 797 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *client->valid_start,
context 799 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 807 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *client->valid_end,
context 809 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 818 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *client->pw_end,
context 820 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 833 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 839 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 845 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 852 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *server->valid_start,
context 854 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 862 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *server->valid_end,
context 864 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 872 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, *server->pw_end,
context 874 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 890 source4/heimdal/kdc/kerberos5.c _kdc_check_addresses(krb5_context context,
context 921 source4/heimdal/kdc/kerberos5.c ret = krb5_sockaddr2address (context, from, &addr);
context 925 source4/heimdal/kdc/kerberos5.c result = krb5_address_search(context, &addr, addresses);
context 926 source4/heimdal/kdc/kerberos5.c krb5_free_address (context, &addr);
context 935 source4/heimdal/kdc/kerberos5.c send_pac_p(krb5_context context, KDC_REQ *req)
context 964 source4/heimdal/kdc/kerberos5.c _kdc_as_rep(krb5_context context,
context 1003 source4/heimdal/kdc/kerberos5.c ret = _krb5_principalname2krb5_principal (context,
context 1008 source4/heimdal/kdc/kerberos5.c ret = krb5_unparse_name(context, server_princ, &server_name);
context 1011 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1023 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1030 source4/heimdal/kdc/kerberos5.c ret = krb5_parse_name(context, b->cname->name_string.val[0],
context 1035 source4/heimdal/kdc/kerberos5.c ret = _krb5_principalname2krb5_principal (context,
context 1042 source4/heimdal/kdc/kerberos5.c ret = krb5_unparse_name(context, client_princ, &client_name);
context 1045 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1050 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "AS-REQ %s from %s for %s",
context 1053 source4/heimdal/kdc/kerberos5.c ret = _kdc_db_fetch(context, config, client_princ,
context 1056 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "UNKNOWN -- %s: %s", client_name,
context 1057 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 1062 source4/heimdal/kdc/kerberos5.c ret = _kdc_db_fetch(context, config, server_princ,
context 1066 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "UNKNOWN -- %s: %s", server_name,
context 1067 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 1072 source4/heimdal/kdc/kerberos5.c ret = _kdc_windc_client_access(context, client, req, &e_data);
context 1076 source4/heimdal/kdc/kerberos5.c ret = _kdc_check_flags(context, config,
context 1091 source4/heimdal/kdc/kerberos5.c log_patypes(context, config, req->padata);
context 1094 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5,
context 1110 source4/heimdal/kdc/kerberos5.c ret = _kdc_pk_rd_padata(context, config, req, pa, &pkp);
context 1113 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5,
context 1121 source4/heimdal/kdc/kerberos5.c ret = _kdc_pk_check_client(context,
context 1129 source4/heimdal/kdc/kerberos5.c _kdc_pk_free_client_param(context, pkp);
context 1131 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "%s", e_text);
context 1137 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1146 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5, "Looking for ENC-TS pa-data -- %s",
context 1167 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5, "Failed to decode PA-DATA -- %s",
context 1172 source4/heimdal/kdc/kerberos5.c ret = hdb_enctype2key(context, &client->entry,
context 1178 source4/heimdal/kdc/kerberos5.c if(krb5_enctype_to_string(context, enc_data.etype, &estr))
context 1181 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5,
context 1185 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5,
context 1195 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, &pa_key->key, 0, &crypto);
context 1197 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 1198 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 1203 source4/heimdal/kdc/kerberos5.c ret = krb5_decrypt_EncryptedData (context,
context 1208 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
context 1211 source4/heimdal/kdc/kerberos5.c ret2 = krb5_enctype_to_string(context,
context 1215 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 5,
context 1220 source4/heimdal/kdc/kerberos5.c krb5_get_err_text(context, ret));
context 1223 source4/heimdal/kdc/kerberos5.c if(hdb_next_enctype2key(context, &client->entry,
context 1241 source4/heimdal/kdc/kerberos5.c kdc_log(context, config,
context 1247 source4/heimdal/kdc/kerberos5.c if (abs(kdc_time - p.patimestamp) > context->max_skew) {
context 1250 source4/heimdal/kdc/kerberos5.c krb5_format_time(context, p.patimestamp,
context 1254 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1259 source4/heimdal/kdc/kerberos5.c context->max_skew,
context 1278 source4/heimdal/kdc/kerberos5.c ret = krb5_enctype_to_string(context,pa_key->key.keytype, &str);
context 1282 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 2,
context 1296 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "%s -- %s", e_text, client_name);
context 1342 source4/heimdal/kdc/kerberos5.c ret = get_pa_etype_info(context, config,
context 1346 source4/heimdal/kdc/kerberos5.c ret = get_pa_etype_info2(context, config, &method_data,
context 1359 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1372 source4/heimdal/kdc/kerberos5.c ret = _kdc_find_etype(context, client, b->etype.val, b->etype.len,
context 1375 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1380 source4/heimdal/kdc/kerberos5.c ret = _kdc_get_preferred_key(context, config,
context 1406 source4/heimdal/kdc/kerberos5.c p = krb5_kerberos_enctypes(context);
context 1411 source4/heimdal/kdc/kerberos5.c if (krb5_enctype_valid(context, p[i]) != 0)
context 1423 source4/heimdal/kdc/kerberos5.c ret = hdb_enctype2key(context, &server->entry, p[i], &dummy);
context 1433 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1441 source4/heimdal/kdc/kerberos5.c log_as_req(context, config, cetype, setype, b);
context 1446 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "Bad KDC options -- %s", client_name);
context 1474 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1482 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1490 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1496 source4/heimdal/kdc/kerberos5.c if(!_kdc_check_addresses(context, config, b->addresses, from_addr)) {
context 1498 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0,
context 1503 source4/heimdal/kdc/kerberos5.c ret = krb5_generate_random_keyblock(context, sessionetype, &et.key);
context 1643 source4/heimdal/kdc/kerberos5.c ret = _kdc_pk_mk_pa_reply(context, config, pkp, client,
context 1648 source4/heimdal/kdc/kerberos5.c ret = _kdc_add_inital_verified_cas(context,
context 1677 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal asn.1 error");
context 1680 source4/heimdal/kdc/kerberos5.c ret = krb5_crypto_init(context, &et.key, 0, &crypto);
context 1686 source4/heimdal/kdc/kerberos5.c ret = krb5_create_checksum(context, crypto,
context 1691 source4/heimdal/kdc/kerberos5.c krb5_crypto_destroy(context, crypto);
context 1701 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal asn.1 error");
context 1717 source4/heimdal/kdc/kerberos5.c if (send_pac_p(context, req)) {
context 1721 source4/heimdal/kdc/kerberos5.c ret = _kdc_pac_generate(context, client, &p);
context 1723 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "PAC generation failed for -- %s",
context 1728 source4/heimdal/kdc/kerberos5.c ret = _krb5_pac_sign(context, p, et.authtime,
context 1733 source4/heimdal/kdc/kerberos5.c krb5_pac_free(context, p);
context 1735 source4/heimdal/kdc/kerberos5.c kdc_log(context, config, 0, "PAC signing failed for -- %s",
context 1740 source4/heimdal/kdc/kerberos5.c ret = _kdc_tkt_add_if_relevant_ad(context, &et,
context 1749 source4/heimdal/kdc/kerberos5.c _kdc_log_timestamp(context, config, "AS-REQ", et.authtime, et.starttime,
context 1753 source4/heimdal/kdc/kerberos5.c ret = _kdc_add_KRB5SignedPath(context,
context 1763 source4/heimdal/kdc/kerberos5.c ret = _kdc_encode_reply(context, config,
context 1782 source4/heimdal/kdc/kerberos5.c krb5_mk_error(context,
context 1795 source4/heimdal/kdc/kerberos5.c _kdc_pk_free_client_param(context, pkp);
context 1800 source4/heimdal/kdc/kerberos5.c krb5_free_principal(context, client_princ);
context 1803 source4/heimdal/kdc/kerberos5.c krb5_free_principal(context, server_princ);
context 1806 source4/heimdal/kdc/kerberos5.c _kdc_free_ent(context, client);
context 1808 source4/heimdal/kdc/kerberos5.c _kdc_free_ent(context, server);
context 1818 source4/heimdal/kdc/kerberos5.c _kdc_tkt_add_if_relevant_ad(krb5_context context,
context 1829 source4/heimdal/kdc/kerberos5.c krb5_set_error_message(context, ENOMEM, "out of memory");
context 1844 source4/heimdal/kdc/kerberos5.c krb5_set_error_message(context, ret, "add AuthorizationData failed");
context 1855 source4/heimdal/kdc/kerberos5.c krb5_set_error_message(context, ret, "ASN.1 encode of "
context 1860 source4/heimdal/kdc/kerberos5.c krb5_abortx(context, "internal asn.1 encoder error");
context 1865 source4/heimdal/kdc/kerberos5.c krb5_set_error_message(context, ret, "add AuthorizationData failed");
context 62 source4/heimdal/kdc/krb5tgs.c find_KRB5SignedPath(krb5_context context,
context 83 source4/heimdal/kdc/krb5tgs.c krb5_set_error_message(context, ret, "Failed to decode "
context 105 source4/heimdal/kdc/krb5tgs.c _kdc_add_KRB5SignedPath(krb5_context context,
context 136 source4/heimdal/kdc/krb5tgs.c krb5_abortx(context, "internal asn.1 encoder error");
context 141 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &krbtgt->entry, enctype, &key);
context 143 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &key->key, 0, &crypto);
context 157 source4/heimdal/kdc/krb5tgs.c ret = krb5_create_checksum(context, crypto, KRB5_KU_KRB5SIGNEDPATH, 0,
context 159 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
context 169 source4/heimdal/kdc/krb5tgs.c krb5_abortx(context, "internal asn.1 encoder error");
context 177 source4/heimdal/kdc/krb5tgs.c ret = _kdc_tkt_add_if_relevant_ad(context, tkt,
context 185 source4/heimdal/kdc/krb5tgs.c check_KRB5SignedPath(krb5_context context,
context 199 source4/heimdal/kdc/krb5tgs.c ret = find_KRB5SignedPath(context, tkt->authorization_data, &data);
context 227 source4/heimdal/kdc/krb5tgs.c krb5_abortx(context, "internal asn.1 encoder error");
context 231 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &krbtgt->entry, sp.etype, &key);
context 233 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &key->key, 0, &crypto);
context 240 source4/heimdal/kdc/krb5tgs.c ret = krb5_verify_checksum(context, crypto, KRB5_KU_KRB5SIGNEDPATH,
context 243 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
context 279 source4/heimdal/kdc/krb5tgs.c check_PAC(krb5_context context,
context 308 source4/heimdal/kdc/krb5tgs.c krb5_set_error_message(context, ret, "Failed to decode "
context 318 source4/heimdal/kdc/krb5tgs.c ret = krb5_pac_parse(context,
context 326 source4/heimdal/kdc/krb5tgs.c ret = krb5_pac_verify(context, pac, tkt->authtime,
context 330 source4/heimdal/kdc/krb5tgs.c krb5_pac_free(context, pac);
context 334 source4/heimdal/kdc/krb5tgs.c ret = _kdc_pac_verify(context, client_principal,
context 337 source4/heimdal/kdc/krb5tgs.c krb5_pac_free(context, pac);
context 342 source4/heimdal/kdc/krb5tgs.c ret = _krb5_pac_sign(context, pac, tkt->authtime,
context 346 source4/heimdal/kdc/krb5tgs.c krb5_pac_free(context, pac);
context 361 source4/heimdal/kdc/krb5tgs.c check_tgs_flags(krb5_context context,
context 369 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 374 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 381 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 388 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 396 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 408 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 416 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 428 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 436 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 444 source4/heimdal/kdc/krb5tgs.c }else if(b->from && *b->from > kdc_time + context->max_skew){
context 445 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Ticket cannot be postdated");
context 451 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 463 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 480 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 493 source4/heimdal/kdc/krb5tgs.c check_constrained_delegation(krb5_context context,
context 504 source4/heimdal/kdc/krb5tgs.c krb5_clear_error_message(context);
context 510 source4/heimdal/kdc/krb5tgs.c if (krb5_principal_compare(context, server, &acl->val[i]) == TRUE)
context 514 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 524 source4/heimdal/kdc/krb5tgs.c verify_flags (krb5_context context,
context 530 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Ticket expired (%s)", pstr);
context 534 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Ticket not valid (%s)", pstr);
context 545 source4/heimdal/kdc/krb5tgs.c fix_transited_encoding(krb5_context context,
context 569 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 573 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 578 source4/heimdal/kdc/krb5tgs.c ret = krb5_domain_x500_decode(context,
context 585 source4/heimdal/kdc/krb5tgs.c krb5_warn(context, ret,
context 610 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 625 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 632 source4/heimdal/kdc/krb5tgs.c ret = krb5_check_transited(context, client_realm,
context 636 source4/heimdal/kdc/krb5tgs.c krb5_warn(context, ret, "cross-realm %s -> %s",
context 645 source4/heimdal/kdc/krb5tgs.c krb5_warn(context, ret, "Encoding transited encoding");
context 655 source4/heimdal/kdc/krb5tgs.c tgs_make_reply(krb5_context context,
context 697 source4/heimdal/kdc/krb5tgs.c ret = check_tgs_flags(context, config, b, tgt, &et);
context 720 source4/heimdal/kdc/krb5tgs.c ret = fix_transited_encoding(context, config,
context 728 source4/heimdal/kdc/krb5tgs.c *krb5_princ_realm(context, client_principal),
context 729 source4/heimdal/kdc/krb5tgs.c *krb5_princ_realm(context, server->entry.principal),
context 730 source4/heimdal/kdc/krb5tgs.c *krb5_princ_realm(context, krbtgt->entry.principal));
context 734 source4/heimdal/kdc/krb5tgs.c copy_Realm(krb5_princ_realm(context, server_principal),
context 810 source4/heimdal/kdc/krb5tgs.c ret = find_KRB5SignedPath(context, et.authorization_data, NULL);
context 829 source4/heimdal/kdc/krb5tgs.c ret = _kdc_tkt_add_if_relevant_ad(context, &et,
context 836 source4/heimdal/kdc/krb5tgs.c ret = krb5_copy_keyblock_contents(context, sessionkey, &et.key);
context 859 source4/heimdal/kdc/krb5tgs.c _kdc_log_timestamp(context, config, "TGS-REQ", et.authtime, et.starttime,
context 867 source4/heimdal/kdc/krb5tgs.c ret = _kdc_add_KRB5SignedPath(context,
context 890 source4/heimdal/kdc/krb5tgs.c if (krb5_enctype_valid(context, et.key.keytype) != 0
context 893 source4/heimdal/kdc/krb5tgs.c krb5_enctype_enable(context, et.key.keytype);
context 908 source4/heimdal/kdc/krb5tgs.c ret = _kdc_encode_reply(context, config,
context 913 source4/heimdal/kdc/krb5tgs.c krb5_enctype_disable(context, et.key.keytype);
context 933 source4/heimdal/kdc/krb5tgs.c tgs_check_authenticator(krb5_context context,
context 947 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_getauthenticator(context, ac, &auth);
context 949 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "No authenticator in request");
context 959 source4/heimdal/kdc/krb5tgs.c !krb5_checksum_is_keyed(context, auth->cksum->cksumtype)
context 962 source4/heimdal/kdc/krb5tgs.c !krb5_checksum_is_collision_proof(context, auth->cksum->cksumtype)) {
context 963 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Bad checksum type in authenticator: %d",
context 972 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to encode KDC-REQ-BODY: %s",
context 973 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 978 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Internal error in ASN.1 encoder");
context 983 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 986 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 987 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 990 source4/heimdal/kdc/krb5tgs.c ret = krb5_verify_checksum(context,
context 997 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
context 999 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1001 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1014 source4/heimdal/kdc/krb5tgs.c find_rpath(krb5_context context, Realm crealm, Realm srealm)
context 1016 source4/heimdal/kdc/krb5tgs.c const char *new_realm = krb5_config_get_string(context,
context 1027 source4/heimdal/kdc/krb5tgs.c need_referral(krb5_context context, krb5_kdc_configuration *config,
context 1043 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Searching referral for %s", name);
context 1045 source4/heimdal/kdc/krb5tgs.c return _krb5_get_host_realm_int(context, name, FALSE, realms) == 0;
context 1049 source4/heimdal/kdc/krb5tgs.c tgs_parse_request(krb5_context context,
context 1077 source4/heimdal/kdc/krb5tgs.c ret = krb5_decode_ap_req(context, &tgs_req->padata_value, &ap_req);
context 1079 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to decode AP-REQ: %s",
context 1080 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1086 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "PA-DATA is not a ticket-granting ticket");
context 1091 source4/heimdal/kdc/krb5tgs.c _krb5_principalname2krb5_principal(context,
context 1096 source4/heimdal/kdc/krb5tgs.c ret = _kdc_db_fetch(context, config, princ, HDB_F_GET_KRBTGT, NULL, krbtgt);
context 1100 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, princ, &p);
context 1103 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, princ);
context 1104 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1106 source4/heimdal/kdc/krb5tgs.c p, krb5_get_err_text(context, ret));
context 1117 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name (context, princ, &p);
context 1118 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, princ);
context 1121 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1134 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &(*krbtgt)->entry,
context 1139 source4/heimdal/kdc/krb5tgs.c krb5_enctype_to_string(context, ap_req.ticket.enc_part.etype, &str);
context 1140 source4/heimdal/kdc/krb5tgs.c krb5_unparse_name(context, princ, &p);
context 1141 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1156 source4/heimdal/kdc/krb5tgs.c ret = krb5_verify_ap_req2(context,
context 1166 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, princ);
context 1168 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to verify AP-REQ: %s",
context 1169 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1176 source4/heimdal/kdc/krb5tgs.c ret = krb5_auth_con_getauthenticator(context, ac, &auth);
context 1180 source4/heimdal/kdc/krb5tgs.c krb5_free_authenticator(context, &auth);
context 1181 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "malloc failed");
context 1187 source4/heimdal/kdc/krb5tgs.c krb5_free_authenticator(context, &auth);
context 1188 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "malloc failed");
context 1192 source4/heimdal/kdc/krb5tgs.c krb5_free_authenticator(context, &auth);
context 1196 source4/heimdal/kdc/krb5tgs.c ret = tgs_check_authenticator(context, config,
context 1199 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1208 source4/heimdal/kdc/krb5tgs.c ret = krb5_auth_con_getremotesubkey(context,
context 1212 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1213 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to get remote subkey: %s",
context 1214 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1219 source4/heimdal/kdc/krb5tgs.c ret = krb5_auth_con_getkey(context, ac, &subkey);
context 1221 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1222 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to get session key: %s",
context 1223 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1228 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1229 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1234 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, subkey, 0, &crypto);
context 1236 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1237 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 1238 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1241 source4/heimdal/kdc/krb5tgs.c ret = krb5_decrypt_EncryptedData (context,
context 1246 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
context 1248 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1249 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1254 source4/heimdal/kdc/krb5tgs.c krb5_free_keyblock(context, subkey);
context 1257 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1263 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1266 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to decode authorization data");
context 1272 source4/heimdal/kdc/krb5tgs.c krb5_auth_con_free(context, ac);
context 1281 source4/heimdal/kdc/krb5tgs.c build_server_referral(krb5_context context,
context 1330 source4/heimdal/kdc/krb5tgs.c krb5_abortx(context, "internal asn.1 encoder error");
context 1332 source4/heimdal/kdc/krb5tgs.c ret = krb5_encrypt_EncryptedData(context, session,
context 1347 source4/heimdal/kdc/krb5tgs.c krb5_abortx(context, "internal asn.1 encoder error");
context 1352 source4/heimdal/kdc/krb5tgs.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 1357 source4/heimdal/kdc/krb5tgs.c tgs_build_reply(krb5_context context,
context 1412 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1418 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1423 source4/heimdal/kdc/krb5tgs.c _krb5_principalname2krb5_principal(context, &p, t->sname, t->realm);
context 1424 source4/heimdal/kdc/krb5tgs.c ret = _kdc_db_fetch(context, config, p,
context 1427 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, p);
context 1433 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &uu->entry,
context 1436 source4/heimdal/kdc/krb5tgs.c _kdc_free_ent(context, uu);
context 1440 source4/heimdal/kdc/krb5tgs.c ret = krb5_decrypt_ticket(context, t, &uukey->key, &adtkt, 0);
context 1441 source4/heimdal/kdc/krb5tgs.c _kdc_free_ent(context, uu);
context 1445 source4/heimdal/kdc/krb5tgs.c ret = verify_flags(context, config, &adtkt, spn);
context 1453 source4/heimdal/kdc/krb5tgs.c _krb5_principalname2krb5_principal(context, &sp, *s, r);
context 1454 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, sp, &spn);
context 1457 source4/heimdal/kdc/krb5tgs.c _krb5_principalname2krb5_principal(context, &cp, tgt->cname, tgt->crealm);
context 1458 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, cp, &cpn);
context 1465 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1469 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1477 source4/heimdal/kdc/krb5tgs.c ret = _kdc_db_fetch(context, config, sp, HDB_F_GET_SERVER | HDB_F_CANON,
context 1487 source4/heimdal/kdc/krb5tgs.c new_rlm = find_rpath(context, tgt->crealm, req_rlm);
context 1489 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 5, "krbtgt for realm %s "
context 1492 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, sp);
context 1494 source4/heimdal/kdc/krb5tgs.c krb5_make_principal(context, &sp, r,
context 1496 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, sp, &spn);
context 1506 source4/heimdal/kdc/krb5tgs.c } else if(need_referral(context, config, &b->kdc_options, sp, &realms)) {
context 1508 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 5,
context 1512 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, sp);
context 1514 source4/heimdal/kdc/krb5tgs.c krb5_make_principal(context, &sp, r, KRB5_TGS_NAME,
context 1516 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, sp, &spn);
context 1524 source4/heimdal/kdc/krb5tgs.c krb5_free_host_realm(context, realms);
context 1527 source4/heimdal/kdc/krb5tgs.c krb5_free_host_realm(context, realms);
context 1529 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1531 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1537 source4/heimdal/kdc/krb5tgs.c ret = _kdc_db_fetch(context, config, cp, HDB_F_GET_CLIENT | HDB_F_CANON,
context 1549 source4/heimdal/kdc/krb5tgs.c krb5_principal_get_comp_string(context,
context 1552 source4/heimdal/kdc/krb5tgs.c if(strcmp(krb5_principal_get_realm(context, cp), krbtgt_realm) == 0) {
context 1555 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 1, "Client no longer in database: %s",
context 1560 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 1, "Client not found in database: %s: %s",
context 1561 source4/heimdal/kdc/krb5tgs.c cpn, krb5_get_err_text(context, ret));
context 1580 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1582 source4/heimdal/kdc/krb5tgs.c krb5_clear_error_message(context);
context 1590 source4/heimdal/kdc/krb5tgs.c ret = _kdc_find_etype(context, server, b->etype.val, b->etype.len,
context 1593 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1601 source4/heimdal/kdc/krb5tgs.c ret = krb5_generate_random_keyblock(context, etype, &sessionkey);
context 1616 source4/heimdal/kdc/krb5tgs.c if (strcmp(krb5_principal_get_realm(context, sp),
context 1617 source4/heimdal/kdc/krb5tgs.c krb5_principal_get_comp_string(context,
context 1621 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, krbtgt->entry.principal, &tpn);
context 1622 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1633 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &krbtgt->entry,
context 1636 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1641 source4/heimdal/kdc/krb5tgs.c ret = check_PAC(context, config, cp,
context 1645 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1647 source4/heimdal/kdc/krb5tgs.c spn, cpn, from, krb5_get_err_text(context, ret));
context 1652 source4/heimdal/kdc/krb5tgs.c ret = check_KRB5SignedPath(context,
context 1659 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1661 source4/heimdal/kdc/krb5tgs.c spn, cpn, from, krb5_get_err_text(context, ret));
context 1687 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Failed to decode PA-S4U2Self");
context 1691 source4/heimdal/kdc/krb5tgs.c ret = _krb5_s4u2self_to_checksumdata(context, &self, &datack);
context 1695 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &tgt->key, 0, &crypto);
context 1699 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "krb5_crypto_init failed: %s",
context 1700 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1704 source4/heimdal/kdc/krb5tgs.c ret = krb5_verify_checksum(context,
context 1711 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
context 1714 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1716 source4/heimdal/kdc/krb5tgs.c krb5_get_err_text(context, ret));
context 1720 source4/heimdal/kdc/krb5tgs.c ret = _krb5_principalname2krb5_principal(context,
context 1728 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, client_principal, &selfcpn);
context 1736 source4/heimdal/kdc/krb5tgs.c if (krb5_principal_compare(context, cp, sp) != TRUE) {
context 1737 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "S4U2Self: %s is not allowed "
context 1757 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "s4u2self %s impersonating %s to "
context 1783 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1791 source4/heimdal/kdc/krb5tgs.c ret = hdb_enctype2key(context, &client->entry,
context 1798 source4/heimdal/kdc/krb5tgs.c ret = krb5_decrypt_ticket(context, t, &clientkey->key, &adtkt, 0);
context 1800 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1808 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1815 source4/heimdal/kdc/krb5tgs.c ret = check_constrained_delegation(context, config, client, sp);
context 1817 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1823 source4/heimdal/kdc/krb5tgs.c ret = _krb5_principalname2krb5_principal(context,
context 1830 source4/heimdal/kdc/krb5tgs.c ret = krb5_unparse_name(context, client_principal, &str);
context 1834 source4/heimdal/kdc/krb5tgs.c ret = verify_flags(context, config, &adtkt, str);
context 1843 source4/heimdal/kdc/krb5tgs.c ret = check_KRB5SignedPath(context,
context 1852 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1856 source4/heimdal/kdc/krb5tgs.c spn, str, cpn, from, krb5_get_err_text(context, ret));
context 1861 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "constrained delegation for %s "
context 1870 source4/heimdal/kdc/krb5tgs.c ret = _kdc_check_flags(context, config,
context 1878 source4/heimdal/kdc/krb5tgs.c !krb5_principal_compare(context,
context 1881 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Inconsistent request.");
context 1887 source4/heimdal/kdc/krb5tgs.c if(!_kdc_check_addresses(context, config, tgt->caddr, from_addr)) {
context 1889 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0, "Request from wrong address");
context 1901 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1904 source4/heimdal/kdc/krb5tgs.c ret = krb5_crypto_init(context, &sessionkey, 0, &crypto);
context 1908 source4/heimdal/kdc/krb5tgs.c ret = build_server_referral(context, config, crypto, ref_realm,
context 1910 source4/heimdal/kdc/krb5tgs.c krb5_crypto_destroy(context, crypto);
context 1912 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1921 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 1931 source4/heimdal/kdc/krb5tgs.c ret = tgs_make_reply(context,
context 1958 source4/heimdal/kdc/krb5tgs.c krb5_free_keyblock_contents(context, &sessionkey);
context 1960 source4/heimdal/kdc/krb5tgs.c _kdc_free_ent(context, server);
context 1962 source4/heimdal/kdc/krb5tgs.c _kdc_free_ent(context, client);
context 1965 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, client_principal);
context 1967 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, cp);
context 1969 source4/heimdal/kdc/krb5tgs.c krb5_free_principal(context, sp);
context 1984 source4/heimdal/kdc/krb5tgs.c _kdc_tgs_rep(krb5_context context,
context 2007 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 2017 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 2021 source4/heimdal/kdc/krb5tgs.c ret = tgs_parse_request(context, config,
context 2031 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 2036 source4/heimdal/kdc/krb5tgs.c ret = tgs_build_reply(context,
context 2050 source4/heimdal/kdc/krb5tgs.c kdc_log(context, config, 0,
context 2064 source4/heimdal/kdc/krb5tgs.c krb5_mk_error(context,
context 2077 source4/heimdal/kdc/krb5tgs.c krb5_free_ticket(context, ticket);
context 2079 source4/heimdal/kdc/krb5tgs.c _kdc_free_ent(context, krbtgt);
context 62 source4/heimdal/kdc/kx509.c verify_req_hash(krb5_context context,
context 70 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, KRB5KDC_ERR_PREAUTH_FAILED,
context 81 source4/heimdal/kdc/kx509.c krb5_abortx(context, "runtime error, hmac buffer wrong size in kx509");
context 88 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, KRB5KDC_ERR_PREAUTH_FAILED,
context 96 source4/heimdal/kdc/kx509.c calculate_reply_hash(krb5_context context,
context 111 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 140 source4/heimdal/kdc/kx509.c build_certificate(krb5_context context,
context 154 source4/heimdal/kdc/kx509.c if (krb5_principal_get_comp_string(context, principal, 1) != NULL) {
context 155 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Principal is not a user");
context 164 source4/heimdal/kdc/kx509.c krb5_principal_get_comp_string(context, principal, 0));
context 175 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Failed to load CA %s",
context 192 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Failed to find a CA in %s",
context 231 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Failed to load template %s",
context 238 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Failed to find template in %s",
context 281 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, ret, "cert creation failed");
context 290 source4/heimdal/kdc/kx509.c _kdc_do_kx509(krb5_context context,
context 310 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0,
context 315 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Kx509 request from %s", from);
context 317 source4/heimdal/kdc/kx509.c ret = krb5_kt_resolve(context, "HDB:", &id);
context 319 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Can't open database for digest");
context 323 source4/heimdal/kdc/kx509.c ret = krb5_rd_req(context,
context 333 source4/heimdal/kdc/kx509.c ret = krb5_ticket_get_client(context, ticket, &cprincipal);
context 337 source4/heimdal/kdc/kx509.c ret = krb5_unparse_name(context, cprincipal, &cname);
context 343 source4/heimdal/kdc/kx509.c ret = krb5_sname_to_principal(context, NULL, "kca_service",
context 351 source4/heimdal/kdc/kx509.c ret = krb5_ticket_get_server(context, ticket, &principal);
context 355 source4/heimdal/kdc/kx509.c ret = krb5_principal_compare(context, sprincipal, principal);
context 356 source4/heimdal/kdc/kx509.c krb5_free_principal(context, principal);
context 359 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, ret,
context 366 source4/heimdal/kdc/kx509.c ret = krb5_auth_con_getkey(context, ac, &key);
context 370 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, ret, "Kx509 can't get session key");
context 374 source4/heimdal/kdc/kx509.c ret = verify_req_hash(context, req, key);
context 401 source4/heimdal/kdc/kx509.c ret = build_certificate(context, config, &req->pk_key,
context 402 source4/heimdal/kdc/kx509.c krb5_ticket_get_endtime(context, ticket),
context 407 source4/heimdal/kdc/kx509.c ret = calculate_reply_hash(context, key, &rep);
context 421 source4/heimdal/kdc/kx509.c krb5_set_error_message(context, ret, "Failed to encode kx509 reply");
context 425 source4/heimdal/kdc/kx509.c krb5_abortx(context, "ASN1 internal error");
context 438 source4/heimdal/kdc/kx509.c kdc_log(context, config, 0, "Successful Kx509 request for %s", cname);
context 442 source4/heimdal/kdc/kx509.c krb5_auth_con_free(context, ac);
context 444 source4/heimdal/kdc/kx509.c krb5_warn(context, ret, "Kx509 request from %s failed", from);
context 446 source4/heimdal/kdc/kx509.c krb5_free_ticket(context, ticket);
context 448 source4/heimdal/kdc/kx509.c krb5_kt_close(context, id);
context 450 source4/heimdal/kdc/kx509.c krb5_free_principal(context, sprincipal);
context 452 source4/heimdal/kdc/kx509.c krb5_free_principal(context, cprincipal);
context 454 source4/heimdal/kdc/kx509.c krb5_free_keyblock (context, key);
context 38 source4/heimdal/kdc/log.c kdc_openlog(krb5_context context,
context 42 source4/heimdal/kdc/log.c krb5_initlog(context, "kdc", &config->logf);
context 43 source4/heimdal/kdc/log.c s = krb5_config_get_strings(context, NULL, "kdc", "logging", NULL);
context 45 source4/heimdal/kdc/log.c s = krb5_config_get_strings(context, NULL, "logging", "kdc", NULL);
context 48 source4/heimdal/kdc/log.c krb5_addlog_dest(context, config->logf, *p);
context 52 source4/heimdal/kdc/log.c asprintf(&s, "0-1/FILE:%s/%s", hdb_db_dir(context), KDC_LOG_FILE);
context 53 source4/heimdal/kdc/log.c krb5_addlog_dest(context, config->logf, s);
context 56 source4/heimdal/kdc/log.c krb5_set_warn_dest(context, config->logf);
context 60 source4/heimdal/kdc/log.c kdc_log_msg_va(krb5_context context,
context 65 source4/heimdal/kdc/log.c krb5_vlog_msg(context, config->logf, &msg, level, fmt, ap);
context 70 source4/heimdal/kdc/log.c kdc_log_msg(krb5_context context,
context 77 source4/heimdal/kdc/log.c s = kdc_log_msg_va(context, config, level, fmt, ap);
context 83 source4/heimdal/kdc/log.c kdc_log(krb5_context context,
context 90 source4/heimdal/kdc/log.c s = kdc_log_msg_va(context, config, level, fmt, ap);
context 41 source4/heimdal/kdc/misc.c _kdc_db_fetch(krb5_context context,
context 54 source4/heimdal/kdc/misc.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 59 source4/heimdal/kdc/misc.c ret = config->db[i]->hdb_open(context, config->db[i], O_RDONLY, 0);
context 61 source4/heimdal/kdc/misc.c kdc_log(context, config, 0, "Failed to open database: %s",
context 62 source4/heimdal/kdc/misc.c krb5_get_err_text(context, ret));
context 65 source4/heimdal/kdc/misc.c ret = config->db[i]->hdb_fetch(context,
context 70 source4/heimdal/kdc/misc.c config->db[i]->hdb_close(context, config->db[i]);
context 79 source4/heimdal/kdc/misc.c krb5_set_error_message(context, HDB_ERR_NOENTRY, "no such entry found in hdb");
context 84 source4/heimdal/kdc/misc.c _kdc_free_ent(krb5_context context, hdb_entry_ex *ent)
context 86 source4/heimdal/kdc/misc.c hdb_free_entry (context, ent);
context 96 source4/heimdal/kdc/misc.c _kdc_get_preferred_key(krb5_context context,
context 107 source4/heimdal/kdc/misc.c p = krb5_kerberos_enctypes(context);
context 110 source4/heimdal/kdc/misc.c if (krb5_enctype_valid(context, p[i]) != 0)
context 112 source4/heimdal/kdc/misc.c ret = hdb_enctype2key(context, &h->entry, p[i], key);
context 119 source4/heimdal/kdc/misc.c krb5_set_error_message(context, EINVAL,
context 83 source4/heimdal/kdc/pkinit.c pk_check_pkauthenticator_win2k(krb5_context context,
context 89 source4/heimdal/kdc/pkinit.c krb5_timeofday (context, &now);
context 92 source4/heimdal/kdc/pkinit.c if (a->ctime == 0 || abs(a->ctime - now) > context->max_skew) {
context 93 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 100 source4/heimdal/kdc/pkinit.c pk_check_pkauthenticator(krb5_context context,
context 111 source4/heimdal/kdc/pkinit.c krb5_timeofday (context, &now);
context 114 source4/heimdal/kdc/pkinit.c if (a->ctime == 0 || abs(a->ctime - now) > context->max_skew) {
context 115 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 121 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 125 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal error in ASN.1 encoder");
context 127 source4/heimdal/kdc/pkinit.c ret = krb5_create_checksum(context,
context 136 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 141 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 147 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 158 source4/heimdal/kdc/pkinit.c _kdc_pk_free_client_param(krb5_context context,
context 167 source4/heimdal/kdc/pkinit.c krb5_free_keyblock_contents(context, &client_params->reply_key);
context 179 source4/heimdal/kdc/pkinit.c generate_dh_keyblock(krb5_context context, pk_client_params *client_params,
context 191 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Can't generate Diffie-Hellman keys");
context 196 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "dh_public_key");
context 208 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 218 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Can't compute Diffie-Hellman key");
context 222 source4/heimdal/kdc/pkinit.c ret = _krb5_pk_octetstring2key(context,
context 232 source4/heimdal/kdc/pkinit.c krb5_free_keyblock_contents(context, &key);
context 238 source4/heimdal/kdc/pkinit.c integer_to_BN(krb5_context context, const char *field, heim_integer *f)
context 244 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, KRB5_BADMSGTYPE,
context 253 source4/heimdal/kdc/pkinit.c get_dh_param(krb5_context context,
context 265 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, KRB5_BADMSGTYPE,
context 271 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, KRB5_BADMSGTYPE,
context 282 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Can't decode algorithm "
context 289 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 296 source4/heimdal/kdc/pkinit.c ret = _krb5_dh_group_ok(context, config->pkinit_dh_min_bits,
context 307 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Cannot create DH structure");
context 311 source4/heimdal/kdc/pkinit.c dh->p = integer_to_BN(context, "DH prime", &dhparam.p);
context 314 source4/heimdal/kdc/pkinit.c dh->g = integer_to_BN(context, "DH base", &dhparam.g);
context 317 source4/heimdal/kdc/pkinit.c dh->q = integer_to_BN(context, "DH p-1 factor", &dhparam.q);
context 330 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 334 source4/heimdal/kdc/pkinit.c client_params->dh_public_key = integer_to_BN(context,
context 356 source4/heimdal/kdc/pkinit.c _kdc_pk_rd_padata(krb5_context context,
context 373 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0, "PK-INIT request but PK-INIT not enabled");
context 374 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 382 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 397 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Can't decode "
context 408 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 423 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Can't decode PK-AS-REQ: %d", ret);
context 437 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Can't allocate client anchors: %d", ret);
context 452 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 489 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 495 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 503 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 510 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 529 source4/heimdal/kdc/pkinit.c krb5_warnx(context, "PKINIT: failed to verify signature: %s: %d",
context 547 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "got wrong oid for pkauthdata");
context 559 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "can't decode AuthPack: %d", ret);
context 563 source4/heimdal/kdc/pkinit.c ret = pk_check_pkauthenticator_win2k(context,
context 576 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "DH not supported for windows");
context 589 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "can't decode AuthPack: %d", ret);
context 594 source4/heimdal/kdc/pkinit.c ret = pk_check_pkauthenticator(context,
context 606 source4/heimdal/kdc/pkinit.c ret = get_dh_param(context, config,
context 632 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "internal pkinit error");
context 634 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0, "PK-INIT request of type %s", type);
context 638 source4/heimdal/kdc/pkinit.c krb5_warn(context, ret, "PKINIT");
context 646 source4/heimdal/kdc/pkinit.c _kdc_pk_free_client_param(context, client_params);
context 657 source4/heimdal/kdc/pkinit.c BN_to_integer(krb5_context context, BIGNUM *bn, heim_integer *integer)
context 662 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 671 source4/heimdal/kdc/pkinit.c pk_mk_pa_reply_enckey(krb5_context context,
context 712 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "internal pkinit error");
context 721 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 737 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 741 source4/heimdal/kdc/pkinit.c ret = krb5_crypto_init(context, reply_key, 0, &ascrypto);
context 743 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 747 source4/heimdal/kdc/pkinit.c ret = krb5_create_checksum(context, ascrypto, 6, 0,
context 751 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 755 source4/heimdal/kdc/pkinit.c ret = krb5_crypto_destroy(context, ascrypto);
context 757 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 764 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "ASN.1 encoding of ReplyKeyPack "
context 769 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 827 source4/heimdal/kdc/pkinit.c ret = _krb5_pk_mk_ContentInfo(context,
context 842 source4/heimdal/kdc/pkinit.c pk_mk_pa_reply_dh(krb5_context context,
context 863 source4/heimdal/kdc/pkinit.c ret = BN_to_integer(context, kdc_dh->pub_key, &i);
context 869 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "ASN.1 encoding of "
context 874 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 884 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "ASN.1 encoding of "
context 889 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 931 source4/heimdal/kdc/pkinit.c ret = _krb5_pk_mk_ContentInfo(context,
context 956 source4/heimdal/kdc/pkinit.c _kdc_pk_mk_pa_reply(krb5_context context,
context 974 source4/heimdal/kdc/pkinit.c krb5_clear_error_message(context);
context 980 source4/heimdal/kdc/pkinit.c if (krb5_enctype_valid(context, req->req_body.etype.val[i]) == 0)
context 984 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 1007 source4/heimdal/kdc/pkinit.c ret = krb5_generate_random_keyblock(context, enctype,
context 1013 source4/heimdal/kdc/pkinit.c ret = pk_mk_pa_reply_enckey(context,
context 1029 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "encoding of Key ContentInfo "
context 1035 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 1046 source4/heimdal/kdc/pkinit.c ret = generate_dh_keyblock(context, client_params, enctype,
context 1051 source4/heimdal/kdc/pkinit.c ret = pk_mk_pa_reply_dh(context, client_params->dh,
context 1062 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "encoding of Key ContentInfo "
context 1068 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 1079 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "encode PA-PK-AS-REP failed %d",
context 1084 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 1086 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0, "PK-INIT using %s %s", type, other);
context 1094 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "Windows PK-INIT doesn't support DH");
context 1103 source4/heimdal/kdc/pkinit.c ret = krb5_generate_random_keyblock(context, enctype,
context 1109 source4/heimdal/kdc/pkinit.c ret = pk_mk_pa_reply_enckey(context,
context 1125 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "encoding of Key ContentInfo "
context 1131 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 1136 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 1141 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "Internal ASN.1 encoder error");
context 1144 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "PK-INIT internal error");
context 1147 source4/heimdal/kdc/pkinit.c ret = krb5_padata_add(context, md, pa_type, buf, len);
context 1149 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret, "failed adding PA-PK-AS-REP %d", ret);
context 1167 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1175 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1183 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1191 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1203 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1219 source4/heimdal/kdc/pkinit.c ret = krb5_padata_add(context, md,
context 1223 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 1240 source4/heimdal/kdc/pkinit.c match_rfc_san(krb5_context context,
context 1267 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1269 source4/heimdal/kdc/pkinit.c krb5_get_err_text(context, ret));
context 1273 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1281 source4/heimdal/kdc/pkinit.c if (krb5_principal_compare(context, &principal, match) == TRUE)
context 1298 source4/heimdal/kdc/pkinit.c match_ms_upn_san(krb5_context context,
context 1320 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1327 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0, "Decode of MS-UPN-SAN failed");
context 1331 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0, "found MS UPN SAN: %s", upn);
context 1333 source4/heimdal/kdc/pkinit.c ret = krb5_parse_name(context, upn, &principal);
context 1336 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0, "Failed to parse principal in MS UPN SAN");
context 1346 source4/heimdal/kdc/pkinit.c if (krb5_principal_compare(context, principal, match) == TRUE)
context 1351 source4/heimdal/kdc/pkinit.c krb5_free_principal(context, principal);
context 1363 source4/heimdal/kdc/pkinit.c _kdc_pk_check_client(krb5_context context,
context 1385 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 0,
context 1390 source4/heimdal/kdc/pkinit.c ret = match_rfc_san(context, config,
context 1395 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 5,
context 1399 source4/heimdal/kdc/pkinit.c ret = match_ms_upn_san(context, config,
context 1404 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 5,
context 1426 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 5,
context 1435 source4/heimdal/kdc/pkinit.c b = krb5_principal_compare(context,
context 1442 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 5,
context 1448 source4/heimdal/kdc/pkinit.c krb5_set_error_message(context, ret,
context 1452 source4/heimdal/kdc/pkinit.c kdc_log(context, config, 5,
context 1463 source4/heimdal/kdc/pkinit.c add_principal_mapping(krb5_context context,
context 1477 source4/heimdal/kdc/pkinit.c ret = krb5_parse_name(context, principal_name, &principal);
context 1485 source4/heimdal/kdc/pkinit.c krb5_free_principal(context, principal);
context 1494 source4/heimdal/kdc/pkinit.c _kdc_add_inital_verified_cas(krb5_context context,
context 1513 source4/heimdal/kdc/pkinit.c krb5_abortx(context, "internal asn.1 encoder error");
context 1515 source4/heimdal/kdc/pkinit.c ret = _kdc_tkt_add_if_relevant_ad(context, tkt,
context 1527 source4/heimdal/kdc/pkinit.c load_mappings(krb5_context context, const char *fn)
context 1551 source4/heimdal/kdc/pkinit.c krb5_warnx(context, "pkinit mapping file line %lu "
context 1558 source4/heimdal/kdc/pkinit.c ret = add_principal_mapping(context, p, subject_name);
context 1560 source4/heimdal/kdc/pkinit.c krb5_warn(context, ret, "failed to add line %lu \":\" :%s\n",
context 1574 source4/heimdal/kdc/pkinit.c _kdc_pk_initialize(krb5_context context,
context 1585 source4/heimdal/kdc/pkinit.c file = krb5_config_get_string(context, NULL,
context 1588 source4/heimdal/kdc/pkinit.c ret = _krb5_parse_moduli(context, file, &moduli);
context 1590 source4/heimdal/kdc/pkinit.c krb5_err(context, 1, ret, "PKINIT: failed to load modidi file");
context 1595 source4/heimdal/kdc/pkinit.c ret = _krb5_pk_load_id(context,
context 1605 source4/heimdal/kdc/pkinit.c krb5_warn(context, ret, "PKINIT: ");
context 1616 source4/heimdal/kdc/pkinit.c krb5_warnx(context, "PKINIT: out of memory");
context 1631 source4/heimdal/kdc/pkinit.c krb5_warnx(context, "WARNING Found KDC certificate "
context 1636 source4/heimdal/kdc/pkinit.c krb5_warnx(context, "PKINIT: failed to find a signing "
context 1640 source4/heimdal/kdc/pkinit.c ret = krb5_config_get_bool_default(context,
context 1648 source4/heimdal/kdc/pkinit.c file = krb5_config_get_string(context,
context 1654 source4/heimdal/kdc/pkinit.c asprintf(&fn, "%s/pki-mapping", hdb_db_dir(context));
context 1658 source4/heimdal/kdc/pkinit.c load_mappings(context, file);
context 58 source4/heimdal/kdc/process.c krb5_kdc_process_request(krb5_context context,
context 81 source4/heimdal/kdc/process.c ret = _kdc_as_rep(context, config, &req, &req_buffer,
context 86 source4/heimdal/kdc/process.c ret = _kdc_tgs_rep(context, config, &req, reply, from, addr, datagram_reply);
context 90 source4/heimdal/kdc/process.c ret = _kdc_do_524(context, config, &ticket, reply, from, addr);
context 94 source4/heimdal/kdc/process.c ret = _kdc_do_digest(context, config, &digestreq, reply, from, addr);
context 98 source4/heimdal/kdc/process.c ret = _kdc_do_kx509(context, config, &kx509req, reply, from, addr);
context 103 source4/heimdal/kdc/process.c ret = _kdc_do_version4(context, config, buf, len, reply, from,
context 107 source4/heimdal/kdc/process.c ret = _kdc_do_kaserver(context, config, buf, len, reply, from,
context 123 source4/heimdal/kdc/process.c krb5_kdc_process_krb5_request(krb5_context context,
context 142 source4/heimdal/kdc/process.c ret = _kdc_as_rep(context, config, &req, &req_buffer,
context 147 source4/heimdal/kdc/process.c ret = _kdc_tgs_rep(context, config, &req, reply, from, addr, datagram_reply);
context 159 source4/heimdal/kdc/process.c krb5_kdc_save_request(krb5_context context,
context 181 source4/heimdal/kdc/process.c krb5_set_error_message(context, saved_errno, "Failed to open: %s", fn);
context 188 source4/heimdal/kdc/process.c krb5_set_error_message(context, ENOMEM, "Storage failed to open fd");
context 192 source4/heimdal/kdc/process.c ret = krb5_sockaddr2address(context, sa, &a);
context 215 source4/heimdal/kdc/process.c krb5_free_address(context, &a);
context 46 source4/heimdal/kdc/windc.c krb5_kdc_windc_init(krb5_context context)
context 51 source4/heimdal/kdc/windc.c ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA, "windc", &list);
context 61 source4/heimdal/kdc/windc.c (*windcft->init)(context, &windcctx);
context 66 source4/heimdal/kdc/windc.c krb5_set_error_message(context, ENOENT, "Did not find any WINDC plugin");
context 76 source4/heimdal/kdc/windc.c _kdc_pac_generate(krb5_context context,
context 83 source4/heimdal/kdc/windc.c return (windcft->pac_generate)(windcctx, context, client, pac);
context 87 source4/heimdal/kdc/windc.c _kdc_pac_verify(krb5_context context,
context 94 source4/heimdal/kdc/windc.c krb5_set_error_message(context, EINVAL, "Can't verify PAC, no function");
context 97 source4/heimdal/kdc/windc.c return (windcft->pac_verify)(windcctx, context,
context 102 source4/heimdal/kdc/windc.c _kdc_windc_client_access(krb5_context context,
context 109 source4/heimdal/kdc/windc.c return (windcft->client_access)(windcctx, context, client, req, e_data);
context 57 source4/heimdal/kpasswd/kpasswd.c change_password(krb5_context context,
context 74 source4/heimdal/kpasswd/kpasswd.c ret = krb5_unparse_name(context, principal, &name);
context 76 source4/heimdal/kpasswd/kpasswd.c krb5_err(context, 1, ret, "krb5_unparse_name");
context 82 source4/heimdal/kpasswd/kpasswd.c krb5_errx (context, 1, "out of memory");
context 92 source4/heimdal/kpasswd/kpasswd.c ret = krb5_set_password_using_ccache (context, id, pwbuf,
context 98 source4/heimdal/kpasswd/kpasswd.c krb5_warn (context, ret, "krb5_set_password_using_ccache");
context 102 source4/heimdal/kpasswd/kpasswd.c printf ("%s%s%.*s\n", krb5_passwd_result_to_string(context, result_code),
context 118 source4/heimdal/kpasswd/kpasswd.c krb5_context context;
context 125 source4/heimdal/kpasswd/kpasswd.c optind = krb5_program_setup(&context, argc, argv,
context 139 source4/heimdal/kpasswd/kpasswd.c ret = krb5_init_context (&context);
context 143 source4/heimdal/kpasswd/kpasswd.c ret = krb5_get_init_creds_opt_alloc (context, &opt);
context 145 source4/heimdal/kpasswd/kpasswd.c krb5_err(context, 1, ret, "krb5_get_init_creds_opt_alloc");
context 152 source4/heimdal/kpasswd/kpasswd.c ret = krb5_cc_resolve(context, cred_cache_str, &id);
context 154 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_cc_resolve");
context 156 source4/heimdal/kpasswd/kpasswd.c ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &id);
context 158 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_cc_gen_new");
context 166 source4/heimdal/kpasswd/kpasswd.c ret = krb5_parse_name (context, admin_principal_str,
context 169 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_parse_name");
context 171 source4/heimdal/kpasswd/kpasswd.c ret = krb5_parse_name (context, argv[0], &admin_principal);
context 173 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_parse_name");
context 175 source4/heimdal/kpasswd/kpasswd.c ret = krb5_get_default_principal (context, &admin_principal);
context 177 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_get_default_principal");
context 180 source4/heimdal/kpasswd/kpasswd.c ret = krb5_get_init_creds_password (context,
context 196 source4/heimdal/kpasswd/kpasswd.c krb5_errx(context, 1, "Password incorrect");
context 199 source4/heimdal/kpasswd/kpasswd.c krb5_err(context, 1, ret, "krb5_get_init_creds");
context 202 source4/heimdal/kpasswd/kpasswd.c krb5_get_init_creds_opt_free(context, opt);
context 204 source4/heimdal/kpasswd/kpasswd.c ret = krb5_cc_initialize(context, id, admin_principal);
context 205 source4/heimdal/kpasswd/kpasswd.c krb5_free_principal(context, admin_principal);
context 207 source4/heimdal/kpasswd/kpasswd.c krb5_err(context, 1, ret, "krb5_cc_initialize");
context 209 source4/heimdal/kpasswd/kpasswd.c ret = krb5_cc_store_cred(context, id, &cred);
context 211 source4/heimdal/kpasswd/kpasswd.c krb5_err(context, 1, ret, "krb5_cc_store_cred");
context 213 source4/heimdal/kpasswd/kpasswd.c krb5_free_cred_contents (context, &cred);
context 217 source4/heimdal/kpasswd/kpasswd.c exit_value = change_password(context, NULL, id);
context 223 source4/heimdal/kpasswd/kpasswd.c ret = krb5_parse_name (context, argv[0], &principal);
context 225 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_parse_name");
context 227 source4/heimdal/kpasswd/kpasswd.c ret = change_password(context, principal, id);
context 230 source4/heimdal/kpasswd/kpasswd.c krb5_free_principal(context, principal);
context 236 source4/heimdal/kpasswd/kpasswd.c ret = krb5_cc_destroy(context, id);
context 238 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_cc_destroy");
context 240 source4/heimdal/kpasswd/kpasswd.c ret = krb5_cc_close(context, id);
context 242 source4/heimdal/kpasswd/kpasswd.c krb5_err (context, 1, ret, "krb5_cc_close");
context 245 source4/heimdal/kpasswd/kpasswd.c krb5_free_context (context);
context 196 source4/heimdal/kuser/kinit.c get_server(krb5_context context,
context 203 source4/heimdal/kuser/kinit.c return krb5_parse_name(context, server, princ);
context 205 source4/heimdal/kuser/kinit.c client_realm = krb5_princ_realm (context, client);
context 206 source4/heimdal/kuser/kinit.c return krb5_make_principal(context, princ, *client_realm,
context 213 source4/heimdal/kuser/kinit.c do_524init(krb5_context context, krb5_ccache ccache,
context 225 source4/heimdal/kuser/kinit.c krb5_cc_get_principal(context, ccache, &client);
context 227 source4/heimdal/kuser/kinit.c ret = get_server(context, client, server, &in_creds.server);
context 229 source4/heimdal/kuser/kinit.c krb5_free_principal(context, client);
context 233 source4/heimdal/kuser/kinit.c ret = krb5_get_credentials(context, 0, ccache, &in_creds, &real_creds);
context 234 source4/heimdal/kuser/kinit.c krb5_free_principal(context, client);
context 235 source4/heimdal/kuser/kinit.c krb5_free_principal(context, in_creds.server);
context 239 source4/heimdal/kuser/kinit.c ret = krb524_convert_creds_kdc_ccache(context, ccache, real_creds, &c);
context 241 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "converting creds");
context 243 source4/heimdal/kuser/kinit.c krb5_error_code tret = _krb5_krb_tf_setup(context, &c, NULL, 0);
context 245 source4/heimdal/kuser/kinit.c krb5_warn(context, tret, "saving v4 creds");
context 249 source4/heimdal/kuser/kinit.c krb5_free_creds(context, real_creds);
context 258 source4/heimdal/kuser/kinit.c renew_validate(krb5_context context,
context 271 source4/heimdal/kuser/kinit.c ret = krb5_cc_get_principal(context, cache, &in.client);
context 273 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "krb5_cc_get_principal");
context 276 source4/heimdal/kuser/kinit.c ret = get_server(context, in.client, server, &in.server);
context 278 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "get_server");
context 287 source4/heimdal/kuser/kinit.c krb5_get_credentials(context, KRB5_GC_CACHED, cache, &in, &out);
context 310 source4/heimdal/kuser/kinit.c krb5_free_creds (context, out);
context 315 source4/heimdal/kuser/kinit.c ret = krb5_get_kdc_cred(context,
context 323 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "krb5_get_kdc_cred");
context 326 source4/heimdal/kuser/kinit.c ret = krb5_cc_initialize(context, cache, in.client);
context 328 source4/heimdal/kuser/kinit.c krb5_free_creds (context, out);
context 329 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "krb5_cc_initialize");
context 332 source4/heimdal/kuser/kinit.c ret = krb5_cc_store_cred(context, cache, out);
context 338 source4/heimdal/kuser/kinit.c do_524init(context, cache, out, NULL);
context 341 source4/heimdal/kuser/kinit.c krb5_afslog(context, cache, NULL, NULL);
context 344 source4/heimdal/kuser/kinit.c krb5_free_creds (context, out);
context 346 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "krb5_cc_store_cred");
context 350 source4/heimdal/kuser/kinit.c krb5_free_cred_contents(context, &in);
context 355 source4/heimdal/kuser/kinit.c store_ntlmkey(krb5_context context, krb5_ccache id,
context 364 source4/heimdal/kuser/kinit.c krb5_clear_error_message(context);
context 371 source4/heimdal/kuser/kinit.c ret = krb5_cc_set_config(context, id, NULL, name, &data);
context 377 source4/heimdal/kuser/kinit.c get_new_tickets(krb5_context context,
context 405 source4/heimdal/kuser/kinit.c krb5_errx(context, 1, "Failed to open the password file %s",
context 409 source4/heimdal/kuser/kinit.c krb5_errx(context, 1,
context 420 source4/heimdal/kuser/kinit.c ret = krb5_get_init_creds_opt_alloc (context, &opt);
context 422 source4/heimdal/kuser/kinit.c krb5_err(context, 1, ret, "krb5_get_init_creds_opt_alloc");
context 424 source4/heimdal/kuser/kinit.c krb5_get_init_creds_opt_set_default_flags(context, "kinit",
context 425 source4/heimdal/kuser/kinit.c krb5_principal_get_realm(context, principal), opt);
context 434 source4/heimdal/kuser/kinit.c krb5_get_init_creds_opt_set_pac_request(context, opt,
context 437 source4/heimdal/kuser/kinit.c krb5_get_init_creds_opt_set_canonicalize(context, opt, TRUE);
context 439 source4/heimdal/kuser/kinit.c ret = krb5_get_init_creds_opt_set_pkinit(context, opt,
context 450 source4/heimdal/kuser/kinit.c krb5_err(context, 1, ret, "krb5_get_init_creds_opt_set_pkinit");
context 454 source4/heimdal/kuser/kinit.c krb5_get_init_creds_opt_set_addressless(context, opt,
context 487 source4/heimdal/kuser/kinit.c ret = krb5_string_to_enctype(context,
context 500 source4/heimdal/kuser/kinit.c ret = krb5_kt_resolve(context, keytab_str, &kt);
context 502 source4/heimdal/kuser/kinit.c ret = krb5_kt_default(context, &kt);
context 504 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "resolving keytab");
context 505 source4/heimdal/kuser/kinit.c ret = krb5_get_init_creds_keytab (context,
context 512 source4/heimdal/kuser/kinit.c krb5_kt_close(context, kt);
context 514 source4/heimdal/kuser/kinit.c ret = krb5_get_init_creds_password (context,
context 524 source4/heimdal/kuser/kinit.c krb5_warnx(context, "Not interactive, failed to get initial ticket");
context 525 source4/heimdal/kuser/kinit.c krb5_get_init_creds_opt_free(context, opt);
context 532 source4/heimdal/kuser/kinit.c krb5_unparse_name (context, principal, &p);
context 544 source4/heimdal/kuser/kinit.c ret = krb5_get_init_creds_password (context,
context 554 source4/heimdal/kuser/kinit.c krb5_get_init_creds_opt_free(context, opt);
context 567 source4/heimdal/kuser/kinit.c krb5_errx(context, 1, N_("Password incorrect", ""));
context 570 source4/heimdal/kuser/kinit.c krb5_errx(context, 1, N_("Looks like a Kerberos 4 reply", ""));
context 573 source4/heimdal/kuser/kinit.c krb5_err(context, 1, ret, "krb5_get_init_creds");
context 581 source4/heimdal/kuser/kinit.c krb5_warnx(context, N_("NOTICE: ticket lifetime is %s", ""), life);
context 589 source4/heimdal/kuser/kinit.c krb5_warnx(context,
context 595 source4/heimdal/kuser/kinit.c ret = krb5_cc_new_unique(context, krb5_cc_get_type(context, ccache),
context 598 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "krb5_cc_new_unique");
context 600 source4/heimdal/kuser/kinit.c ret = krb5_cc_initialize (context, tempccache, cred.client);
context 602 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "krb5_cc_initialize");
context 604 source4/heimdal/kuser/kinit.c ret = krb5_cc_store_cred (context, tempccache, &cred);
context 606 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "krb5_cc_store_cred");
context 608 source4/heimdal/kuser/kinit.c krb5_free_cred_contents (context, &cred);
context 610 source4/heimdal/kuser/kinit.c ret = krb5_cc_move(context, tempccache, ccache);
context 612 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "krb5_cc_move");
context 615 source4/heimdal/kuser/kinit.c store_ntlmkey(context, ccache, ntlm_domain, &ntlmkey);
context 629 source4/heimdal/kuser/kinit.c krb5_cc_set_config(context, ccache, NULL, "realm-config", &data);
context 640 source4/heimdal/kuser/kinit.c ticket_lifetime(krb5_context context, krb5_ccache cache,
context 649 source4/heimdal/kuser/kinit.c ret = krb5_cc_get_principal(context, cache, &in_cred.client);
context 651 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "krb5_cc_get_principal");
context 654 source4/heimdal/kuser/kinit.c ret = get_server(context, in_cred.client, server, &in_cred.server);
context 656 source4/heimdal/kuser/kinit.c krb5_free_principal(context, in_cred.client);
context 657 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "get_server");
context 661 source4/heimdal/kuser/kinit.c ret = krb5_get_credentials(context, KRB5_GC_CACHED,
context 663 source4/heimdal/kuser/kinit.c krb5_free_principal(context, in_cred.client);
context 664 source4/heimdal/kuser/kinit.c krb5_free_principal(context, in_cred.server);
context 666 source4/heimdal/kuser/kinit.c krb5_warn(context, ret, "krb5_get_credentials");
context 672 source4/heimdal/kuser/kinit.c krb5_free_creds(context, cred);
context 677 source4/heimdal/kuser/kinit.c krb5_context context;
context 692 source4/heimdal/kuser/kinit.c ret = renew_validate(ctx->context, renewable_flag, validate_flag,
context 700 source4/heimdal/kuser/kinit.c get_new_tickets(ctx->context, ctx->principal,
context 705 source4/heimdal/kuser/kinit.c do_524init(ctx->context, ctx->ccache, NULL, server_str);
context 708 source4/heimdal/kuser/kinit.c krb5_afslog(ctx->context, ctx->ccache, NULL, NULL);
context 710 source4/heimdal/kuser/kinit.c expire = ticket_lifetime(ctx->context, ctx->ccache, ctx->principal,
context 719 source4/heimdal/kuser/kinit.c krb5_context context;
context 734 source4/heimdal/kuser/kinit.c ret = krb5_init_context (&context);
context 758 source4/heimdal/kuser/kinit.c ret = krb5_parse_name_flags (context, argv[0], parseflags, &principal);
context 760 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "krb5_parse_name");
context 762 source4/heimdal/kuser/kinit.c ret = krb5_get_default_principal (context, &principal);
context 764 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, "krb5_get_default_principal");
context 768 source4/heimdal/kuser/kinit.c krb5_set_fcache_version(context, fcache_version);
context 772 source4/heimdal/kuser/kinit.c krb5_appdefault_boolean(context, "kinit",
context 773 source4/heimdal/kuser/kinit.c krb5_principal_get_realm(context, principal),
context 777 source4/heimdal/kuser/kinit.c krb5_appdefault_boolean(context, "kinit",
context 778 source4/heimdal/kuser/kinit.c krb5_principal_get_realm(context, principal),
context 782 source4/heimdal/kuser/kinit.c krb5_appdefault_boolean(context, "kinit",
context 783 source4/heimdal/kuser/kinit.c krb5_principal_get_realm(context, principal),
context 787 source4/heimdal/kuser/kinit.c ret = krb5_cc_resolve(context, cred_cache, &ccache);
context 791 source4/heimdal/kuser/kinit.c ret = krb5_cc_gen_new(context, &krb5_fcc_ops, &ccache);
context 793 source4/heimdal/kuser/kinit.c krb5_err(context, 1, ret, "creating cred cache");
context 795 source4/heimdal/kuser/kinit.c krb5_cc_get_type(context, ccache),
context 796 source4/heimdal/kuser/kinit.c krb5_cc_get_name(context, ccache));
context 802 source4/heimdal/kuser/kinit.c krb5_errx(context, 1, "out of memory");
context 813 source4/heimdal/kuser/kinit.c ret = krb5_cc_cache_match(context, principal, &ccache);
context 815 source4/heimdal/kuser/kinit.c ret = krb5_cc_default (context, &ccache);
context 819 source4/heimdal/kuser/kinit.c krb5_err (context, 1, ret, N_("resolving credentials cache", ""));
context 833 source4/heimdal/kuser/kinit.c krb5_errx(context, 1,
context 841 source4/heimdal/kuser/kinit.c ret = krb5_parse_address(context, extra_addresses.strings[i],
context 844 source4/heimdal/kuser/kinit.c krb5_add_extra_addresses(context, &addresses);
context 845 source4/heimdal/kuser/kinit.c krb5_free_addresses(context, &addresses);
context 852 source4/heimdal/kuser/kinit.c ret = renew_validate(context, renew_flag, validate_flag,
context 860 source4/heimdal/kuser/kinit.c get_new_tickets(context, principal, ccache, ticket_life, 1);
context 864 source4/heimdal/kuser/kinit.c do_524init(context, ccache, NULL, server_str);
context 867 source4/heimdal/kuser/kinit.c krb5_afslog(context, ccache, NULL, NULL);
context 872 source4/heimdal/kuser/kinit.c timeout = ticket_lifetime(context, ccache, principal, server_str) / 2;
context 874 source4/heimdal/kuser/kinit.c ctx.context = context;
context 884 source4/heimdal/kuser/kinit.c krb5_warnx(context, N_("permission denied: %s", ""), argv[1]);
context 886 source4/heimdal/kuser/kinit.c krb5_warnx(context, N_("command not found: %s", ""), argv[1]);
context 888 source4/heimdal/kuser/kinit.c krb5_cc_destroy(context, ccache);
context 890 source4/heimdal/kuser/kinit.c _krb5_krb_dest_tkt(context, krb4_cc_name);
context 895 source4/heimdal/kuser/kinit.c krb5_cc_close (context, ccache);
context 898 source4/heimdal/kuser/kinit.c krb5_free_principal(context, principal);
context 899 source4/heimdal/kuser/kinit.c krb5_free_context (context);
context 739 source4/heimdal/lib/gssapi/gssapi/gssapi.h gss_ctx_id_t context,
context 303 source4/heimdal/lib/gssapi/gssapi_mech.h gss_ctx_id_t context,
context 44 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context;
context 47 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = _gsskrb5_init(&context);
context 54 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_kt_close(context, _gsskrb5_keytab);
context 58 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = krb5_kt_default(context, &_gsskrb5_keytab);
context 67 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = krb5_kt_resolve(context, p, &_gsskrb5_keytab);
context 124 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context,
context 136 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_cc_default (context, &ccache);
context 139 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_cc_gen_new (context, &krb5_mcc_ops, &ccache);
context 146 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_cc_initialize(context, ccache, ctx->source);
context 152 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_con_removeflags(context,
context 156 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_cred2(context,
context 160 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_con_setflags(context,
context 184 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_cc_close(context, ccache);
context 192 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_cc_close(context, ccache);
context 194 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_cc_destroy(context, ccache);
context 202 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context,
context 209 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_getremoteseqnumber (context,
context 227 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_con_setlocalseqnumber(context,
context 238 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c context,
context 255 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context,
context 269 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = krb5_decode_ap_req(context, indata, &ap_req);
context 274 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = _krb5_principalname2krb5_principal(context,
context 286 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = krb5_mk_error(context, kret, NULL, NULL, NULL,
context 289 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_free_principal(context, ap_req_server);
context 312 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context,
context 368 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_req_in_ctx_alloc(context, &in);
context 370 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_req_in_set_keytab(context, in, keytab);
context 373 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_rd_req_in_ctx_free(context, in);
context 378 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_req_ctx(context,
context 383 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_rd_req_in_ctx_free(context, in);
context 391 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c return send_error_token(minor_status, context, kret,
context 401 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_req_out_get_ap_req_options(context, out,
context 404 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_req_out_get_ticket(context, out,
context 407 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_req_out_get_keyblock(context, out,
context 411 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_rd_req_out_ctx_free(context, out);
context 424 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_copy_principal(context,
context 432 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_copy_principal(context,
context 445 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = _gss_DES3_get_mic_compat(minor_status, ctx, context);
context 450 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_copy_principal (context,
context 466 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_getauthenticator(context,
context 482 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_free_authenticator(context, &authenticator);
context 489 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_crypto_init(context,
context 493 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_free_authenticator(context, &authenticator);
context 505 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_verify_checksum(context,
context 508 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_free_authenticator(context, &authenticator);
context 509 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_crypto_destroy(context, crypto);
context 540 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_getremotesubkey(context,
context 544 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_setlocalsubkey(context,
context 549 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_free_keyblock(context, rkey);
context 554 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_con_addflags(context, ctx->auth_context,
context 559 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_mk_rep(context,
context 594 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c context,
context 618 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c ret = gsskrb5_acceptor_ready(minor_status, ctx, context,
context 630 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context,
context 659 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_getlocalseqnumber(context,
context 667 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_getremoteseqnumber(context,
context 675 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_setremoteseqnumber(context,
context 693 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_con_removeflags(context,
context 698 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_rd_rep(context, ctx->auth_context, &inbuf, &repl);
context 703 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_free_ap_rep_enc_part(context, repl);
context 704 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_auth_con_setflags(context, ctx->auth_context, auth_flags);
context 712 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c context,
context 729 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_copy_principal(context,
context 747 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_getremoteseqnumber(context,
context 755 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_getlocalseqnumber(context,
context 777 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c kret = krb5_auth_con_setremoteseqnumber(context,
context 786 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c return gsskrb5_acceptor_ready(minor_status, ctx, context,
context 804 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c krb5_context context;
context 808 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c GSSAPI_KRB5_INIT(&context);
context 821 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c context,
context 842 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c context,
context 856 source4/heimdal/lib/gssapi/krb5/accept_sec_context.c context,
context 40 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_context context,
context 52 source4/heimdal/lib/gssapi/krb5/acquire_cred.c realm = krb5_principal_get_realm(context, principal);
context 59 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_make_principal(context, &in_cred.server,
context 66 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_get_credentials(context, 0,
context 68 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_principal(context, in_cred.server);
context 75 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_creds(context, out_cred);
context 84 source4/heimdal/lib/gssapi/krb5/acquire_cred.c get_keytab(krb5_context context, krb5_keytab *keytab)
context 92 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_kt_get_name(context,
context 96 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_kt_resolve(context, kt_name, keytab);
context 98 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_kt_default(context, keytab);
context 107 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_context context,
context 138 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_cc_cache_match (context,
context 148 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_cc_default(context, &ccache);
context 152 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_cc_get_principal(context, ccache, &def_princ);
context 155 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_cc_close(context, ccache);
context 159 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_copy_principal(context, def_princ, &handle->principal);
context 163 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_principal_compare(context, handle->principal,
context 165 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_principal(context, def_princ);
context 167 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_cc_close(context, ccache);
context 175 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_get_default_principal(context, &handle->principal);
context 179 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = get_keytab(context, &keytab);
context 182 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_get_init_creds_opt_alloc(context, &opt);
context 185 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_get_init_creds_keytab(context, &cred,
context 187 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_get_init_creds_opt_free(context, opt);
context 190 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_cc_gen_new(context, &krb5_mcc_ops, &ccache);
context 193 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_cc_initialize(context, ccache, cred.client);
context 195 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_cc_destroy(context, ccache);
context 198 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_cc_store_cred(context, ccache, &cred);
context 200 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_cc_destroy(context, ccache);
context 208 source4/heimdal/lib/gssapi/krb5/acquire_cred.c context,
context 213 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_cc_close(context, ccache);
context 224 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_cred_contents(context, &cred);
context 226 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_principal(context, def_princ);
context 228 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_kt_close(context, keytab);
context 236 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_context context,
context 250 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = get_keytab(context, &handle->keytab);
context 258 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_kt_get_entry(context, handle->keytab,
context 262 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_kt_free_entry(context, &entry);
context 272 source4/heimdal/lib/gssapi/krb5/acquire_cred.c kret = krb5_kt_start_seq_get (context, handle->keytab, &c);
context 275 source4/heimdal/lib/gssapi/krb5/acquire_cred.c if (krb5_kt_next_entry(context, handle->keytab, &tmp, &c) == 0) {
context 276 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_kt_free_entry(context, &tmp);
context 279 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_kt_end_seq_get (context, handle->keytab, &c);
context 284 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_kt_close(context, handle->keytab);
context 303 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_context context;
context 312 source4/heimdal/lib/gssapi/krb5/acquire_cred.c GSSAPI_KRB5_INIT(&context);
context 343 source4/heimdal/lib/gssapi/krb5/acquire_cred.c ret = _gsskrb5_canon_name(minor_status, context, 0, desired_name,
context 352 source4/heimdal/lib/gssapi/krb5/acquire_cred.c ret = acquire_initiator_cred(minor_status, context,
context 358 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_principal(context, handle->principal);
context 364 source4/heimdal/lib/gssapi/krb5/acquire_cred.c ret = acquire_acceptor_cred(minor_status, context,
context 369 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_principal(context, handle->principal);
context 385 source4/heimdal/lib/gssapi/krb5/acquire_cred.c krb5_free_principal(context, handle->principal);
context 392 source4/heimdal/lib/gssapi/krb5/acquire_cred.c context,
context 51 source4/heimdal/lib/gssapi/krb5/add_cred.c krb5_context context;
context 60 source4/heimdal/lib/gssapi/krb5/add_cred.c GSSAPI_KRB5_INIT (&context);
context 89 source4/heimdal/lib/gssapi/krb5/add_cred.c krb5_principal_compare(context, dname,
context 118 source4/heimdal/lib/gssapi/krb5/add_cred.c kret = krb5_copy_principal(context, cred->principal,
context 133 source4/heimdal/lib/gssapi/krb5/add_cred.c kret = krb5_kt_get_type(context, cred->keytab,
context 142 source4/heimdal/lib/gssapi/krb5/add_cred.c kret = krb5_kt_get_name(context, cred->keytab,
context 150 source4/heimdal/lib/gssapi/krb5/add_cred.c kret = krb5_kt_resolve(context, name,
context 164 source4/heimdal/lib/gssapi/krb5/add_cred.c type = krb5_cc_get_type(context, cred->ccache);
context 171 source4/heimdal/lib/gssapi/krb5/add_cred.c ret = krb5_cc_gen_new(context, &krb5_mcc_ops,
context 178 source4/heimdal/lib/gssapi/krb5/add_cred.c ret = krb5_cc_copy_cache(context, cred->ccache,
context 186 source4/heimdal/lib/gssapi/krb5/add_cred.c name = krb5_cc_get_name(context, cred->ccache);
context 198 source4/heimdal/lib/gssapi/krb5/add_cred.c kret = krb5_cc_resolve(context, type_name,
context 240 source4/heimdal/lib/gssapi/krb5/add_cred.c krb5_free_principal(context, handle->principal);
context 242 source4/heimdal/lib/gssapi/krb5/add_cred.c krb5_kt_close(context, handle->keytab);
context 244 source4/heimdal/lib/gssapi/krb5/add_cred.c krb5_cc_destroy(context, handle->ccache);
context 39 source4/heimdal/lib/gssapi/krb5/address_to_krb5addr.c _gsskrb5i_address_to_krb5addr(krb5_context context,
context 65 source4/heimdal/lib/gssapi/krb5/address_to_krb5addr.c problem = krb5_h_addr2sockaddr (context,
context 74 source4/heimdal/lib/gssapi/krb5/address_to_krb5addr.c problem = krb5_sockaddr2address (context, &sa, address);
context 73 source4/heimdal/lib/gssapi/krb5/arcfour.c arcfour_mic_key(krb5_context context, krb5_keyblock *key,
context 95 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_hmac(context, CKSUMTYPE_RSA_MD5,
context 99 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_hmac(context, CKSUMTYPE_RSA_MD5,
context 111 source4/heimdal/lib/gssapi/krb5/arcfour.c return krb5_hmac(context, CKSUMTYPE_RSA_MD5,
context 117 source4/heimdal/lib/gssapi/krb5/arcfour.c arcfour_mic_cksum(krb5_context context,
context 142 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 148 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_create_checksum(context,
context 159 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto_destroy(context, crypto);
context 168 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_context context,
context 205 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_cksum(context,
context 217 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_key(context, key,
context 227 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_auth_con_getlocalseqnumber (context,
context 233 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_auth_con_setlocalseqnumber (context,
context 254 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_context context,
context 286 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_cksum(context,
context 297 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_key(context, key,
context 347 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_context context,
context 405 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_auth_con_getlocalseqnumber (context,
context 411 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_auth_con_setlocalseqnumber (context,
context 429 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_cksum(context,
context 452 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_key(context, &Klocal,
context 473 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_key(context, key,
context 500 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_context context,
context 573 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_key(context, key,
context 612 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_key(context, &Klocal,
context 654 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = arcfour_mic_cksum(context,
context 733 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_context context,
context 743 source4/heimdal/lib/gssapi/krb5/arcfour.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 753 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto_destroy(context, crypto);
context 757 source4/heimdal/lib/gssapi/krb5/arcfour.c krb5_crypto_destroy(context, crypto);
context 45 source4/heimdal/lib/gssapi/krb5/canonicalize_name.c krb5_context context;
context 51 source4/heimdal/lib/gssapi/krb5/canonicalize_name.c GSSAPI_KRB5_INIT (&context);
context 53 source4/heimdal/lib/gssapi/krb5/canonicalize_name.c ret = _gsskrb5_canon_name(minor_status, context, 1, input_name, &name);
context 47 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_context context,
context 62 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context, crypto, &type);
context 66 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_checksumsize(context, type, cksumsize);
context 77 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_getblocksize(context, crypto, &padsize);
context 79 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_getpadsize(context, crypto, &padsize);
context 92 source4/heimdal/lib/gssapi/krb5/cfx.c *output_length += krb5_get_wrapped_length(context,
context 105 source4/heimdal/lib/gssapi/krb5/cfx.c _gsskrb5cfx_max_wrap_length_cfx(krb5_context context,
context 126 source4/heimdal/lib/gssapi/krb5/cfx.c sz = krb5_get_wrapped_length(context,
context 146 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context, crypto, &type);
context 150 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_checksumsize(context, type, &cksumsize);
context 167 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_context context,
context 177 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 183 source4/heimdal/lib/gssapi/krb5/cfx.c ret = _gsskrb5cfx_max_wrap_length_cfx(context, crypto, conf_req_flag,
context 187 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 191 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 242 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_context context,
context 260 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 266 source4/heimdal/lib/gssapi/krb5/cfx.c ret = _gsskrb5cfx_wrap_length_cfx(context_handle, context,
context 272 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 283 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 333 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_auth_con_getlocalseqnumber(context,
context 338 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_auth_con_setlocalseqnumber(context,
context 373 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_encrypt(context, crypto,
context 380 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 399 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 412 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 419 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_create_checksum(context, crypto,
context 426 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 449 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 457 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 469 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_context context,
context 553 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 580 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 584 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_decrypt(context, crypto, usage,
context 588 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 594 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 607 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 620 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 625 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context,
context 629 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 638 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 650 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 667 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_verify_checksum(context, crypto,
context 674 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 680 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 692 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_context context,
context 707 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 717 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 734 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_auth_con_getlocalseqnumber(context,
context 739 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_auth_con_setlocalseqnumber(context,
context 750 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_create_checksum(context, crypto,
context 754 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 758 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 784 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_context context,
context 854 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 860 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_crypto_get_checksum_type(context, crypto,
context 864 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 880 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 886 source4/heimdal/lib/gssapi/krb5/cfx.c ret = krb5_verify_checksum(context, crypto,
context 891 source4/heimdal/lib/gssapi/krb5/cfx.c krb5_crypto_destroy(context, crypto);
context 47 source4/heimdal/lib/gssapi/krb5/compare_name.c krb5_context context;
context 49 source4/heimdal/lib/gssapi/krb5/compare_name.c GSSAPI_KRB5_INIT(&context);
context 51 source4/heimdal/lib/gssapi/krb5/compare_name.c *name_equal = krb5_principal_compare (context,
context 41 source4/heimdal/lib/gssapi/krb5/compat.c krb5_context context, krb5_const_principal name,
context 50 source4/heimdal/lib/gssapi/krb5/compat.c p = krb5_config_get_strings(context, NULL, "gssapi",
context 57 source4/heimdal/lib/gssapi/krb5/compat.c ret = krb5_parse_name(context, *q, &match);
context 61 source4/heimdal/lib/gssapi/krb5/compat.c if (krb5_principal_match(context, name, match)) {
context 66 source4/heimdal/lib/gssapi/krb5/compat.c krb5_free_principal(context, match);
context 70 source4/heimdal/lib/gssapi/krb5/compat.c krb5_free_principal(context, match);
context 89 source4/heimdal/lib/gssapi/krb5/compat.c krb5_context context)
context 95 source4/heimdal/lib/gssapi/krb5/compat.c ret = check_compat(minor_status, context, ctx->target,
context 99 source4/heimdal/lib/gssapi/krb5/compat.c ret = check_compat(minor_status, context, ctx->target,
context 40 source4/heimdal/lib/gssapi/krb5/context_time.c krb5_context context,
context 52 source4/heimdal/lib/gssapi/krb5/context_time.c kret = krb5_timeofday(context, &timeret);
context 73 source4/heimdal/lib/gssapi/krb5/context_time.c krb5_context context;
context 78 source4/heimdal/lib/gssapi/krb5/context_time.c GSSAPI_KRB5_INIT (&context);
context 84 source4/heimdal/lib/gssapi/krb5/context_time.c major_status = _gsskrb5_lifetime_left(minor_status, context,
context 41 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_context context,
context 55 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_cc_copy_cache(context, cred->ccache, out);
context 74 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_context context;
context 81 source4/heimdal/lib/gssapi/krb5/copy_ccache.c GSSAPI_KRB5_INIT (&context);
context 98 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_cc_get_principal(context, id,
context 109 source4/heimdal/lib/gssapi/krb5/copy_ccache.c match = krb5_principal_compare(context,
context 113 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_free_principal(context, handle->principal);
context 122 source4/heimdal/lib/gssapi/krb5/copy_ccache.c context,
context 127 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_free_principal(context, handle->principal);
context 133 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_cc_get_full_name(context, id, &str);
context 137 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_cc_resolve(context, str, &handle->ccache);
context 150 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_copy_principal(context,
context 157 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_kt_get_full_name(context, keytab, &str);
context 161 source4/heimdal/lib/gssapi/krb5/copy_ccache.c kret = krb5_kt_resolve(context, str, &handle->keytab);
context 186 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_cc_close(context, handle->ccache);
context 188 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_kt_close(context, handle->keytab);
context 190 source4/heimdal/lib/gssapi/krb5/copy_ccache.c krb5_free_principal(context, handle->principal);
context 43 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_context context;
context 46 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c GSSAPI_KRB5_INIT (&context);
context 63 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_auth_con_free (context, ctx->auth_context);
context 65 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_free_creds(context, ctx->kcred);
context 67 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_free_principal (context, ctx->source);
context 69 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_free_principal (context, ctx->target);
context 71 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_free_ticket (context, ctx->ticket);
context 75 source4/heimdal/lib/gssapi/krb5/delete_sec_context.c krb5_free_keyblock (context, ctx->service_keyblock);
context 45 source4/heimdal/lib/gssapi/krb5/display_name.c krb5_context context;
context 51 source4/heimdal/lib/gssapi/krb5/display_name.c GSSAPI_KRB5_INIT (&context);
context 53 source4/heimdal/lib/gssapi/krb5/display_name.c kret = krb5_unparse_name_flags (context, name,
context 117 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_context context;
context 119 source4/heimdal/lib/gssapi/krb5/display_status.c if (_gsskrb5_init (&context) != 0)
context 121 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_clear_error_message(context);
context 127 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_context context;
context 131 source4/heimdal/lib/gssapi/krb5/display_status.c if (_gsskrb5_init (&context) != 0)
context 138 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_set_error_message(context, ret, "%s", str);
context 151 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_context context;
context 154 source4/heimdal/lib/gssapi/krb5/display_status.c GSSAPI_KRB5_INIT (&context);
context 174 source4/heimdal/lib/gssapi/krb5/display_status.c const char *buf2 = krb5_get_error_message(context, status_value);
context 177 source4/heimdal/lib/gssapi/krb5/display_status.c krb5_free_error_message(context, buf2);
context 45 source4/heimdal/lib/gssapi/krb5/duplicate_name.c krb5_context context;
context 49 source4/heimdal/lib/gssapi/krb5/duplicate_name.c GSSAPI_KRB5_INIT (&context);
context 51 source4/heimdal/lib/gssapi/krb5/duplicate_name.c kret = krb5_copy_principal (context, src, &dest);
context 44 source4/heimdal/lib/gssapi/krb5/export_name.c krb5_context context;
context 50 source4/heimdal/lib/gssapi/krb5/export_name.c GSSAPI_KRB5_INIT (&context);
context 52 source4/heimdal/lib/gssapi/krb5/export_name.c kret = krb5_unparse_name (context, princ, &name);
context 45 source4/heimdal/lib/gssapi/krb5/export_sec_context.c krb5_context context;
context 56 source4/heimdal/lib/gssapi/krb5/export_sec_context.c GSSAPI_KRB5_INIT (&context);
context 42 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_context context,
context 98 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_auth_con_getlocalseqnumber (context,
context 115 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_auth_con_setlocalseqnumber (context,
context 131 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_context context,
context 185 source4/heimdal/lib/gssapi/krb5/get_mic.c kret = krb5_crypto_init(context, key, 0, &crypto);
context 195 source4/heimdal/lib/gssapi/krb5/get_mic.c kret = krb5_create_checksum (context,
context 203 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_crypto_destroy (context, crypto);
context 216 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_auth_con_getlocalseqnumber (context,
context 228 source4/heimdal/lib/gssapi/krb5/get_mic.c kret = krb5_crypto_init(context, key,
context 243 source4/heimdal/lib/gssapi/krb5/get_mic.c kret = krb5_encrypt_ivec (context,
context 247 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_crypto_destroy (context, crypto);
context 261 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_auth_con_setlocalseqnumber (context,
context 279 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_context context;
context 285 source4/heimdal/lib/gssapi/krb5/get_mic.c GSSAPI_KRB5_INIT (&context);
context 288 source4/heimdal/lib/gssapi/krb5/get_mic.c ret = _gsskrb5i_get_token_key(ctx, context, &key);
context 294 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_enctype_to_keytype (context, key->keytype, &keytype);
context 298 source4/heimdal/lib/gssapi/krb5/get_mic.c ret = mic_des (minor_status, ctx, context, qop_req,
context 302 source4/heimdal/lib/gssapi/krb5/get_mic.c ret = mic_des3 (minor_status, ctx, context, qop_req,
context 307 source4/heimdal/lib/gssapi/krb5/get_mic.c ret = _gssapi_get_mic_arcfour (minor_status, ctx, context, qop_req,
context 311 source4/heimdal/lib/gssapi/krb5/get_mic.c ret = _gssapi_mic_cfx (minor_status, ctx, context, qop_req,
context 315 source4/heimdal/lib/gssapi/krb5/get_mic.c krb5_free_keyblock (context, key);
context 40 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_context context,
context 47 source4/heimdal/lib/gssapi/krb5/import_name.c kerr = krb5_parse_name (context, name, &princ);
context 63 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_context context,
context 80 source4/heimdal/lib/gssapi/krb5/import_name.c ret = parse_krb5_name(minor_status, context, tmp, output_name);
context 87 source4/heimdal/lib/gssapi/krb5/import_name.c _gsskrb5_canon_name(OM_uint32 *minor_status, krb5_context context,
context 97 source4/heimdal/lib/gssapi/krb5/import_name.c if (krb5_principal_get_type(context, p) != MAGIC_HOSTBASED_NAME_TYPE) {
context 98 source4/heimdal/lib/gssapi/krb5/import_name.c ret = krb5_copy_principal(context, p, out);
context 100 source4/heimdal/lib/gssapi/krb5/import_name.c ret = krb5_copy_principal(context, p, out);
context 102 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_principal_set_type(context, *out, KRB5_NT_SRV_HST);
context 111 source4/heimdal/lib/gssapi/krb5/import_name.c ret = krb5_sname_to_principal(context,
context 129 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_context context,
context 153 source4/heimdal/lib/gssapi/krb5/import_name.c kerr = krb5_make_principal(context, &princ, NULL, tmp, host, NULL);
context 161 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_principal_set_type(context, princ, MAGIC_HOSTBASED_NAME_TYPE);
context 169 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_context context,
context 209 source4/heimdal/lib/gssapi/krb5/import_name.c ret = parse_krb5_name(minor_status, context, name, output_name);
context 222 source4/heimdal/lib/gssapi/krb5/import_name.c krb5_context context;
context 227 source4/heimdal/lib/gssapi/krb5/import_name.c GSSAPI_KRB5_INIT (&context);
context 232 source4/heimdal/lib/gssapi/krb5/import_name.c context,
context 240 source4/heimdal/lib/gssapi/krb5/import_name.c context,
context 245 source4/heimdal/lib/gssapi/krb5/import_name.c context,
context 46 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_context context;
context 59 source4/heimdal/lib/gssapi/krb5/import_sec_context.c GSSAPI_KRB5_INIT (&context);
context 80 source4/heimdal/lib/gssapi/krb5/import_sec_context.c kret = krb5_auth_con_init (context,
context 111 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_auth_con_setaddrs (context, ac, localp, remotep);
context 113 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_address (context, localp);
context 115 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_address (context, remotep);
context 126 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_auth_con_setkey (context, ac, &keyblock);
context 127 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_keyblock_contents (context, &keyblock);
context 132 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_auth_con_setlocalsubkey (context, ac, &keyblock);
context 133 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_keyblock_contents (context, &keyblock);
context 138 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_auth_con_setremotesubkey (context, ac, &keyblock);
context 139 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_keyblock_contents (context, &keyblock);
context 212 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_auth_con_free (context,
context 215 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_principal(context, ctx->source);
context 217 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_principal(context, ctx->target);
context 219 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_address (context, localp);
context 221 source4/heimdal/lib/gssapi/krb5/import_sec_context.c krb5_free_address (context, remotep);
context 45 source4/heimdal/lib/gssapi/krb5/init.c krb5_context context = ptr;
context 47 source4/heimdal/lib/gssapi/krb5/init.c if (context == NULL)
context 49 source4/heimdal/lib/gssapi/krb5/init.c krb5_free_context(context);
context 53 source4/heimdal/lib/gssapi/krb5/init.c _gsskrb5_init (krb5_context *context)
context 69 source4/heimdal/lib/gssapi/krb5/init.c *context = HEIMDAL_getspecific(context_key);
context 70 source4/heimdal/lib/gssapi/krb5/init.c if (*context == NULL) {
context 72 source4/heimdal/lib/gssapi/krb5/init.c ret = krb5_init_context(context);
context 74 source4/heimdal/lib/gssapi/krb5/init.c HEIMDAL_setspecific(context_key, *context, ret);
context 76 source4/heimdal/lib/gssapi/krb5/init.c krb5_free_context(*context);
context 77 source4/heimdal/lib/gssapi/krb5/init.c *context = NULL;
context 44 source4/heimdal/lib/gssapi/krb5/init_sec_context.c set_addresses (krb5_context context,
context 68 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = _gsskrb5i_address_to_krb5addr(context,
context 76 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = _gsskrb5i_address_to_krb5addr(context,
context 82 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_address (context, &acceptor_addr);
context 86 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_auth_con_setaddrs(context,
context 91 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_address (context, &initiator_addr);
context 92 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_address (context, &acceptor_addr);
context 107 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context,
context 136 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_auth_con_init (context, &ctx->auth_context);
context 143 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = set_addresses(context, ctx->auth_context, input_chan_bindings);
context 149 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_con_free(context, ctx->auth_context);
context 158 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_con_addflags(context,
context 173 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context,
context 190 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_principal(context, ctx->target);
context 194 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = _gsskrb5_canon_name(minor_status, context, use_dns,
context 206 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_timeofday (context, &ts);
context 214 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_get_credentials(context,
context 226 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = _gsskrb5_lifetime_left(minor_status, context,
context 244 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context)
context 251 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_creds(context, ctx->kcred);
context 255 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_cc_close(context, ctx->ccache);
context 258 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_getremoteseqnumber (context, ctx->auth_context, &seq_number);
context 279 source4/heimdal/lib/gssapi/krb5/init_sec_context.c do_delegation (krb5_context context,
context 295 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_cc_get_principal(context, ccache, &creds.client);
context 299 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_build_principal(context,
context 319 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_get_forwarded_creds(context,
context 334 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_principal(context, creds.client);
context 336 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_principal(context, creds.server);
context 348 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context,
context 376 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_cc_default (context, &ctx->ccache);
context 386 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_cc_get_principal (context, ctx->ccache, &ctx->source);
context 393 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = _gss_DES3_get_mic_compat(minor_status, ctx, context);
context 409 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_set_default_in_tkt_etypes(context, enctypes);
context 413 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_cc_get_config(context, ctx->ccache, NULL,
context 428 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = gsskrb5_get_creds(minor_status, context, ctx->ccache,
context 432 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = gsskrb5_get_creds(minor_status, context, ctx->ccache,
context 441 source4/heimdal/lib/gssapi/krb5/init_sec_context.c context,
context 453 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_con_setkey(context,
context 457 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_auth_con_generatelocalsubkey(context,
context 470 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_cc_close(context, ctx->ccache);
context 482 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context,
context 516 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = krb5_cc_get_config(context, ctx->ccache, NULL,
context 540 source4/heimdal/lib/gssapi/krb5/init_sec_context.c do_delegation (context,
context 595 source4/heimdal/lib/gssapi/krb5/init_sec_context.c ret = krb5_cc_get_config(context, ctx->ccache, ctx->target,
context 606 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_get_kdc_sec_offset (context, &oldoffset, NULL);
context 607 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_set_kdc_sec_offset (context, offset, -1);
context 610 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_build_authenticator (context,
context 621 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_set_kdc_sec_offset (context, oldoffset, -1);
context 627 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_build_ap_req (context,
context 634 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_set_kdc_sec_offset (context, oldoffset, -1);
context 659 source4/heimdal/lib/gssapi/krb5/init_sec_context.c return gsskrb5_initiator_ready(minor_status, ctx, context);
context 662 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_cc_close(context, ctx->ccache);
context 673 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context,
context 717 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_rd_error(context, &indata, &error);
context 719 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_error_from_rd_error(context, &error, NULL);
context 735 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_cc_set_config(context, ctx->ccache, ctx->target,
context 751 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_rd_rep (context,
context 759 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_ap_rep_enc_part (context,
context 766 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_auth_con_getremotesubkey(context,
context 771 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_free_keyblock (context, key);
context 779 source4/heimdal/lib/gssapi/krb5/init_sec_context.c context,
context 799 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_getremoteseqnumber(context, ctx->auth_context, &remote_seq);
context 800 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_con_getlocalseqnumber(context, ctx->auth_context, &local_seq);
context 801 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_con_setlocalseqnumber(context, ctx->auth_context, remote_seq);
context 803 source4/heimdal/lib/gssapi/krb5/init_sec_context.c kret = krb5_mk_rep(context, ctx->auth_context, &outbuf);
context 810 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_auth_con_setlocalseqnumber(context, ctx->auth_context, local_seq);
context 816 source4/heimdal/lib/gssapi/krb5/init_sec_context.c return gsskrb5_initiator_ready(minor_status, ctx, context);
context 839 source4/heimdal/lib/gssapi/krb5/init_sec_context.c krb5_context context;
context 844 source4/heimdal/lib/gssapi/krb5/init_sec_context.c GSSAPI_KRB5_INIT (&context);
context 880 source4/heimdal/lib/gssapi/krb5/init_sec_context.c context,
context 902 source4/heimdal/lib/gssapi/krb5/init_sec_context.c context,
context 919 source4/heimdal/lib/gssapi/krb5/init_sec_context.c context,
context 931 source4/heimdal/lib/gssapi/krb5/init_sec_context.c context,
context 50 source4/heimdal/lib/gssapi/krb5/inquire_context.c krb5_context context;
context 60 source4/heimdal/lib/gssapi/krb5/inquire_context.c GSSAPI_KRB5_INIT (&context);
context 80 source4/heimdal/lib/gssapi/krb5/inquire_context.c context,
context 47 source4/heimdal/lib/gssapi/krb5/inquire_cred.c krb5_context context;
context 60 source4/heimdal/lib/gssapi/krb5/inquire_cred.c GSSAPI_KRB5_INIT (&context);
context 111 source4/heimdal/lib/gssapi/krb5/inquire_cred.c *minor_status = krb5_sname_to_principal(context, NULL,
context 121 source4/heimdal/lib/gssapi/krb5/inquire_cred.c *minor_status = krb5_get_default_principal(context,
context 137 source4/heimdal/lib/gssapi/krb5/inquire_cred.c context,
context 43 source4/heimdal/lib/gssapi/krb5/inquire_cred_by_oid.c krb5_context context;
context 49 source4/heimdal/lib/gssapi/krb5/inquire_cred_by_oid.c GSSAPI_KRB5_INIT (&context);
context 64 source4/heimdal/lib/gssapi/krb5/inquire_cred_by_oid.c ret = krb5_cc_get_full_name(context, cred->ccache, &str);
context 109 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_context context,
context 131 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = _gsskrb5i_get_acceptor_subkey(context_handle, context, &key);
context 134 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = _gsskrb5i_get_initiator_subkey(context_handle, context, &key);
context 137 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = _gsskrb5i_get_token_key(context_handle, context, &key);
context 154 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_free_keyblock (context, key);
context 187 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_context context,
context 206 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = krb5_ticket_get_authorization_data_type(context,
context 270 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_context context,
context 300 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_auth_con_getlocalseqnumber (context,
context 307 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_auth_getremoteseqnumber (context,
context 317 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c ret = _gsskrb5i_get_token_key(context_handle, context, &key);
context 384 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_free_keyblock (context, key);
context 497 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c krb5_context context;
context 506 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c GSSAPI_KRB5_INIT (&context);
context 519 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c context,
context 525 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c context,
context 531 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c context,
context 541 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c context,
context 550 source4/heimdal/lib/gssapi/krb5/inquire_sec_context_by_oid.c context,
context 47 source4/heimdal/lib/gssapi/krb5/prf.c krb5_context context;
context 65 source4/heimdal/lib/gssapi/krb5/prf.c GSSAPI_KRB5_INIT (&context);
context 69 source4/heimdal/lib/gssapi/krb5/prf.c _gsskrb5i_get_acceptor_subkey(ctx, context, &key);
context 72 source4/heimdal/lib/gssapi/krb5/prf.c _gsskrb5i_get_initiator_subkey(ctx, context, &key);
context 86 source4/heimdal/lib/gssapi/krb5/prf.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 87 source4/heimdal/lib/gssapi/krb5/prf.c krb5_free_keyblock (context, key);
context 97 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
context 111 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
context 121 source4/heimdal/lib/gssapi/krb5/prf.c ret = krb5_crypto_prf(context, crypto, &input, &output);
context 127 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
context 138 source4/heimdal/lib/gssapi/krb5/prf.c krb5_crypto_destroy(context, crypto);
context 44 source4/heimdal/lib/gssapi/krb5/process_context_token.c krb5_context context;
context 52 source4/heimdal/lib/gssapi/krb5/process_context_token.c GSSAPI_KRB5_INIT (&context);
context 58 source4/heimdal/lib/gssapi/krb5/process_context_token.c context,
context 43 source4/heimdal/lib/gssapi/krb5/release_cred.c krb5_context context;
context 55 source4/heimdal/lib/gssapi/krb5/release_cred.c GSSAPI_KRB5_INIT (&context);
context 60 source4/heimdal/lib/gssapi/krb5/release_cred.c krb5_free_principal(context, cred->principal);
context 62 source4/heimdal/lib/gssapi/krb5/release_cred.c krb5_kt_close(context, cred->keytab);
context 65 source4/heimdal/lib/gssapi/krb5/release_cred.c ops = krb5_cc_get_ops(context, cred->ccache);
context 67 source4/heimdal/lib/gssapi/krb5/release_cred.c krb5_cc_destroy(context, cred->ccache);
context 69 source4/heimdal/lib/gssapi/krb5/release_cred.c krb5_cc_close(context, cred->ccache);
context 43 source4/heimdal/lib/gssapi/krb5/release_name.c krb5_context context;
context 48 source4/heimdal/lib/gssapi/krb5/release_name.c GSSAPI_KRB5_INIT (&context);
context 52 source4/heimdal/lib/gssapi/krb5/release_name.c krb5_free_principal(context, name);
context 53 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_context context,
context 84 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_cc_resolve(context, str, &id);
context 97 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_parse_name(context, str, &keytab_principal);
context 114 source4/heimdal/lib/gssapi/krb5/set_cred_option.c ret = krb5_kt_resolve(context, str, &keytab);
context 128 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_cc_close(context, id);
context 130 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_free_principal(context, keytab_principal);
context 132 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_kt_close(context, keytab);
context 144 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_context context,
context 215 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_context context,
context 242 source4/heimdal/lib/gssapi/krb5/set_cred_option.c krb5_context context;
context 244 source4/heimdal/lib/gssapi/krb5/set_cred_option.c GSSAPI_KRB5_INIT (&context);
context 252 source4/heimdal/lib/gssapi/krb5/set_cred_option.c return import_cred(minor_status, context, cred_handle, value);
context 255 source4/heimdal/lib/gssapi/krb5/set_cred_option.c return allowed_enctypes(minor_status, context, cred_handle, value);
context 258 source4/heimdal/lib/gssapi/krb5/set_cred_option.c return no_ci_flags(minor_status, context, cred_handle, value);
context 110 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_context context;
context 113 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c GSSAPI_KRB5_INIT (&context);
context 149 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_set_dns_canonicalize_hostname(context, flag);
context 176 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_set_default_realm(context, str);
context 185 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_set_send_to_kdc_func(context, NULL, NULL);
context 194 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_set_send_to_kdc_func(context,
context 212 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c *minor_status = krb5_cc_set_default_name(context, str);
context 228 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_set_real_time(context, t, 0);
context 239 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_us_timeofday (context, &sec, &usec);
context 255 source4/heimdal/lib/gssapi/krb5/set_sec_context_option.c krb5_plugin_register(context, c.type, c.name, c.symbol);
context 190 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_context context,
context 249 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_crypto_init(context, key,
context 255 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_decrypt(context, crypto, KRB5_KU_USAGE_SEAL,
context 257 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto_destroy(context, crypto);
context 285 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_crypto_init(context, key,
context 296 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_decrypt_ivec (context,
context 302 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto_destroy (context, crypto);
context 349 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 355 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = krb5_verify_checksum (context, crypto,
context 360 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_crypto_destroy (context, crypto);
context 389 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_context context;
context 397 source4/heimdal/lib/gssapi/krb5/unwrap.c GSSAPI_KRB5_INIT (&context);
context 402 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = _gsskrb5i_get_token_key(ctx, context, &key);
context 408 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_enctype_to_keytype (context, key->keytype, &keytype);
context 419 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = unwrap_des3 (minor_status, ctx, context,
context 425 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = _gssapi_unwrap_arcfour (minor_status, ctx, context,
context 430 source4/heimdal/lib/gssapi/krb5/unwrap.c ret = _gssapi_unwrap_cfx (minor_status, ctx, context,
context 435 source4/heimdal/lib/gssapi/krb5/unwrap.c krb5_free_keyblock (context, key);
context 42 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_context context,
context 135 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_context context,
context 169 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = krb5_crypto_init(context, key,
context 184 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = krb5_decrypt_ivec (context,
context 190 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 200 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 218 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 226 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 236 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 249 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = krb5_verify_checksum (context, crypto,
context 255 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 262 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_crypto_destroy (context, crypto);
context 270 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_context context,
context 282 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = _gsskrb5i_get_token_key(context_handle, context, &key);
context 289 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_enctype_to_keytype (context, key->keytype, &keytype);
context 292 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = verify_mic_des (minor_status, context_handle, context,
context 297 source4/heimdal/lib/gssapi/krb5/verify_mic.c ret = verify_mic_des3 (minor_status, context_handle, context,
context 304 source4/heimdal/lib/gssapi/krb5/verify_mic.c context,
context 310 source4/heimdal/lib/gssapi/krb5/verify_mic.c context,
context 315 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_free_keyblock (context, key);
context 329 source4/heimdal/lib/gssapi/krb5/verify_mic.c krb5_context context;
context 332 source4/heimdal/lib/gssapi/krb5/verify_mic.c GSSAPI_KRB5_INIT (&context);
context 339 source4/heimdal/lib/gssapi/krb5/verify_mic.c context,
context 44 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context,
context 51 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_auth_con_getlocalsubkey(context,
context 55 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_auth_con_getremotesubkey(context,
context 60 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_auth_con_getkey(context,
context 64 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_set_error_message(context, 0, "No initiator subkey available");
context 72 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context,
context 79 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_auth_con_getremotesubkey(context,
context 83 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_auth_con_getlocalsubkey(context,
context 88 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_set_error_message(context, 0, "No acceptor subkey available");
context 96 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context,
context 99 source4/heimdal/lib/gssapi/krb5/wrap.c _gsskrb5i_get_acceptor_subkey(ctx, context, key);
context 106 source4/heimdal/lib/gssapi/krb5/wrap.c _gsskrb5i_get_initiator_subkey(ctx, context, key);
context 109 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_set_error_message(context, 0, "No token key available");
context 149 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context;
context 155 source4/heimdal/lib/gssapi/krb5/wrap.c GSSAPI_KRB5_INIT (&context);
context 158 source4/heimdal/lib/gssapi/krb5/wrap.c ret = _gsskrb5i_get_token_key(ctx, context, &key);
context 164 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_enctype_to_keytype (context, key->keytype, &keytype);
context 172 source4/heimdal/lib/gssapi/krb5/wrap.c ret = _gssapi_wrap_size_arcfour(minor_status, ctx, context,
context 180 source4/heimdal/lib/gssapi/krb5/wrap.c ret = _gssapi_wrap_size_cfx(minor_status, ctx, context,
context 185 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_free_keyblock (context, key);
context 194 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context,
context 278 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_auth_con_getlocalseqnumber (context,
context 295 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_auth_con_setlocalseqnumber (context,
context 330 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context,
context 396 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 405 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_create_checksum (context,
context 412 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto_destroy (context, crypto);
context 429 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_auth_con_getlocalseqnumber (context,
context 442 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_crypto_init(context, key, ETYPE_DES3_CBC_NONE,
context 456 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_encrypt_ivec (context,
context 462 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto_destroy (context, crypto);
context 476 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_auth_con_setlocalseqnumber (context,
context 487 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_crypto_init(context, key,
context 496 source4/heimdal/lib/gssapi/krb5/wrap.c ret = krb5_encrypt(context, crypto, KRB5_KU_USAGE_SEAL,
context 498 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_crypto_destroy(context, crypto);
context 527 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_context context;
context 533 source4/heimdal/lib/gssapi/krb5/wrap.c GSSAPI_KRB5_INIT (&context);
context 536 source4/heimdal/lib/gssapi/krb5/wrap.c ret = _gsskrb5i_get_token_key(ctx, context, &key);
context 542 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_enctype_to_keytype (context, key->keytype, &keytype);
context 546 source4/heimdal/lib/gssapi/krb5/wrap.c ret = wrap_des (minor_status, ctx, context, conf_req_flag,
context 551 source4/heimdal/lib/gssapi/krb5/wrap.c ret = wrap_des3 (minor_status, ctx, context, conf_req_flag,
context 557 source4/heimdal/lib/gssapi/krb5/wrap.c ret = _gssapi_wrap_arcfour (minor_status, ctx, context, conf_req_flag,
context 562 source4/heimdal/lib/gssapi/krb5/wrap.c ret = _gssapi_wrap_cfx (minor_status, ctx, context, conf_req_flag,
context 567 source4/heimdal/lib/gssapi/krb5/wrap.c krb5_free_keyblock (context, key);
context 42 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_context context;
context 61 source4/heimdal/lib/gssapi/mech/gss_krb5.c kret = krb5_init_context(&context);
context 76 source4/heimdal/lib/gssapi/mech/gss_krb5.c kret = krb5_cc_resolve(context, str, &id);
context 83 source4/heimdal/lib/gssapi/mech/gss_krb5.c kret = krb5_cc_copy_cache(context, id, out);
context 84 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_cc_close(context, id);
context 85 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_context(context);
context 103 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_context context;
context 111 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_init_context(&context);
context 125 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_cc_get_full_name(context, id, &str);
context 139 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_unparse_name(context, keytab_principal, &str);
context 154 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_kt_get_full_name(context, keytab, &str);
context 185 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_context(context);
context 269 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_context context = NULL;
context 299 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_init_context(&context);
context 359 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_keyblock_contents(context, &key);
context 371 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_keyblock_contents(context, &key);
context 378 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_keyblock_contents(context, &key);
context 392 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (context)
context 393 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_context(context);
context 714 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_context context = NULL;
context 722 source4/heimdal/lib/gssapi/mech/gss_krb5.c ret = krb5_init_context(&context);
context 762 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_keyblock(context, *keyblock);
context 765 source4/heimdal/lib/gssapi/mech/gss_krb5.c if (context)
context 766 source4/heimdal/lib/gssapi/mech/gss_krb5.c krb5_free_context(context);
context 41 source4/heimdal/lib/gssapi/mech/gss_pseudo_random.c gss_ctx_id_t context,
context 47 source4/heimdal/lib/gssapi/mech/gss_pseudo_random.c struct _gss_context *ctx = (struct _gss_context *) context;
context 76 source4/heimdal/lib/gssapi/spnego/context_stubs.c gss_ctx_id_t context ;
context 83 source4/heimdal/lib/gssapi/spnego/context_stubs.c context = context_handle;
context 99 source4/heimdal/lib/gssapi/spnego/context_stubs.c &context,
context 532 source4/heimdal/lib/gssapi/spnego/context_stubs.c gss_ctx_id_t context;
context 535 source4/heimdal/lib/gssapi/spnego/context_stubs.c ret = _gss_spnego_alloc_sec_context(minor_status, &context);
context 539 source4/heimdal/lib/gssapi/spnego/context_stubs.c ctx = (gssspnego_ctx)context;
context 204 source4/heimdal/lib/gssapi/spnego/init_sec_context.c gss_ctx_id_t context;
context 217 source4/heimdal/lib/gssapi/spnego/init_sec_context.c sub = _gss_spnego_alloc_sec_context(&minor, &context);
context 222 source4/heimdal/lib/gssapi/spnego/init_sec_context.c ctx = (gssspnego_ctx)context;
context 231 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 244 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 274 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 285 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 295 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 312 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 339 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 359 source4/heimdal/lib/gssapi/spnego/init_sec_context.c _gss_spnego_internal_delete_sec_context(&minor, &context, GSS_C_NO_BUFFER);
context 372 source4/heimdal/lib/gssapi/spnego/init_sec_context.c *context_handle = context;
context 47 source4/heimdal/lib/hdb/db.c DB_close(krb5_context context, HDB *db)
context 55 source4/heimdal/lib/hdb/db.c DB_destroy(krb5_context context, HDB *db)
context 59 source4/heimdal/lib/hdb/db.c ret = hdb_clear_master_key (context, db);
context 66 source4/heimdal/lib/hdb/db.c DB_lock(krb5_context context, HDB *db, int operation)
context 71 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, HDB_ERR_CANT_LOCK_DB,
context 79 source4/heimdal/lib/hdb/db.c DB_unlock(krb5_context context, HDB *db)
context 84 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, HDB_ERR_CANT_LOCK_DB,
context 93 source4/heimdal/lib/hdb/db.c DB_seq(krb5_context context, HDB *db,
context 101 source4/heimdal/lib/hdb/db.c code = db->hdb_lock(context, db, HDB_RLOCK);
context 103 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, HDB_ERR_DB_INUSE, "Database %s in use", db->hdb_name);
context 107 source4/heimdal/lib/hdb/db.c db->hdb_unlock(context, db); /* XXX check value */
context 110 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, code, "Database %s seq error: %s",
context 115 source4/heimdal/lib/hdb/db.c krb5_clear_error_message(context);
context 124 source4/heimdal/lib/hdb/db.c if (hdb_value2entry(context, &data, &entry->entry))
context 125 source4/heimdal/lib/hdb/db.c return DB_seq(context, db, flags, entry, R_NEXT);
context 127 source4/heimdal/lib/hdb/db.c code = hdb_unseal_keys (context, db, &entry->entry);
context 129 source4/heimdal/lib/hdb/db.c hdb_free_entry (context, entry);
context 135 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, code, "malloc: out of memory");
context 136 source4/heimdal/lib/hdb/db.c hdb_free_entry (context, entry);
context 138 source4/heimdal/lib/hdb/db.c hdb_key2principal(context, &key_data, entry->entry.principal);
context 146 source4/heimdal/lib/hdb/db.c DB_firstkey(krb5_context context, HDB *db, unsigned flags, hdb_entry_ex *entry)
context 148 source4/heimdal/lib/hdb/db.c return DB_seq(context, db, flags, entry, R_FIRST);
context 153 source4/heimdal/lib/hdb/db.c DB_nextkey(krb5_context context, HDB *db, unsigned flags, hdb_entry_ex *entry)
context 155 source4/heimdal/lib/hdb/db.c return DB_seq(context, db, flags, entry, R_NEXT);
context 159 source4/heimdal/lib/hdb/db.c DB_rename(krb5_context context, HDB *db, const char *new_name)
context 178 source4/heimdal/lib/hdb/db.c DB__get(krb5_context context, HDB *db, krb5_data key, krb5_data *reply)
context 186 source4/heimdal/lib/hdb/db.c code = db->hdb_lock(context, db, HDB_RLOCK);
context 190 source4/heimdal/lib/hdb/db.c db->hdb_unlock(context, db);
context 193 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, code, "Database %s get error: %s",
context 198 source4/heimdal/lib/hdb/db.c krb5_clear_error_message(context);
context 207 source4/heimdal/lib/hdb/db.c DB__put(krb5_context context, HDB *db, int replace,
context 218 source4/heimdal/lib/hdb/db.c code = db->hdb_lock(context, db, HDB_WLOCK);
context 222 source4/heimdal/lib/hdb/db.c db->hdb_unlock(context, db);
context 225 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, code, "Database %s put error: %s",
context 230 source4/heimdal/lib/hdb/db.c krb5_clear_error_message(context);
context 237 source4/heimdal/lib/hdb/db.c DB__del(krb5_context context, HDB *db, krb5_data key)
context 244 source4/heimdal/lib/hdb/db.c code = db->hdb_lock(context, db, HDB_WLOCK);
context 248 source4/heimdal/lib/hdb/db.c db->hdb_unlock(context, db);
context 251 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, code, "Database %s put error: %s",
context 261 source4/heimdal/lib/hdb/db.c DB_open(krb5_context context, HDB *db, int flags, mode_t mode)
context 268 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 278 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, ret, "dbopen (%s): %s",
context 283 source4/heimdal/lib/hdb/db.c ret = hdb_check_db_format(context, db);
context 285 source4/heimdal/lib/hdb/db.c ret = hdb_init_db(context, db);
context 287 source4/heimdal/lib/hdb/db.c krb5_clear_error_message(context);
context 291 source4/heimdal/lib/hdb/db.c DB_close(context, db);
context 292 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, ret, "hdb_open: failed %s database %s",
context 301 source4/heimdal/lib/hdb/db.c hdb_db_create(krb5_context context, HDB **db,
context 306 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 315 source4/heimdal/lib/hdb/db.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 50 source4/heimdal/lib/hdb/dbinfo.c get_dbinfo(krb5_context context,
context 60 source4/heimdal/lib/hdb/dbinfo.c p = krb5_config_get_string(context, db_binding, "dbname", NULL);
context 66 source4/heimdal/lib/hdb/dbinfo.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 72 source4/heimdal/lib/hdb/dbinfo.c p = krb5_config_get_string(context, db_binding, "realm", NULL);
context 75 source4/heimdal/lib/hdb/dbinfo.c p = krb5_config_get_string(context, db_binding, "mkey_file", NULL);
context 78 source4/heimdal/lib/hdb/dbinfo.c p = krb5_config_get_string(context, db_binding, "acl_file", NULL);
context 81 source4/heimdal/lib/hdb/dbinfo.c p = krb5_config_get_string(context, db_binding, "log_file", NULL);
context 93 source4/heimdal/lib/hdb/dbinfo.c hdb_get_dbinfo(krb5_context context, struct hdb_dbinfo **dbp)
context 107 source4/heimdal/lib/hdb/dbinfo.c db_binding = krb5_config_get(context, NULL, krb5_config_list,
context 113 source4/heimdal/lib/hdb/dbinfo.c ret = get_dbinfo(context, db_binding, "default", &di);
context 124 source4/heimdal/lib/hdb/dbinfo.c ret = get_dbinfo(context, db_binding->u.list,
context 127 source4/heimdal/lib/hdb/dbinfo.c krb5_err(context, 1, ret, "failed getting realm");
context 183 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_label(krb5_context context, struct hdb_dbinfo *dbp)
context 189 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_realm(krb5_context context, struct hdb_dbinfo *dbp)
context 195 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_dbname(krb5_context context, struct hdb_dbinfo *dbp)
context 201 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_mkey_file(krb5_context context, struct hdb_dbinfo *dbp)
context 207 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_acl_file(krb5_context context, struct hdb_dbinfo *dbp)
context 213 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_log_file(krb5_context context, struct hdb_dbinfo *dbp)
context 219 source4/heimdal/lib/hdb/dbinfo.c hdb_dbinfo_get_binding(krb5_context context, struct hdb_dbinfo *dbp)
context 225 source4/heimdal/lib/hdb/dbinfo.c hdb_free_dbinfo(krb5_context context, struct hdb_dbinfo **dbp)
context 249 source4/heimdal/lib/hdb/dbinfo.c hdb_db_dir(krb5_context context)
context 263 source4/heimdal/lib/hdb/dbinfo.c hdb_default_db(krb5_context context)
context 40 source4/heimdal/lib/hdb/ext.c hdb_entry_check_mandatory(krb5_context context, const hdb_entry *ent)
context 56 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, HDB_ERR_MANDATORY_OPTION,
context 86 source4/heimdal/lib/hdb/ext.c hdb_replace_extension(krb5_context context,
context 99 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 124 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ret, "hdb: failed to decode "
context 140 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ret, "hdb: failed to decode "
context 157 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ret, "hdb: failed to copy replacement "
context 165 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 175 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ret, "hdb: failed to copy new extension");
context 181 source4/heimdal/lib/hdb/ext.c hdb_clear_extension(krb5_context context,
context 252 source4/heimdal/lib/hdb/ext.c hdb_entry_set_pw_change_time(krb5_context context,
context 264 source4/heimdal/lib/hdb/ext.c return hdb_replace_extension(context, entry, &ext);
context 268 source4/heimdal/lib/hdb/ext.c hdb_entry_get_password(krb5_context context, HDB *db,
context 287 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, HDB_ERR_NO_MKEY,
context 293 source4/heimdal/lib/hdb/ext.c ret = _hdb_mkey_decrypt(context, key, HDB_KU_MKEY,
context 301 source4/heimdal/lib/hdb/ext.c krb5_clear_error_message(context);
context 307 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, EINVAL, "password malformated");
context 315 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 321 source4/heimdal/lib/hdb/ext.c ret = krb5_unparse_name(context, entry->principal, &str);
context 323 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ENOENT, "no password attributefor %s", str);
context 326 source4/heimdal/lib/hdb/ext.c krb5_clear_error_message(context);
context 332 source4/heimdal/lib/hdb/ext.c hdb_entry_set_password(krb5_context context, HDB *db,
context 346 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, HDB_ERR_NO_MKEY,
context 352 source4/heimdal/lib/hdb/ext.c ret = _hdb_mkey_encrypt(context, key, HDB_KU_MKEY,
context 362 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 373 source4/heimdal/lib/hdb/ext.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 379 source4/heimdal/lib/hdb/ext.c ret = hdb_replace_extension(context, entry, &ext);
context 387 source4/heimdal/lib/hdb/ext.c hdb_entry_clear_password(krb5_context context, hdb_entry *entry)
context 389 source4/heimdal/lib/hdb/ext.c return hdb_clear_extension(context, entry,
context 69 source4/heimdal/lib/hdb/hdb.c hdb_next_enctype2key(krb5_context context,
context 85 source4/heimdal/lib/hdb/hdb.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 92 source4/heimdal/lib/hdb/hdb.c hdb_enctype2key(krb5_context context,
context 98 source4/heimdal/lib/hdb/hdb.c return hdb_next_enctype2key(context, e, enctype, key);
context 141 source4/heimdal/lib/hdb/hdb.c hdb_free_entry(krb5_context context, hdb_entry_ex *ent)
context 146 source4/heimdal/lib/hdb/hdb.c (*ent->free_entry)(context, ent);
context 157 source4/heimdal/lib/hdb/hdb.c hdb_foreach(krb5_context context,
context 165 source4/heimdal/lib/hdb/hdb.c ret = db->hdb_firstkey(context, db, flags, &entry);
context 167 source4/heimdal/lib/hdb/hdb.c krb5_clear_error_message(context);
context 169 source4/heimdal/lib/hdb/hdb.c ret = (*func)(context, db, &entry, data);
context 170 source4/heimdal/lib/hdb/hdb.c hdb_free_entry(context, &entry);
context 172 source4/heimdal/lib/hdb/hdb.c ret = db->hdb_nextkey(context, db, flags, &entry);
context 180 source4/heimdal/lib/hdb/hdb.c hdb_check_db_format(krb5_context context, HDB *db)
context 188 source4/heimdal/lib/hdb/hdb.c ret = db->hdb_lock(context, db, HDB_RLOCK);
context 194 source4/heimdal/lib/hdb/hdb.c ret = (*db->hdb__get)(context, db, tag, &version);
context 195 source4/heimdal/lib/hdb/hdb.c ret2 = db->hdb_unlock(context, db);
context 210 source4/heimdal/lib/hdb/hdb.c hdb_init_db(krb5_context context, HDB *db)
context 217 source4/heimdal/lib/hdb/hdb.c ret = hdb_check_db_format(context, db);
context 221 source4/heimdal/lib/hdb/hdb.c ret = db->hdb_lock(context, db, HDB_WLOCK);
context 230 source4/heimdal/lib/hdb/hdb.c ret = (*db->hdb__put)(context, db, 0, tag, version);
context 231 source4/heimdal/lib/hdb/hdb.c ret2 = db->hdb_unlock(context, db);
context 234 source4/heimdal/lib/hdb/hdb.c krb5_clear_error_message(context);
context 248 source4/heimdal/lib/hdb/hdb.c find_dynamic_method (krb5_context context,
context 270 source4/heimdal/lib/hdb/hdb.c krb5_errx(context, 1, "out of memory");
context 273 source4/heimdal/lib/hdb/hdb.c krb5_errx(context, 1, "out of memory");
context 284 source4/heimdal/lib/hdb/hdb.c krb5_warnx(context, "error trying to load dynamic module %s: %s\n",
context 292 source4/heimdal/lib/hdb/hdb.c krb5_errx(context, 1, "out of memory");
context 296 source4/heimdal/lib/hdb/hdb.c krb5_warnx(context, "error finding symbol %s in %s: %s\n",
context 308 source4/heimdal/lib/hdb/hdb.c krb5_warnx(context,
context 318 source4/heimdal/lib/hdb/hdb.c krb5_errx(context, 1,
context 364 source4/heimdal/lib/hdb/hdb.c hdb_list_builtin(krb5_context context, char **list)
context 379 source4/heimdal/lib/hdb/hdb.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 394 source4/heimdal/lib/hdb/hdb.c hdb_create(krb5_context context, HDB **db, const char *filename)
context 403 source4/heimdal/lib/hdb/hdb.c krb5_add_et_list(context, initialize_hdb_error_table_r);
context 407 source4/heimdal/lib/hdb/hdb.c ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA, "hdb", &list);
context 426 source4/heimdal/lib/hdb/hdb.c h = find_dynamic_method (context, filename, &residual);
context 429 source4/heimdal/lib/hdb/hdb.c krb5_errx(context, 1, "No database support for %s", filename);
context 430 source4/heimdal/lib/hdb/hdb.c return (*h->create)(context, db, residual);
context 43 source4/heimdal/lib/hdb/keys.c hdb_free_keys (krb5_context context, int len, Key *keys)
context 55 source4/heimdal/lib/hdb/keys.c krb5_free_keyblock_contents(context, &keys[i].key);
context 84 source4/heimdal/lib/hdb/keys.c parse_key_set(krb5_context context, const char *key,
context 122 source4/heimdal/lib/hdb/keys.c ret = krb5_string_to_enctype(context, buf[i], &e);
context 158 source4/heimdal/lib/hdb/keys.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 166 source4/heimdal/lib/hdb/keys.c krb5_set_error_message(context, EINVAL, "bad value for default_keys `%s'", key);
context 173 source4/heimdal/lib/hdb/keys.c ret = krb5_get_pw_salt(context, principal, salt);
context 175 source4/heimdal/lib/hdb/keys.c krb5_realm *realm = krb5_princ_realm(context, principal);
context 178 source4/heimdal/lib/hdb/keys.c krb5_set_error_message(context, ENOMEM,
context 190 source4/heimdal/lib/hdb/keys.c krb5_free_salt(context, *salt);
context 191 source4/heimdal/lib/hdb/keys.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 254 source4/heimdal/lib/hdb/keys.c hdb_generate_key_set(krb5_context context, krb5_principal principal,
context 269 source4/heimdal/lib/hdb/keys.c ktypes = krb5_config_get_strings(context, NULL, "kadmin",
context 301 source4/heimdal/lib/hdb/keys.c ret = parse_key_set(context, p,
context 304 source4/heimdal/lib/hdb/keys.c krb5_warn(context, ret, "bad value for default_keys `%s'", *kp);
context 333 source4/heimdal/lib/hdb/keys.c krb5_free_salt(context, salt);
context 339 source4/heimdal/lib/hdb/keys.c krb5_free_salt(context, salt);
context 349 source4/heimdal/lib/hdb/keys.c krb5_warn(context, ret,
context 356 source4/heimdal/lib/hdb/keys.c krb5_warnx(context,
context 366 source4/heimdal/lib/hdb/keys.c hdb_generate_key_set_password(krb5_context context,
context 374 source4/heimdal/lib/hdb/keys.c ret = hdb_generate_key_set(context, principal,
context 386 source4/heimdal/lib/hdb/keys.c ret = krb5_string_to_key_salt (context,
context 397 source4/heimdal/lib/hdb/keys.c hdb_free_keys (context, *num_keys, *keys);
context 51 source4/heimdal/lib/hdb/keytab.c hdb_resolve(krb5_context context, const char *name, krb5_keytab id)
context 58 source4/heimdal/lib/hdb/keytab.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 70 source4/heimdal/lib/hdb/keytab.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 82 source4/heimdal/lib/hdb/keytab.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 92 source4/heimdal/lib/hdb/keytab.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 101 source4/heimdal/lib/hdb/keytab.c hdb_close(krb5_context context, krb5_keytab id)
context 112 source4/heimdal/lib/hdb/keytab.c hdb_get_name(krb5_context context,
context 127 source4/heimdal/lib/hdb/keytab.c set_config (krb5_context context,
context 132 source4/heimdal/lib/hdb/keytab.c *dbname = krb5_config_get_string(context, binding, "dbname", NULL);
context 133 source4/heimdal/lib/hdb/keytab.c *mkey = krb5_config_get_string(context, binding, "mkey_file", NULL);
context 142 source4/heimdal/lib/hdb/keytab.c find_db (krb5_context context,
context 150 source4/heimdal/lib/hdb/keytab.c krb5_realm *prealm = krb5_princ_realm(context, rk_UNCONST(principal));
context 155 source4/heimdal/lib/hdb/keytab.c krb5_config_get_next(context,
context 164 source4/heimdal/lib/hdb/keytab.c p = krb5_config_get_string (context, db, "realm", NULL);
context 167 source4/heimdal/lib/hdb/keytab.c krb5_warnx(context, "WARNING: more than one realm-less "
context 169 source4/heimdal/lib/hdb/keytab.c krb5_warnx(context, "WARNING: using the first encountered");
context 173 source4/heimdal/lib/hdb/keytab.c set_config (context, db, dbname, mkey);
context 178 source4/heimdal/lib/hdb/keytab.c set_config (context, default_binding, dbname, mkey);
context 189 source4/heimdal/lib/hdb/keytab.c hdb_get_entry(krb5_context context,
context 207 source4/heimdal/lib/hdb/keytab.c find_db (context, &dbname, &mkey, principal);
context 209 source4/heimdal/lib/hdb/keytab.c ret = hdb_create (context, &db, dbname);
context 212 source4/heimdal/lib/hdb/keytab.c ret = hdb_set_master_keyfile (context, db, mkey);
context 214 source4/heimdal/lib/hdb/keytab.c (*db->hdb_destroy)(context, db);
context 218 source4/heimdal/lib/hdb/keytab.c ret = (*db->hdb_open)(context, db, O_RDONLY, 0);
context 220 source4/heimdal/lib/hdb/keytab.c (*db->hdb_destroy)(context, db);
context 223 source4/heimdal/lib/hdb/keytab.c ret = (*db->hdb_fetch)(context, db, principal,
context 235 source4/heimdal/lib/hdb/keytab.c hdb_free_entry(context, &ent);
context 245 source4/heimdal/lib/hdb/keytab.c krb5_copy_principal(context, principal, &entry->principal);
context 247 source4/heimdal/lib/hdb/keytab.c krb5_copy_keyblock_contents(context,
context 254 source4/heimdal/lib/hdb/keytab.c hdb_free_entry(context, &ent);
context 256 source4/heimdal/lib/hdb/keytab.c (*db->hdb_close)(context, db);
context 257 source4/heimdal/lib/hdb/keytab.c (*db->hdb_destroy)(context, db);
context 48 source4/heimdal/lib/hdb/mkey.c hdb_free_master_key(krb5_context context, hdb_master_key mkey)
context 52 source4/heimdal/lib/hdb/mkey.c krb5_kt_free_entry(context, &mkey->keytab);
context 54 source4/heimdal/lib/hdb/mkey.c krb5_crypto_destroy(context, mkey->crypto);
context 62 source4/heimdal/lib/hdb/mkey.c hdb_process_master_key(krb5_context context,
context 70 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 74 source4/heimdal/lib/hdb/mkey.c ret = krb5_parse_name(context, "K/M", &(*mkey)->keytab.principal);
context 77 source4/heimdal/lib/hdb/mkey.c ret = krb5_copy_keyblock_contents(context, key, &(*mkey)->keytab.keyblock);
context 83 source4/heimdal/lib/hdb/mkey.c ret = krb5_crypto_init(context, key, etype, &(*mkey)->crypto);
context 88 source4/heimdal/lib/hdb/mkey.c hdb_free_master_key(context, *mkey);
context 94 source4/heimdal/lib/hdb/mkey.c hdb_add_master_key(krb5_context context, krb5_keyblock *key,
context 104 source4/heimdal/lib/hdb/mkey.c ret = hdb_process_master_key(context, vno, key, 0, &p);
context 113 source4/heimdal/lib/hdb/mkey.c read_master_keytab(krb5_context context, const char *filename,
context 122 source4/heimdal/lib/hdb/mkey.c ret = krb5_kt_resolve(context, filename, &id);
context 126 source4/heimdal/lib/hdb/mkey.c ret = krb5_kt_start_seq_get(context, id, &cursor);
context 130 source4/heimdal/lib/hdb/mkey.c while(krb5_kt_next_entry(context, id, &entry, &cursor) == 0) {
context 133 source4/heimdal/lib/hdb/mkey.c krb5_kt_end_seq_get(context, id, &cursor);
context 138 source4/heimdal/lib/hdb/mkey.c ret = krb5_crypto_init(context, &p->keytab.keyblock, 0, &p->crypto);
context 142 source4/heimdal/lib/hdb/mkey.c krb5_kt_end_seq_get(context, id, &cursor);
context 144 source4/heimdal/lib/hdb/mkey.c krb5_kt_close(context, id);
context 150 source4/heimdal/lib/hdb/mkey.c read_master_mit(krb5_context context, const char *filename,
context 162 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, save_errno, "failed to open %s: %s",
context 180 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, ret, "unknown keytype in %s: %#x, expected %#x",
context 189 source4/heimdal/lib/hdb/mkey.c ret = hdb_process_master_key(context, 0, &key, 0, mkey);
context 190 source4/heimdal/lib/hdb/mkey.c krb5_free_keyblock_contents(context, &key);
context 199 source4/heimdal/lib/hdb/mkey.c read_master_encryptionkey(krb5_context context, const char *filename,
context 212 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, save_errno, "failed to open %s: %s",
context 221 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, save_errno, "error reading %s: %s",
context 239 source4/heimdal/lib/hdb/mkey.c ret = hdb_process_master_key(context, 0, &key, 0, mkey);
context 240 source4/heimdal/lib/hdb/mkey.c krb5_free_keyblock_contents(context, &key);
context 246 source4/heimdal/lib/hdb/mkey.c read_master_krb4(krb5_context context, const char *filename,
context 258 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, save_errno, "failed to open %s: %s",
context 267 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, save_errno, "error reading %s: %s",
context 272 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, HEIM_ERR_EOF,
context 284 source4/heimdal/lib/hdb/mkey.c ret = hdb_process_master_key(context, 0, &key, 0, mkey);
context 285 source4/heimdal/lib/hdb/mkey.c krb5_free_keyblock_contents(context, &key);
context 290 source4/heimdal/lib/hdb/mkey.c hdb_read_master_key(krb5_context context, const char *filename,
context 307 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, save_errno, "failed to open %s: %s",
context 314 source4/heimdal/lib/hdb/mkey.c krb5_set_error_message(context, HEIM_ERR_EOF, "end of file reading %s", filename);
context 328 source4/heimdal/lib/hdb/mkey.c ret = read_master_krb4(context, filename, mkey);
context 330 source4/heimdal/lib/hdb/mkey.c ret = read_master_encryptionkey(context, filename, mkey);
context 332 source4/heimdal/lib/hdb/mkey.c ret = read_master_keytab(context, filename, mkey);
context 334 source4/heimdal/lib/hdb/mkey.c ret = read_master_mit(context, filename, mkey);
context 340 source4/heimdal/lib/hdb/mkey.c hdb_write_master_key(krb5_context context, const char *filename,
context 350 source4/heimdal/lib/hdb/mkey.c ret = krb5_kt_resolve(context, filename, &kt);
context 355 source4/heimdal/lib/hdb/mkey.c ret = krb5_kt_add_entry(context, kt, &p->keytab);
context 358 source4/heimdal/lib/hdb/mkey.c krb5_kt_close(context, kt);
context 387 source4/heimdal/lib/hdb/mkey.c _hdb_mkey_decrypt(krb5_context context, hdb_master_key key,
context 391 source4/heimdal/lib/hdb/mkey.c return krb5_decrypt(context, key->crypto, usage,
context 396 source4/heimdal/lib/hdb/mkey.c _hdb_mkey_encrypt(krb5_context context, hdb_master_key key,
context 400 source4/heimdal/lib/hdb/mkey.c return krb5_encrypt(context, key->crypto, usage,
context 405 source4/heimdal/lib/hdb/mkey.c hdb_unseal_key_mkey(krb5_context context, Key *k, hdb_master_key mkey)
context 422 source4/heimdal/lib/hdb/mkey.c ret = _hdb_mkey_decrypt(context, key, HDB_KU_MKEY,
context 428 source4/heimdal/lib/hdb/mkey.c ret = _hdb_mkey_decrypt(context, key, 0,
context 437 source4/heimdal/lib/hdb/mkey.c ret = krb5_enctype_keysize(context, k->key.keytype, &keysize);
context 458 source4/heimdal/lib/hdb/mkey.c hdb_unseal_keys_mkey(krb5_context context, hdb_entry *ent, hdb_master_key mkey)
context 465 source4/heimdal/lib/hdb/mkey.c ret = hdb_unseal_key_mkey(context, &ent->keys.val[i], mkey);
context 473 source4/heimdal/lib/hdb/mkey.c hdb_unseal_keys(krb5_context context, HDB *db, hdb_entry *ent)
context 477 source4/heimdal/lib/hdb/mkey.c return hdb_unseal_keys_mkey(context, ent, db->hdb_master_key);
context 481 source4/heimdal/lib/hdb/mkey.c hdb_unseal_key(krb5_context context, HDB *db, Key *k)
context 485 source4/heimdal/lib/hdb/mkey.c return hdb_unseal_key_mkey(context, k, db->hdb_master_key);
context 489 source4/heimdal/lib/hdb/mkey.c hdb_seal_key_mkey(krb5_context context, Key *k, hdb_master_key mkey)
context 503 source4/heimdal/lib/hdb/mkey.c ret = _hdb_mkey_encrypt(context, key, HDB_KU_MKEY,
context 525 source4/heimdal/lib/hdb/mkey.c hdb_seal_keys_mkey(krb5_context context, hdb_entry *ent, hdb_master_key mkey)
context 531 source4/heimdal/lib/hdb/mkey.c ret = hdb_seal_key_mkey(context, &ent->keys.val[i], mkey);
context 539 source4/heimdal/lib/hdb/mkey.c hdb_seal_keys(krb5_context context, HDB *db, hdb_entry *ent)
context 544 source4/heimdal/lib/hdb/mkey.c return hdb_seal_keys_mkey(context, ent, db->hdb_master_key);
context 548 source4/heimdal/lib/hdb/mkey.c hdb_seal_key(krb5_context context, HDB *db, Key *k)
context 553 source4/heimdal/lib/hdb/mkey.c return hdb_seal_key_mkey(context, k, db->hdb_master_key);
context 557 source4/heimdal/lib/hdb/mkey.c hdb_set_master_key (krb5_context context,
context 564 source4/heimdal/lib/hdb/mkey.c ret = hdb_process_master_key(context, 0, key, 0, &mkey);
context 576 source4/heimdal/lib/hdb/mkey.c hdb_set_master_keyfile (krb5_context context,
context 583 source4/heimdal/lib/hdb/mkey.c ret = hdb_read_master_key(context, keyfile, &key);
context 587 source4/heimdal/lib/hdb/mkey.c krb5_clear_error_message(context);
context 596 source4/heimdal/lib/hdb/mkey.c hdb_clear_master_key (krb5_context context,
context 600 source4/heimdal/lib/hdb/mkey.c hdb_free_master_key(context, db->hdb_master_key);
context 54 source4/heimdal/lib/hdb/ndbm.c NDBM_destroy(krb5_context context, HDB *db)
context 58 source4/heimdal/lib/hdb/ndbm.c ret = hdb_clear_master_key (context, db);
context 65 source4/heimdal/lib/hdb/ndbm.c NDBM_lock(krb5_context context, HDB *db, int operation)
context 72 source4/heimdal/lib/hdb/ndbm.c NDBM_unlock(krb5_context context, HDB *db)
context 79 source4/heimdal/lib/hdb/ndbm.c NDBM_seq(krb5_context context, HDB *db,
context 96 source4/heimdal/lib/hdb/ndbm.c ret = db->hdb_lock(context, db, HDB_RLOCK);
context 99 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 103 source4/heimdal/lib/hdb/ndbm.c if(hdb_value2entry(context, &data, &entry->entry))
context 104 source4/heimdal/lib/hdb/ndbm.c return NDBM_seq(context, db, flags, entry, 0);
context 106 source4/heimdal/lib/hdb/ndbm.c ret = hdb_unseal_keys (context, db, &entry->entry);
context 108 source4/heimdal/lib/hdb/ndbm.c hdb_free_entry (context, entry);
context 113 source4/heimdal/lib/hdb/ndbm.c hdb_free_entry (context, entry);
context 115 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 117 source4/heimdal/lib/hdb/ndbm.c hdb_key2principal (context, &key_data, entry->entry.principal);
context 125 source4/heimdal/lib/hdb/ndbm.c NDBM_firstkey(krb5_context context, HDB *db,unsigned flags,hdb_entry_ex *entry)
context 127 source4/heimdal/lib/hdb/ndbm.c return NDBM_seq(context, db, flags, entry, 1);
context 132 source4/heimdal/lib/hdb/ndbm.c NDBM_nextkey(krb5_context context, HDB *db, unsigned flags,hdb_entry_ex *entry)
context 134 source4/heimdal/lib/hdb/ndbm.c return NDBM_seq(context, db, flags, entry, 0);
context 138 source4/heimdal/lib/hdb/ndbm.c NDBM_rename(krb5_context context, HDB *db, const char *new_name)
context 149 source4/heimdal/lib/hdb/ndbm.c ret = db->hdb_lock(context, db, HDB_WLOCK);
context 154 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 155 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 161 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 162 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ret, "open(%s): %s", new_lock,
context 170 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 186 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 191 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ret, "rename: %s", strerror(ret));
context 204 source4/heimdal/lib/hdb/ndbm.c NDBM__get(krb5_context context, HDB *db, krb5_data key, krb5_data *reply)
context 212 source4/heimdal/lib/hdb/ndbm.c code = db->hdb_lock(context, db, HDB_RLOCK);
context 216 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 225 source4/heimdal/lib/hdb/ndbm.c NDBM__put(krb5_context context, HDB *db, int replace,
context 237 source4/heimdal/lib/hdb/ndbm.c code = db->hdb_lock(context, db, HDB_WLOCK);
context 241 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 250 source4/heimdal/lib/hdb/ndbm.c NDBM__del(krb5_context context, HDB *db, krb5_data key)
context 259 source4/heimdal/lib/hdb/ndbm.c ret = db->hdb_lock(context, db, HDB_WLOCK);
context 262 source4/heimdal/lib/hdb/ndbm.c db->hdb_unlock(context, db);
context 270 source4/heimdal/lib/hdb/ndbm.c NDBM_close(krb5_context context, HDB *db)
context 280 source4/heimdal/lib/hdb/ndbm.c NDBM_open(krb5_context context, HDB *db, int flags, mode_t mode)
context 287 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 293 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 301 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ret, "dbm_open(%s): %s", db->hdb_name,
context 310 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ret, "open(%s): %s", lock_file,
context 318 source4/heimdal/lib/hdb/ndbm.c ret = hdb_check_db_format(context, db);
context 320 source4/heimdal/lib/hdb/ndbm.c ret = hdb_init_db(context, db);
context 324 source4/heimdal/lib/hdb/ndbm.c NDBM_close(context, db);
context 325 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ret, "hdb_open: failed %s database %s",
context 334 source4/heimdal/lib/hdb/ndbm.c hdb_ndbm_create(krb5_context context, HDB **db,
context 339 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 348 source4/heimdal/lib/hdb/ndbm.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 78 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_init(hx509_context context, hx509_ca_tbs *tbs)
context 137 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_notBefore(hx509_context context,
context 158 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_notAfter(hx509_context context,
context 179 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_notAfter_lifetime(hx509_context context,
context 183 source4/heimdal/lib/hx509/ca.c return hx509_ca_tbs_set_notAfter(context, tbs, time(NULL) + delta);
context 227 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_template(hx509_context context,
context 239 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret,
context 249 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret,
context 260 source4/heimdal/lib/hx509/ca.c ret = hx509_cert_get_SPKI(context, cert, &tbs->spki);
context 267 source4/heimdal/lib/hx509/ca.c ret = _hx509_cert_get_keyusage(context, cert, &ku);
context 275 source4/heimdal/lib/hx509/ca.c ret = _hx509_cert_get_eku(context, cert, &eku);
context 279 source4/heimdal/lib/hx509/ca.c ret = hx509_ca_tbs_add_eku(context, tbs, &eku.val[i]);
context 305 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_ca(hx509_context context,
context 329 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_proxy(hx509_context context,
context 351 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_domaincontroller(hx509_context context,
context 373 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_spki(hx509_context context,
context 398 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_serialnumber(hx509_context context,
context 423 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_eku(hx509_context context,
context 439 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 445 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "out of memory");
context 467 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_crl_dp_uri(hx509_context context,
context 496 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret,
context 509 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, EINVAL,
context 526 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "out of memory");
context 536 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "out of memory");
context 546 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "out of memory");
context 571 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_san_otherName(hx509_context context,
context 600 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_san_pkinit(hx509_context context,
context 624 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret,
context 636 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "malloc: out of memory");
context 645 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "malloc: out of memory");
context 651 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Missing @ in principal");
context 667 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 673 source4/heimdal/lib/hx509/ca.c ret = hx509_ca_tbs_add_san_otherName(context,
context 691 source4/heimdal/lib/hx509/ca.c add_utf8_san(hx509_context context,
context 706 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 712 source4/heimdal/lib/hx509/ca.c ret = hx509_ca_tbs_add_san_otherName(context,
context 735 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_san_ms_upn(hx509_context context,
context 739 source4/heimdal/lib/hx509/ca.c return add_utf8_san(context, tbs, oid_id_pkinit_ms_san(), principal);
context 756 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_san_jid(hx509_context context,
context 760 source4/heimdal/lib/hx509/ca.c return add_utf8_san(context, tbs, oid_id_pkix_on_xmppAddr(), jid);
context 781 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_san_hostname(hx509_context context,
context 808 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_add_san_rfc822name(hx509_context context,
context 834 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_set_subject(hx509_context context,
context 840 source4/heimdal/lib/hx509/ca.c return hx509_name_copy(context, subject, &tbs->subject);
context 858 source4/heimdal/lib/hx509/ca.c hx509_ca_tbs_subject_expand(hx509_context context,
context 862 source4/heimdal/lib/hx509/ca.c return hx509_name_expand(context, tbs->subject, env);
context 866 source4/heimdal/lib/hx509/ca.c add_extension(hx509_context context,
context 881 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 889 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 894 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 899 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 908 source4/heimdal/lib/hx509/ca.c build_proxy_prefix(hx509_context context, const Name *issuer, Name *subject)
context 916 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret,
context 924 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ENOMEM,
context 929 source4/heimdal/lib/hx509/ca.c ret = _hx509_name_modify(context, subject, 1, oid_id_at_commonName(), tstr);
context 937 source4/heimdal/lib/hx509/ca.c ca_sign(hx509_context context,
context 995 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "No public key set");
context 1004 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, EINVAL, "No subject name set");
context 1008 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, EINVAL,
context 1014 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, EINVAL, "Can't be proxy and CA "
context 1020 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, EINVAL,
context 1031 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1039 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1047 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1057 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Failed to copy sigature alg");
context 1066 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Failed to copy issuer name");
context 1076 source4/heimdal/lib/hx509/ca.c ret = build_proxy_prefix(context, &tbsc->issuer, &tbsc->subject);
context 1082 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret,
context 1090 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Failed to copy spki");
context 1099 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1112 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 0,
context 1126 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1131 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 1,
context 1143 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1148 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 0,
context 1160 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1165 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 0,
context 1178 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1183 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 0,
context 1211 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1216 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 0,
context 1243 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1249 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, tbs->flags.ca,
context 1268 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1278 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1286 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1291 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, 0,
context 1304 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1309 source4/heimdal/lib/hx509/ca.c ret = add_extension(context, tbsc, FALSE,
context 1319 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "malloc out of memory");
context 1325 source4/heimdal/lib/hx509/ca.c ret = _hx509_create_signature_bitstring(context,
context 1335 source4/heimdal/lib/hx509/ca.c ret = hx509_cert_init(context, &c, certificate);
context 1349 source4/heimdal/lib/hx509/ca.c get_AuthorityKeyIdentifier(hx509_context context,
context 1362 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1368 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1384 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1391 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1404 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1416 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1427 source4/heimdal/lib/hx509/ca.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 1463 source4/heimdal/lib/hx509/ca.c hx509_ca_sign(hx509_context context,
context 1476 source4/heimdal/lib/hx509/ca.c ret = get_AuthorityKeyIdentifier(context, signer_cert, &ai);
context 1480 source4/heimdal/lib/hx509/ca.c ret = ca_sign(context,
context 1507 source4/heimdal/lib/hx509/ca.c hx509_ca_sign_self(hx509_context context,
context 1512 source4/heimdal/lib/hx509/ca.c return ca_sign(context,
context 109 source4/heimdal/lib/hx509/cert.c hx509_context_init(hx509_context *context)
context 111 source4/heimdal/lib/hx509/cert.c *context = calloc(1, sizeof(**context));
context 112 source4/heimdal/lib/hx509/cert.c if (*context == NULL)
context 115 source4/heimdal/lib/hx509/cert.c _hx509_ks_null_register(*context);
context 116 source4/heimdal/lib/hx509/cert.c _hx509_ks_mem_register(*context);
context 117 source4/heimdal/lib/hx509/cert.c _hx509_ks_file_register(*context);
context 118 source4/heimdal/lib/hx509/cert.c _hx509_ks_pkcs12_register(*context);
context 119 source4/heimdal/lib/hx509/cert.c _hx509_ks_pkcs11_register(*context);
context 120 source4/heimdal/lib/hx509/cert.c _hx509_ks_dir_register(*context);
context 121 source4/heimdal/lib/hx509/cert.c _hx509_ks_keychain_register(*context);
context 126 source4/heimdal/lib/hx509/cert.c (*context)->ocsp_time_diff = HX509_DEFAULT_OCSP_TIME_DIFF;
context 128 source4/heimdal/lib/hx509/cert.c initialize_hx_error_table_r(&(*context)->et_list);
context 129 source4/heimdal/lib/hx509/cert.c initialize_asn1_error_table_r(&(*context)->et_list);
context 132 source4/heimdal/lib/hx509/cert.c (void)hx509_certs_init(*context, HX509_DEFAULT_ANCHORS, 0,
context 133 source4/heimdal/lib/hx509/cert.c NULL, &(*context)->default_trust_anchors);
context 153 source4/heimdal/lib/hx509/cert.c hx509_context_set_missing_revoke(hx509_context context, int flag)
context 156 source4/heimdal/lib/hx509/cert.c context->flags |= HX509_CTX_VERIFY_MISSING_OK;
context 158 source4/heimdal/lib/hx509/cert.c context->flags &= ~HX509_CTX_VERIFY_MISSING_OK;
context 170 source4/heimdal/lib/hx509/cert.c hx509_context_free(hx509_context *context)
context 172 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(*context);
context 173 source4/heimdal/lib/hx509/cert.c if ((*context)->ks_ops) {
context 174 source4/heimdal/lib/hx509/cert.c free((*context)->ks_ops);
context 175 source4/heimdal/lib/hx509/cert.c (*context)->ks_ops = NULL;
context 177 source4/heimdal/lib/hx509/cert.c (*context)->ks_num_ops = 0;
context 178 source4/heimdal/lib/hx509/cert.c free_error_table ((*context)->et_list);
context 179 source4/heimdal/lib/hx509/cert.c if ((*context)->querystat)
context 180 source4/heimdal/lib/hx509/cert.c free((*context)->querystat);
context 181 source4/heimdal/lib/hx509/cert.c memset(*context, 0, sizeof(**context));
context 182 source4/heimdal/lib/hx509/cert.c free(*context);
context 183 source4/heimdal/lib/hx509/cert.c *context = NULL;
context 220 source4/heimdal/lib/hx509/cert.c hx509_cert_init(hx509_context context, const Certificate *c, hx509_cert *cert)
context 271 source4/heimdal/lib/hx509/cert.c hx509_cert_init_data(hx509_context context,
context 282 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Failed to decode certificate");
context 286 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_EXTRA_DATA_AFTER_STRUCTURE,
context 291 source4/heimdal/lib/hx509/cert.c ret = hx509_cert_init(context, &t, cert);
context 397 source4/heimdal/lib/hx509/cert.c hx509_verify_init_ctx(hx509_context context, hx509_verify_ctx *ctx)
context 735 source4/heimdal/lib/hx509/cert.c hx509_cert_find_subjectAltName_otherName(hx509_context context,
context 754 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Error searching for SAN");
context 765 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 781 source4/heimdal/lib/hx509/cert.c check_key_usage(hx509_context context, const Certificate *cert,
context 796 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_KU_CERT_MISSING,
context 814 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_KU_CERT_MISSING,
context 830 source4/heimdal/lib/hx509/cert.c _hx509_check_key_usage(hx509_context context, hx509_cert cert,
context 833 source4/heimdal/lib/hx509/cert.c return check_key_usage(context, _hx509_get_cert(cert), flags, req_present);
context 839 source4/heimdal/lib/hx509/cert.c check_basic_constraints(hx509_context context, const Certificate *cert,
context 860 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_EXTENSION_NOT_FOUND,
context 983 source4/heimdal/lib/hx509/cert.c certificate_is_anchor(hx509_context context,
context 999 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_find(context, trust_anchors, &q, &c);
context 1006 source4/heimdal/lib/hx509/cert.c certificate_is_self_signed(hx509_context context,
context 1015 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 1032 source4/heimdal/lib/hx509/cert.c find_parent(hx509_context context,
context 1055 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_CERTIFICATE_MALFORMED,
context 1062 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_CERTIFICATE_MALFORMED,
context 1079 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_find(context, pool, &q, parent);
context 1088 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_find(context, trust_anchors, &q, parent);
context 1102 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1108 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1112 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_ISSUER_NOT_FOUND,
context 1125 source4/heimdal/lib/hx509/cert.c is_proxy_cert(hx509_context context,
context 1139 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1148 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1153 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1170 source4/heimdal/lib/hx509/cert.c _hx509_path_append(hx509_context context, hx509_path *path, hx509_cert cert)
context 1175 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1216 source4/heimdal/lib/hx509/cert.c _hx509_calculate_path(hx509_context context,
context 1231 source4/heimdal/lib/hx509/cert.c ret = _hx509_path_append(context, path, cert);
context 1237 source4/heimdal/lib/hx509/cert.c while (!certificate_is_anchor(context, anchors, current)) {
context 1239 source4/heimdal/lib/hx509/cert.c ret = find_parent(context, time_now, anchors, path,
context 1245 source4/heimdal/lib/hx509/cert.c ret = _hx509_path_append(context, path, parent);
context 1252 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_PATH_TOO_LONG,
context 1261 source4/heimdal/lib/hx509/cert.c certificate_is_anchor(context, anchors, path->val[path->len - 1]))
context 1381 source4/heimdal/lib/hx509/cert.c hx509_cert_get_base_subject(hx509_context context, hx509_cert c,
context 1385 source4/heimdal/lib/hx509/cert.c return hx509_name_copy(context, c->basename, name);
context 1386 source4/heimdal/lib/hx509/cert.c if (is_proxy_cert(context, c->data, NULL) == 0) {
context 1388 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 1459 source4/heimdal/lib/hx509/cert.c hx509_cert_get_SPKI(hx509_context context, hx509_cert p, SubjectPublicKeyInfo *spki)
context 1465 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Failed to copy SPKI");
context 1483 source4/heimdal/lib/hx509/cert.c hx509_cert_get_SPKI_AlgorithmIdentifier(hx509_context context,
context 1491 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 1519 source4/heimdal/lib/hx509/cert.c _hx509_cert_private_decrypt(hx509_context context,
context 1529 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_PRIVATE_KEY_MISSING,
context 1534 source4/heimdal/lib/hx509/cert.c return _hx509_private_key_private_decrypt(context,
context 1542 source4/heimdal/lib/hx509/cert.c _hx509_cert_public_encrypt(hx509_context context,
context 1548 source4/heimdal/lib/hx509/cert.c return _hx509_public_encrypt(context,
context 1581 source4/heimdal/lib/hx509/cert.c add_name_constraints(hx509_context context, const Certificate *c, int not_ca,
context 1591 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Failed getting NameConstraints");
context 1595 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Not a CA and "
context 1601 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1608 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1817 source4/heimdal/lib/hx509/cert.c check_name_constraints(hx509_context context,
context 1831 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1836 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_VERIFY_CONSTRAINTS,
context 1847 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 1851 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, HX509_VERIFY_CONSTRAINTS,
context 1888 source4/heimdal/lib/hx509/cert.c hx509_verify_path(hx509_context context,
context 1917 source4/heimdal/lib/hx509/cert.c else if (context->default_trust_anchors && ALLOW_DEF_TA(ctx))
context 1918 source4/heimdal/lib/hx509/cert.c anchors = _hx509_certs_ref(context->default_trust_anchors);
context 1920 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_init(context, "MEMORY:no-TA", 0, NULL, &anchors);
context 1929 source4/heimdal/lib/hx509/cert.c ret = _hx509_calculate_path(context, 0, ctx->time_now,
context 1966 source4/heimdal/lib/hx509/cert.c ret = check_key_usage(context, c, 1 << 5,
context 1969 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 1978 source4/heimdal/lib/hx509/cert.c ret = certificate_is_self_signed(context, c, &selfsigned);
context 1989 source4/heimdal/lib/hx509/cert.c if (is_proxy_cert(context, c, &info) == 0) {
context 1997 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 2008 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 2017 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 2033 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 2038 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 2048 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 2059 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 2071 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "Out of memory");
context 2076 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret,
context 2103 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, 0, ret, "out of memory");
context 2108 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 2116 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 2124 source4/heimdal/lib/hx509/cert.c ret = check_basic_constraints(context, c, type,
context 2138 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 2144 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 2166 source4/heimdal/lib/hx509/cert.c ret = certificate_is_self_signed(context, c, &selfsigned);
context 2172 source4/heimdal/lib/hx509/cert.c ret = check_name_constraints(context, &nc, c);
context 2177 source4/heimdal/lib/hx509/cert.c ret = add_name_constraints(context, c, i == 0, &nc);
context 2192 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_init(context, "MEMORY:revoke-certs", 0,
context 2198 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_add(context, certs, path.val[i]);
context 2204 source4/heimdal/lib/hx509/cert.c ret = hx509_certs_merge(context, certs, pool);
context 2213 source4/heimdal/lib/hx509/cert.c ret = hx509_revoke_verify(context,
context 2243 source4/heimdal/lib/hx509/cert.c ret = certificate_is_self_signed(context, signer, &selfsigned);
context 2256 source4/heimdal/lib/hx509/cert.c ret = _hx509_verify_signature_bitstring(context,
context 2262 source4/heimdal/lib/hx509/cert.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 2292 source4/heimdal/lib/hx509/cert.c hx509_verify_signature(hx509_context context,
context 2298 source4/heimdal/lib/hx509/cert.c return _hx509_verify_signature(context, signer->data, alg, data, sig);
context 2323 source4/heimdal/lib/hx509/cert.c hx509_verify_hostname(hx509_context context,
context 2399 source4/heimdal/lib/hx509/cert.c _hx509_set_cert_attribute(hx509_context context,
context 2413 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 2557 source4/heimdal/lib/hx509/cert.c hx509_query_alloc(hx509_context context, hx509_query **q)
context 2716 source4/heimdal/lib/hx509/cert.c hx509_query_match_expr(hx509_context context, hx509_query *q, const char *expr)
context 2771 source4/heimdal/lib/hx509/cert.c hx509_query_free(hx509_context context, hx509_query *q)
context 2798 source4/heimdal/lib/hx509/cert.c _hx509_query_match_cert(hx509_context context, const hx509_query *q, hx509_cert cert)
context 2803 source4/heimdal/lib/hx509/cert.c _hx509_query_statistic(context, 1, q);
context 2863 source4/heimdal/lib/hx509/cert.c if (ku && check_key_usage(context, c, ku, TRUE))
context 2906 source4/heimdal/lib/hx509/cert.c ret = _hx509_verify_signature(context,
context 2927 source4/heimdal/lib/hx509/cert.c hx509_cert_check_eku(context, cert, q->eku, 0))
context 2933 source4/heimdal/lib/hx509/cert.c ret = _hx509_cert_to_env(context, cert, &env);
context 2937 source4/heimdal/lib/hx509/cert.c ret = _hx509_expr_eval(context, env, q->expr);
context 2959 source4/heimdal/lib/hx509/cert.c hx509_query_statistic_file(hx509_context context, const char *fn)
context 2961 source4/heimdal/lib/hx509/cert.c if (context->querystat)
context 2962 source4/heimdal/lib/hx509/cert.c free(context->querystat);
context 2963 source4/heimdal/lib/hx509/cert.c context->querystat = strdup(fn);
context 2967 source4/heimdal/lib/hx509/cert.c _hx509_query_statistic(hx509_context context, int type, const hx509_query *q)
context 2970 source4/heimdal/lib/hx509/cert.c if (context->querystat == NULL)
context 2972 source4/heimdal/lib/hx509/cert.c f = fopen(context->querystat, "a");
context 3030 source4/heimdal/lib/hx509/cert.c hx509_query_unparse_stats(hx509_context context, int printtype, FILE *out)
context 3038 source4/heimdal/lib/hx509/cert.c if (context->querystat == NULL)
context 3040 source4/heimdal/lib/hx509/cert.c f = fopen(context->querystat, "r");
context 3043 source4/heimdal/lib/hx509/cert.c context->querystat, strerror(errno));
context 3118 source4/heimdal/lib/hx509/cert.c hx509_cert_check_eku(hx509_context context, hx509_cert cert,
context 3126 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 3145 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 3150 source4/heimdal/lib/hx509/cert.c _hx509_cert_get_keyusage(hx509_context context,
context 3177 source4/heimdal/lib/hx509/cert.c _hx509_cert_get_eku(hx509_context context,
context 3187 source4/heimdal/lib/hx509/cert.c hx509_clear_error_string(context);
context 3207 source4/heimdal/lib/hx509/cert.c hx509_cert_binary(hx509_context context, hx509_cert c, heim_octet_string *os)
context 3267 source4/heimdal/lib/hx509/cert.c _hx509_cert_to_env(hx509_context context, hx509_cert cert, hx509_env *env)
context 3279 source4/heimdal/lib/hx509/cert.c ret = hx509_env_add(context, &envcert, "version", buf);
context 3295 source4/heimdal/lib/hx509/cert.c ret = hx509_env_add(context, &envcert, "subject", buf);
context 3310 source4/heimdal/lib/hx509/cert.c ret = hx509_env_add(context, &envcert, "issuer", buf);
context 3317 source4/heimdal/lib/hx509/cert.c ret = _hx509_cert_get_eku(context, cert, &eku);
context 3334 source4/heimdal/lib/hx509/cert.c ret = hx509_env_add(context, &enveku, buf, "oid-name-here");
context 3344 source4/heimdal/lib/hx509/cert.c ret = hx509_env_add_binding(context, &envcert, "eku", enveku);
context 3351 source4/heimdal/lib/hx509/cert.c ret = hx509_env_add_binding(context, env, "certificate", envcert);
context 209 source4/heimdal/lib/hx509/cms.c unparse_CMSIdentifier(hx509_context context,
context 260 source4/heimdal/lib/hx509/cms.c find_CMSIdentifier(hx509_context context,
context 288 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, HX509_CMS_NO_RECIPIENT_CERTIFICATE,
context 301 source4/heimdal/lib/hx509/cms.c ret = hx509_certs_find(context, certs, &q, &cert);
context 305 source4/heimdal/lib/hx509/cms.c ret = unparse_CMSIdentifier(context, client, &str);
context 307 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0,
context 311 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 314 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, HX509_ERROR_APPEND,
context 348 source4/heimdal/lib/hx509/cms.c hx509_cms_unenvelope(hx509_context context,
context 380 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 387 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 396 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 403 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 416 source4/heimdal/lib/hx509/cms.c ret = find_CMSIdentifier(context, &ri->rid, certs,
context 424 source4/heimdal/lib/hx509/cms.c ret = _hx509_cert_private_decrypt(context,
context 433 source4/heimdal/lib/hx509/cms.c ret2 = unparse_CMSIdentifier(context, &ri->rid, &str);
context 435 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 443 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 450 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 457 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 473 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_init(context, NULL, &ai->algorithm, &crypto);
context 478 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_set_params(context, crypto, params, &ivec);
context 488 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 501 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 545 source4/heimdal/lib/hx509/cms.c hx509_cms_envelope_1(hx509_context context,
context 570 source4/heimdal/lib/hx509/cms.c ret = _hx509_check_key_usage(context, cert, 1 << 2, TRUE);
context 574 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_init(context, NULL, encryption_type, &crypto);
context 580 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 587 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 598 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 608 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 616 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 622 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_get_params(context,
context 634 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 645 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 651 source4/heimdal/lib/hx509/cms.c ret = _hx509_cert_public_encrypt(context,
context 656 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 671 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 682 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 702 source4/heimdal/lib/hx509/cms.c any_to_certs(hx509_context context, const SignedData *sd, hx509_certs certs)
context 712 source4/heimdal/lib/hx509/cms.c ret = hx509_cert_init_data(context,
context 718 source4/heimdal/lib/hx509/cms.c ret = hx509_certs_add(context, certs, c);
context 756 source4/heimdal/lib/hx509/cms.c hx509_cms_verify_signed(hx509_context context,
context 783 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 790 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 796 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 803 source4/heimdal/lib/hx509/cms.c ret = hx509_certs_init(context, "MEMORY:cms-cert-buffer",
context 808 source4/heimdal/lib/hx509/cms.c ret = hx509_certs_init(context, "MEMORY:cms-signer-certs",
context 815 source4/heimdal/lib/hx509/cms.c ret = any_to_certs(context, &sd, certs);
context 820 source4/heimdal/lib/hx509/cms.c ret = hx509_certs_merge(context, certs, pool);
context 835 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 841 source4/heimdal/lib/hx509/cms.c ret = find_CMSIdentifier(context, &signer_info->sid, certs,
context 860 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 868 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 879 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 885 source4/heimdal/lib/hx509/cms.c ret = _hx509_verify_signature(context,
context 892 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 907 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 917 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 930 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 943 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 956 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 963 source4/heimdal/lib/hx509/cms.c ret = hx509_verify_signature(context,
context 969 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 980 source4/heimdal/lib/hx509/cms.c ret = hx509_verify_path(context, ctx, cert, certs);
context 984 source4/heimdal/lib/hx509/cms.c ret = hx509_certs_add(context, *signer_certs, cert);
context 998 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 1006 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1012 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1089 source4/heimdal/lib/hx509/cms.c hx509_cms_create_signed_1(hx509_context context,
context 1122 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, HX509_PRIVATE_KEY_MISSING,
context 1128 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_select(context, HX509_SELECT_DIGEST,
context 1133 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1149 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1156 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1166 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1177 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1187 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1205 source4/heimdal/lib/hx509/cms.c ret = _hx509_create_signature(context,
context 1222 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1233 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1254 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1268 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1282 source4/heimdal/lib/hx509/cms.c ret = hx509_crypto_select(context, HX509_SELECT_PUBLIC_SIG,
context 1288 source4/heimdal/lib/hx509/cms.c ret = _hx509_create_signature(context,
context 1302 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1308 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1316 source4/heimdal/lib/hx509/cms.c _hx509_calculate_path(context,
context 1325 source4/heimdal/lib/hx509/cms.c _hx509_path_append(context, &path, cert);
context 1333 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1339 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1345 source4/heimdal/lib/hx509/cms.c ret = hx509_cert_binary(context, path.val[i],
context 1348 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1358 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1375 source4/heimdal/lib/hx509/cms.c hx509_cms_decrypt_encrypted(hx509_context context,
context 1392 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 1399 source4/heimdal/lib/hx509/cms.c hx509_set_error_string(context, 0, ret,
context 1406 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1413 source4/heimdal/lib/hx509/cms.c hx509_clear_error_string(context);
context 1417 source4/heimdal/lib/hx509/cms.c ret = _hx509_pbe_decrypt(context,
context 55 source4/heimdal/lib/hx509/collector.c _hx509_collector_alloc(hx509_context context, hx509_lock lock, struct hx509_collector **collector)
context 64 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 69 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_init(context, "MEMORY:collector-unenvelop-cert",
context 77 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_init(context, "MEMORY:collector-tmp-store",
context 97 source4/heimdal/lib/hx509/collector.c _hx509_collector_certs_add(hx509_context context,
context 101 source4/heimdal/lib/hx509/collector.c return hx509_certs_add(context, c->certs, cert);
context 115 source4/heimdal/lib/hx509/collector.c _hx509_collector_private_key_add(hx509_context context,
context 133 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, ENOMEM, "Out of memory");
context 140 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, ret, "Failed to copy "
context 147 source4/heimdal/lib/hx509/collector.c ret = _hx509_parse_private_key(context, &alg->algorithm,
context 156 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, ret,
context 174 source4/heimdal/lib/hx509/collector.c match_localkeyid(hx509_context context,
context 183 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, HX509_LOCAL_ATTRIBUTE_MISSING,
context 193 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_find(context, certs, &q, &cert);
context 204 source4/heimdal/lib/hx509/collector.c match_keys(hx509_context context, struct private_key *value, hx509_certs certs)
context 211 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, HX509_PRIVATE_KEY_MISSING,
context 216 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_start_seq(context, certs, &cursor);
context 222 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_next_cert(context, certs, cursor, &c);
context 242 source4/heimdal/lib/hx509/collector.c hx509_certs_end_seq(context, certs, cursor);
context 245 source4/heimdal/lib/hx509/collector.c hx509_clear_error_string(context);
context 251 source4/heimdal/lib/hx509/collector.c _hx509_collector_collect_certs(hx509_context context,
context 260 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_init(context, "MEMORY:collector-store", 0, NULL, &certs);
context 264 source4/heimdal/lib/hx509/collector.c ret = hx509_certs_merge(context, certs, c->certs);
context 271 source4/heimdal/lib/hx509/collector.c ret = match_localkeyid(context, c->val.data[i], certs);
context 274 source4/heimdal/lib/hx509/collector.c ret = match_keys(context, c->val.data[i], certs);
context 285 source4/heimdal/lib/hx509/collector.c _hx509_collector_collect_private_keys(hx509_context context,
context 299 source4/heimdal/lib/hx509/collector.c hx509_set_error_string(context, 0, ENOMEM, "malloc - out of memory");
context 57 source4/heimdal/lib/hx509/crypto.c int (*export)(hx509_context context,
context 71 source4/heimdal/lib/hx509/crypto.c int (*sign)(hx509_context context,
context 81 source4/heimdal/lib/hx509/crypto.c int (*unwrap)(hx509_context context,
context 122 source4/heimdal/lib/hx509/crypto.c int (*verify_signature)(hx509_context context,
context 192 source4/heimdal/lib/hx509/crypto.c rsa_verify_signature(hx509_context context,
context 214 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 221 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "Failed to decode RSAPublicKey");
context 232 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 240 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 248 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret,
context 267 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "size from decryption mismatch");
context 276 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "object identifier in RSA sig mismatch");
context 286 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "Extra parameters inside RSA signature");
context 290 source4/heimdal/lib/hx509/crypto.c ret = _hx509_verify_signature(context,
context 300 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "RSA Signature incorrect");
context 313 source4/heimdal/lib/hx509/crypto.c rsa_create_signature(hx509_context context,
context 352 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 361 source4/heimdal/lib/hx509/crypto.c ret = _hx509_create_signature(context,
context 377 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 390 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 402 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret,
context 415 source4/heimdal/lib/hx509/crypto.c rsa_private_key_import(hx509_context context,
context 425 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 435 source4/heimdal/lib/hx509/crypto.c rsa_private_key2SPKI(hx509_context context,
context 447 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "malloc - out of memory");
context 455 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "malloc - out of memory");
context 471 source4/heimdal/lib/hx509/crypto.c rsa_generate_private_key(hx509_context context,
context 484 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 502 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 512 source4/heimdal/lib/hx509/crypto.c rsa_private_key_export(hx509_context context,
context 524 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret,
context 532 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "malloc out of memory");
context 546 source4/heimdal/lib/hx509/crypto.c rsa_get_internal(hx509_context context, hx509_private_key key, const char *type)
context 574 source4/heimdal/lib/hx509/crypto.c dsa_verify_signature(hx509_context context,
context 592 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 608 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 614 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "DSA parameters missing");
context 623 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "DSA parameters failed to decode");
context 635 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 646 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "BAD DSA sigature");
context 649 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "Invalid format of DSA sigature");
context 660 source4/heimdal/lib/hx509/crypto.c dsa_parse_private_key(hx509_context context,
context 675 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 683 source4/heimdal/lib/hx509/crypto.c sha1_verify_signature(hx509_context context,
context 694 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_SIG_INVALID_FORMAT,
context 704 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_BAD_SIGNATURE,
context 713 source4/heimdal/lib/hx509/crypto.c sha256_create_signature(hx509_context context,
context 749 source4/heimdal/lib/hx509/crypto.c sha256_verify_signature(hx509_context context,
context 760 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_SIG_INVALID_FORMAT,
context 770 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_BAD_SIGNATURE,
context 779 source4/heimdal/lib/hx509/crypto.c sha1_create_signature(hx509_context context,
context 815 source4/heimdal/lib/hx509/crypto.c md5_verify_signature(hx509_context context,
context 826 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_SIG_INVALID_FORMAT,
context 836 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_BAD_SIGNATURE,
context 845 source4/heimdal/lib/hx509/crypto.c md2_verify_signature(hx509_context context,
context 856 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_SIG_INVALID_FORMAT,
context 866 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_BAD_SIGNATURE,
context 1047 source4/heimdal/lib/hx509/crypto.c _hx509_verify_signature(hx509_context context,
context 1057 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1061 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1065 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1073 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1077 source4/heimdal/lib/hx509/crypto.c return (*md->verify_signature)(context, md, signer, alg, data, sig);
context 1081 source4/heimdal/lib/hx509/crypto.c _hx509_verify_signature_bitstring(hx509_context context,
context 1090 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_SIG_INVALID_FORMAT,
context 1098 source4/heimdal/lib/hx509/crypto.c return _hx509_verify_signature(context, signer, alg, data, &os);
context 1102 source4/heimdal/lib/hx509/crypto.c _hx509_create_signature(hx509_context context,
context 1114 source4/heimdal/lib/hx509/crypto.c return (*signer->ops->sign)(context, signer, alg, data,
context 1120 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_SIG_ALG_NO_SUPPORTED,
context 1126 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_SIG_ALG_NO_SUPPORTED,
context 1131 source4/heimdal/lib/hx509/crypto.c return (*md->create_signature)(context, md, signer, alg, data,
context 1136 source4/heimdal/lib/hx509/crypto.c _hx509_create_signature_bitstring(hx509_context context,
context 1146 source4/heimdal/lib/hx509/crypto.c ret = _hx509_create_signature(context, signer, alg,
context 1156 source4/heimdal/lib/hx509/crypto.c _hx509_public_encrypt(hx509_context context,
context 1177 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1186 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "RSAPublicKey decode failure");
context 1196 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1204 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1214 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_RSA_PUBLIC_ENCRYPT,
context 1227 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1235 source4/heimdal/lib/hx509/crypto.c _hx509_private_key_private_decrypt(hx509_context context,
context 1247 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_PRIVATE_KEY_MISSING,
context 1255 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1264 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_CRYPTO_RSA_PRIVATE_DECRYPT,
context 1278 source4/heimdal/lib/hx509/crypto.c _hx509_parse_private_key(hx509_context context,
context 1291 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1297 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 1301 source4/heimdal/lib/hx509/crypto.c ret = (*ops->import)(context, data, len, *private_key);
context 1313 source4/heimdal/lib/hx509/crypto.c _hx509_private_key2SPKI(hx509_context context,
context 1319 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_UNIMPLEMENTED_OPERATION,
context 1323 source4/heimdal/lib/hx509/crypto.c return (*ops->get_spki)(context, private_key, spki);
context 1327 source4/heimdal/lib/hx509/crypto.c _hx509_generate_private_key_init(hx509_context context,
context 1334 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, EINVAL,
context 1341 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1350 source4/heimdal/lib/hx509/crypto.c _hx509_generate_private_key_is_ca(hx509_context context,
context 1358 source4/heimdal/lib/hx509/crypto.c _hx509_generate_private_key_bits(hx509_context context,
context 1375 source4/heimdal/lib/hx509/crypto.c _hx509_generate_private_key(hx509_context context,
context 1386 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1392 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "out of memory");
context 1396 source4/heimdal/lib/hx509/crypto.c ret = (*ops->generate_private_key)(context, ctx, *private_key);
context 1639 source4/heimdal/lib/hx509/crypto.c _hx509_private_key_oid(hx509_context context,
context 1646 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ret, "malloc out of memory");
context 1659 source4/heimdal/lib/hx509/crypto.c _hx509_private_key_get_internal(hx509_context context,
context 1665 source4/heimdal/lib/hx509/crypto.c return (*key->ops->get_internal)(context, key, type);
context 1669 source4/heimdal/lib/hx509/crypto.c _hx509_private_key_export(hx509_context context,
context 1674 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1677 source4/heimdal/lib/hx509/crypto.c return (*key->ops->export)(context, key, data);
context 1723 source4/heimdal/lib/hx509/crypto.c CMSCBCParam_get(hx509_context context, const hx509_crypto crypto,
context 1738 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1743 source4/heimdal/lib/hx509/crypto.c CMSCBCParam_set(hx509_context context, const heim_octet_string *param,
context 1752 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1762 source4/heimdal/lib/hx509/crypto.c CMSRC2CBCParam_get(hx509_context context, const hx509_crypto crypto,
context 1798 source4/heimdal/lib/hx509/crypto.c CMSRC2CBCParam_set(hx509_context context, const heim_octet_string *param,
context 1809 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1816 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1842 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1957 source4/heimdal/lib/hx509/crypto.c hx509_crypto_init(hx509_context context,
context 1968 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_ALG_NOT_SUPP,
context 1975 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 1985 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2065 source4/heimdal/lib/hx509/crypto.c hx509_crypto_set_params(hx509_context context,
context 2070 source4/heimdal/lib/hx509/crypto.c return (*crypto->cipher->set_params)(context, param, crypto, ivec);
context 2074 source4/heimdal/lib/hx509/crypto.c hx509_crypto_get_params(hx509_context context,
context 2079 source4/heimdal/lib/hx509/crypto.c return (*crypto->cipher->get_params)(context, crypto, ivec, param);
context 2267 source4/heimdal/lib/hx509/crypto.c PBE_string2key(hx509_context context,
context 2311 source4/heimdal/lib/hx509/crypto.c ret = hx509_crypto_init(context, NULL, enc_oid, &c);
context 2370 source4/heimdal/lib/hx509/crypto.c _hx509_pbe_encrypt(hx509_context context,
context 2376 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2385 source4/heimdal/lib/hx509/crypto.c _hx509_pbe_decrypt(hx509_context context,
context 2406 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, HX509_ALG_NOT_SUPP,
context 2416 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2424 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2442 source4/heimdal/lib/hx509/crypto.c ret = (*s2k)(context, password, ai->parameters, &crypto,
context 2542 source4/heimdal/lib/hx509/crypto.c hx509_crypto_select(const hx509_context context,
context 2565 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, EINVAL,
context 2589 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2602 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2611 source4/heimdal/lib/hx509/crypto.c hx509_clear_error_string(context);
context 2616 source4/heimdal/lib/hx509/crypto.c hx509_crypto_available(hx509_context context,
context 2636 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, EINVAL,
context 2694 source4/heimdal/lib/hx509/crypto.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 57 source4/heimdal/lib/hx509/env.c hx509_env_add(hx509_context context, hx509_env *env,
context 64 source4/heimdal/lib/hx509/env.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 108 source4/heimdal/lib/hx509/env.c hx509_env_add_binding(hx509_context context, hx509_env *env,
context 115 source4/heimdal/lib/hx509/env.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 155 source4/heimdal/lib/hx509/env.c hx509_env_lfind(hx509_context context, hx509_env env,
context 180 source4/heimdal/lib/hx509/env.c hx509_env_find(hx509_context context, hx509_env env, const char *key)
context 203 source4/heimdal/lib/hx509/env.c hx509_env_find_binding(hx509_context context,
context 69 source4/heimdal/lib/hx509/error.c hx509_clear_error_string(hx509_context context)
context 71 source4/heimdal/lib/hx509/error.c free_error_string(context->error);
context 72 source4/heimdal/lib/hx509/error.c context->error = NULL;
context 90 source4/heimdal/lib/hx509/error.c hx509_set_error_stringv(hx509_context context, int flags, int code,
context 97 source4/heimdal/lib/hx509/error.c hx509_clear_error_string(context);
context 102 source4/heimdal/lib/hx509/error.c hx509_clear_error_string(context);
context 109 source4/heimdal/lib/hx509/error.c msg->next = context->error;
context 110 source4/heimdal/lib/hx509/error.c context->error = msg;
context 112 source4/heimdal/lib/hx509/error.c free_error_string(context->error);
context 113 source4/heimdal/lib/hx509/error.c context->error = msg;
context 132 source4/heimdal/lib/hx509/error.c hx509_set_error_string(hx509_context context, int flags, int code,
context 138 source4/heimdal/lib/hx509/error.c hx509_set_error_stringv(context, flags, code, fmt, ap);
context 154 source4/heimdal/lib/hx509/error.c hx509_get_error_string(hx509_context context, int error_code)
context 157 source4/heimdal/lib/hx509/error.c hx509_error msg = context->error;
context 163 source4/heimdal/lib/hx509/error.c cstr = com_right(context->et_list, error_code);
context 174 source4/heimdal/lib/hx509/error.c for (msg = context->error; msg; msg = msg->next)
context 208 source4/heimdal/lib/hx509/error.c hx509_err(hx509_context context, int exit_code,
context 218 source4/heimdal/lib/hx509/error.c msg = hx509_get_error_string(context, error_code);
context 76 source4/heimdal/lib/hx509/file.c hx509_pem_write(hx509_context context, const char *type,
context 104 source4/heimdal/lib/hx509/file.c hx509_set_error_string(context, 0, ENOMEM,
context 184 source4/heimdal/lib/hx509/file.c hx509_pem_read(hx509_context context,
context 275 source4/heimdal/lib/hx509/file.c ret = (*func)(context, type, headers, data, len, ctx);
context 291 source4/heimdal/lib/hx509/file.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 68 source4/heimdal/lib/hx509/keyset.c _hx509_ks_type(hx509_context context, const char *type)
context 72 source4/heimdal/lib/hx509/keyset.c for (i = 0; i < context->ks_num_ops; i++)
context 73 source4/heimdal/lib/hx509/keyset.c if (strcasecmp(type, context->ks_ops[i]->name) == 0)
context 74 source4/heimdal/lib/hx509/keyset.c return context->ks_ops[i];
context 80 source4/heimdal/lib/hx509/keyset.c _hx509_ks_register(hx509_context context, struct hx509_keyset_ops *ops)
context 84 source4/heimdal/lib/hx509/keyset.c if (_hx509_ks_type(context, ops->name))
context 87 source4/heimdal/lib/hx509/keyset.c val = realloc(context->ks_ops,
context 88 source4/heimdal/lib/hx509/keyset.c (context->ks_num_ops + 1) * sizeof(context->ks_ops[0]));
context 91 source4/heimdal/lib/hx509/keyset.c val[context->ks_num_ops] = ops;
context 92 source4/heimdal/lib/hx509/keyset.c context->ks_ops = val;
context 93 source4/heimdal/lib/hx509/keyset.c context->ks_num_ops++;
context 113 source4/heimdal/lib/hx509/keyset.c hx509_certs_init(hx509_context context,
context 138 source4/heimdal/lib/hx509/keyset.c hx509_clear_error_string(context);
context 142 source4/heimdal/lib/hx509/keyset.c ops = _hx509_ks_type(context, type);
context 144 source4/heimdal/lib/hx509/keyset.c hx509_set_error_string(context, 0, ENOENT,
context 152 source4/heimdal/lib/hx509/keyset.c hx509_clear_error_string(context);
context 158 source4/heimdal/lib/hx509/keyset.c ret = (*ops->init)(context, c, &c->ops_data, flags, residue, lock);
context 184 source4/heimdal/lib/hx509/keyset.c hx509_certs_store(hx509_context context,
context 190 source4/heimdal/lib/hx509/keyset.c hx509_set_error_string(context, 0, HX509_UNSUPPORTED_OPERATION,
context 197 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->store)(context, certs, certs->ops_data, flags, lock);
context 253 source4/heimdal/lib/hx509/keyset.c hx509_certs_start_seq(hx509_context context,
context 260 source4/heimdal/lib/hx509/keyset.c hx509_set_error_string(context, 0, HX509_UNSUPPORTED_OPERATION,
context 266 source4/heimdal/lib/hx509/keyset.c ret = (*certs->ops->iter_start)(context, certs, certs->ops_data, cursor);
context 289 source4/heimdal/lib/hx509/keyset.c hx509_certs_next_cert(hx509_context context,
context 295 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->iter)(context, certs, certs->ops_data, cursor, cert);
context 311 source4/heimdal/lib/hx509/keyset.c hx509_certs_end_seq(hx509_context context,
context 315 source4/heimdal/lib/hx509/keyset.c (*certs->ops->iter_end)(context, certs, certs->ops_data, cursor);
context 336 source4/heimdal/lib/hx509/keyset.c hx509_certs_iter(hx509_context context,
context 345 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_start_seq(context, certs, &cursor);
context 350 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_next_cert(context, certs, cursor, &c);
context 357 source4/heimdal/lib/hx509/keyset.c ret = (*func)(context, ctx, c);
context 363 source4/heimdal/lib/hx509/keyset.c hx509_certs_end_seq(context, certs, cursor);
context 383 source4/heimdal/lib/hx509/keyset.c hx509_ci_print_names(hx509_context context, void *ctx, hx509_cert c)
context 420 source4/heimdal/lib/hx509/keyset.c hx509_certs_add(hx509_context context, hx509_certs certs, hx509_cert cert)
context 423 source4/heimdal/lib/hx509/keyset.c hx509_set_error_string(context, 0, ENOENT,
context 429 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->add)(context, certs, certs->ops_data, cert);
context 447 source4/heimdal/lib/hx509/keyset.c hx509_certs_find(hx509_context context,
context 458 source4/heimdal/lib/hx509/keyset.c _hx509_query_statistic(context, 0, q);
context 461 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->query)(context, certs, certs->ops_data, q, r);
context 463 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_start_seq(context, certs, &cursor);
context 469 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_next_cert(context, certs, cursor, &c);
context 474 source4/heimdal/lib/hx509/keyset.c if (_hx509_query_match_cert(context, q, c)) {
context 481 source4/heimdal/lib/hx509/keyset.c hx509_certs_end_seq(context, certs, cursor);
context 485 source4/heimdal/lib/hx509/keyset.c hx509_clear_error_string(context);
context 493 source4/heimdal/lib/hx509/keyset.c certs_merge_func(hx509_context context, void *ctx, hx509_cert c)
context 495 source4/heimdal/lib/hx509/keyset.c return hx509_certs_add(context, (hx509_certs)ctx, c);
context 512 source4/heimdal/lib/hx509/keyset.c hx509_certs_merge(hx509_context context, hx509_certs to, hx509_certs from)
context 516 source4/heimdal/lib/hx509/keyset.c return hx509_certs_iter(context, from, certs_merge_func, to);
context 535 source4/heimdal/lib/hx509/keyset.c hx509_certs_append(hx509_context context,
context 543 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_init(context, name, 0, lock, &s);
context 546 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_merge(context, to, s);
context 564 source4/heimdal/lib/hx509/keyset.c hx509_get_one_cert(hx509_context context, hx509_certs certs, hx509_cert *c)
context 571 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_start_seq(context, certs, &cursor);
context 575 source4/heimdal/lib/hx509/keyset.c ret = hx509_certs_next_cert(context, certs, cursor, c);
context 579 source4/heimdal/lib/hx509/keyset.c hx509_certs_end_seq(context, certs, cursor);
context 607 source4/heimdal/lib/hx509/keyset.c hx509_certs_info(hx509_context context,
context 621 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->printinfo)(context, certs, certs->ops_data,
context 642 source4/heimdal/lib/hx509/keyset.c _hx509_certs_keys_get(hx509_context context,
context 650 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->getkeys)(context, certs, certs->ops_data, keys);
context 654 source4/heimdal/lib/hx509/keyset.c _hx509_certs_keys_add(hx509_context context,
context 659 source4/heimdal/lib/hx509/keyset.c hx509_set_error_string(context, 0, EINVAL,
context 665 source4/heimdal/lib/hx509/keyset.c return (*certs->ops->addkey)(context, certs, certs->ops_data, key);
context 670 source4/heimdal/lib/hx509/keyset.c _hx509_certs_keys_free(hx509_context context,
context 57 source4/heimdal/lib/hx509/ks_dir.c dir_init(hx509_context context,
context 69 source4/heimdal/lib/hx509/ks_dir.c hx509_set_error_string(context, 0, ENOENT,
context 75 source4/heimdal/lib/hx509/ks_dir.c hx509_set_error_string(context, 0, ENOTDIR,
context 83 source4/heimdal/lib/hx509/ks_dir.c hx509_clear_error_string(context);
context 100 source4/heimdal/lib/hx509/ks_dir.c dir_iter_start(hx509_context context,
context 109 source4/heimdal/lib/hx509/ks_dir.c hx509_clear_error_string(context);
context 115 source4/heimdal/lib/hx509/ks_dir.c hx509_clear_error_string(context);
context 128 source4/heimdal/lib/hx509/ks_dir.c dir_iter(hx509_context context,
context 141 source4/heimdal/lib/hx509/ks_dir.c ret = hx509_certs_next_cert(context, d->certs, d->iter, cert);
context 143 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_end_seq(context, d->certs, d->iter);
context 152 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_end_seq(context, d->certs, d->iter);
context 168 source4/heimdal/lib/hx509/ks_dir.c ret = hx509_certs_init(context, fn, 0, NULL, &d->certs);
context 171 source4/heimdal/lib/hx509/ks_dir.c ret = hx509_certs_start_seq(context, d->certs, &d->iter);
context 189 source4/heimdal/lib/hx509/ks_dir.c dir_iter_end(hx509_context context,
context 197 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_end_seq(context, d->certs, d->iter);
context 221 source4/heimdal/lib/hx509/ks_dir.c _hx509_ks_dir_register(hx509_context context)
context 223 source4/heimdal/lib/hx509/ks_dir.c _hx509_ks_register(context, &keyset_dir);
context 50 source4/heimdal/lib/hx509/ks_file.c parse_certificate(hx509_context context, const char *fn,
context 58 source4/heimdal/lib/hx509/ks_file.c ret = hx509_cert_init_data(context, data, len, &cert);
context 62 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_collector_certs_add(context, c, cert);
context 68 source4/heimdal/lib/hx509/ks_file.c try_decrypt(hx509_context context,
context 87 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 95 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_CRYPTO_INTERNAL_ERROR,
context 102 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, ENOMEM,
context 117 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_collector_private_key_add(context,
context 133 source4/heimdal/lib/hx509/ks_file.c parse_rsa_private_key(hx509_context context, const char *fn,
context 154 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_ALG_NOT_SUPP,
context 161 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 165 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 171 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 178 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 185 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 195 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 203 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_ALG_NOT_SUPP,
context 220 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
context 234 source4/heimdal/lib/hx509/ks_file.c ret = try_decrypt(context, c, hx509_signature_rsa(),
context 256 source4/heimdal/lib/hx509/ks_file.c ret = try_decrypt(context, c, hx509_signature_rsa(),
context 270 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_collector_private_key_add(context,
context 298 source4/heimdal/lib/hx509/ks_file.c pem_func(hx509_context context, const char *type,
context 308 source4/heimdal/lib/hx509/ks_file.c ret = (*formats[j].func)(context, NULL, pem_ctx->c, header, data, len);
context 315 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, ret,
context 329 source4/heimdal/lib/hx509/ks_file.c file_init_common(hx509_context context,
context 349 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 356 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 367 source4/heimdal/lib/hx509/ks_file.c ret = hx509_certs_init(context, "MEMORY:ks-file-create",
context 375 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_collector_alloc(context, lock, &pem_ctx.c);
context 389 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, ret,
context 396 source4/heimdal/lib/hx509/ks_file.c ret = hx509_pem_read(context, f, pem_func, &pem_ctx);
context 407 source4/heimdal/lib/hx509/ks_file.c hx509_clear_error_string(context);
context 412 source4/heimdal/lib/hx509/ks_file.c ret = (*formats[i].func)(context, p, pem_ctx.c, NULL, ptr, length);
context 422 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_collector_collect_certs(context, pem_ctx.c, &f->certs);
context 426 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_collector_collect_private_keys(context, pem_ctx.c, &keys);
context 431 source4/heimdal/lib/hx509/ks_file.c _hx509_certs_keys_add(context, f->certs, keys[i]);
context 432 source4/heimdal/lib/hx509/ks_file.c _hx509_certs_keys_free(context, keys);
context 450 source4/heimdal/lib/hx509/ks_file.c file_init_pem(hx509_context context,
context 454 source4/heimdal/lib/hx509/ks_file.c return file_init_common(context, certs, data, flags, residue, lock, USE_PEM);
context 458 source4/heimdal/lib/hx509/ks_file.c file_init_der(hx509_context context,
context 462 source4/heimdal/lib/hx509/ks_file.c return file_init_common(context, certs, data, flags, residue, lock, USE_DER);
context 481 source4/heimdal/lib/hx509/ks_file.c store_func(hx509_context context, void *ctx, hx509_cert c)
context 487 source4/heimdal/lib/hx509/ks_file.c ret = hx509_cert_binary(context, c, &data);
context 497 source4/heimdal/lib/hx509/ks_file.c hx509_pem_write(context, "CERTIFICATE", NULL, sc->f,
context 502 source4/heimdal/lib/hx509/ks_file.c ret = _hx509_private_key_export(context, key, &data);
context 505 source4/heimdal/lib/hx509/ks_file.c hx509_pem_write(context, _hx509_private_pem_name(key), NULL, sc->f,
context 516 source4/heimdal/lib/hx509/ks_file.c file_store(hx509_context context,
context 525 source4/heimdal/lib/hx509/ks_file.c hx509_set_error_string(context, 0, ENOENT,
context 532 source4/heimdal/lib/hx509/ks_file.c ret = hx509_certs_iter(context, f->certs, store_func, &sc);
context 538 source4/heimdal/lib/hx509/ks_file.c file_add(hx509_context context, hx509_certs certs, void *data, hx509_cert c)
context 541 source4/heimdal/lib/hx509/ks_file.c return hx509_certs_add(context, f->certs, c);
context 545 source4/heimdal/lib/hx509/ks_file.c file_iter_start(hx509_context context,
context 549 source4/heimdal/lib/hx509/ks_file.c return hx509_certs_start_seq(context, f->certs, cursor);
context 553 source4/heimdal/lib/hx509/ks_file.c file_iter(hx509_context context,
context 557 source4/heimdal/lib/hx509/ks_file.c return hx509_certs_next_cert(context, f->certs, iter, cert);
context 561 source4/heimdal/lib/hx509/ks_file.c file_iter_end(hx509_context context,
context 567 source4/heimdal/lib/hx509/ks_file.c return hx509_certs_end_seq(context, f->certs, cursor);
context 571 source4/heimdal/lib/hx509/ks_file.c file_getkeys(hx509_context context,
context 577 source4/heimdal/lib/hx509/ks_file.c return _hx509_certs_keys_get(context, f->certs, keys);
context 581 source4/heimdal/lib/hx509/ks_file.c file_addkey(hx509_context context,
context 587 source4/heimdal/lib/hx509/ks_file.c return _hx509_certs_keys_add(context, f->certs, key);
context 640 source4/heimdal/lib/hx509/ks_file.c _hx509_ks_file_register(hx509_context context)
context 642 source4/heimdal/lib/hx509/ks_file.c _hx509_ks_register(context, &keyset_file);
context 643 source4/heimdal/lib/hx509/ks_file.c _hx509_ks_register(context, &keyset_pemfile);
context 644 source4/heimdal/lib/hx509/ks_file.c _hx509_ks_register(context, &keyset_derfile);
context 196 source4/heimdal/lib/hx509/ks_keychain.c set_private_key(hx509_context context,
context 264 source4/heimdal/lib/hx509/ks_keychain.c keychain_init(hx509_context context,
context 272 source4/heimdal/lib/hx509/ks_keychain.c hx509_clear_error_string(context);
context 284 source4/heimdal/lib/hx509/ks_keychain.c hx509_set_error_string(context, 0, ENOENT,
context 289 source4/heimdal/lib/hx509/ks_keychain.c hx509_set_error_string(context, 0, ENOENT,
context 325 source4/heimdal/lib/hx509/ks_keychain.c keychain_iter_start(hx509_context context,
context 333 source4/heimdal/lib/hx509/ks_keychain.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 342 source4/heimdal/lib/hx509/ks_keychain.c ret = hx509_certs_init(context, "MEMORY:ks-file-create",
context 353 source4/heimdal/lib/hx509/ks_keychain.c hx509_set_error_string(context, 0, ENOMEM,
context 366 source4/heimdal/lib/hx509/ks_keychain.c ret = hx509_cert_init_data(context, cssm.Data, cssm.Length, &cert);
context 370 source4/heimdal/lib/hx509/ks_keychain.c ret = hx509_certs_add(context, iter->certs, cert);
context 378 source4/heimdal/lib/hx509/ks_keychain.c ret = hx509_certs_start_seq(context, iter->certs, &iter->cursor);
context 393 source4/heimdal/lib/hx509/ks_keychain.c hx509_set_error_string(context, 0, ret,
context 408 source4/heimdal/lib/hx509/ks_keychain.c keychain_iter(hx509_context context,
context 422 source4/heimdal/lib/hx509/ks_keychain.c return hx509_certs_next_cert(context, iter->certs, iter->cursor, cert);
context 447 source4/heimdal/lib/hx509/ks_keychain.c ret = hx509_cert_init_data(context, ptr, len, cert);
context 485 source4/heimdal/lib/hx509/ks_keychain.c set_private_key(context, itemRef, *cert);
context 499 source4/heimdal/lib/hx509/ks_keychain.c keychain_iter_end(hx509_context context,
context 508 source4/heimdal/lib/hx509/ks_keychain.c ret = hx509_certs_end_seq(context, iter->certs, iter->cursor);
context 543 source4/heimdal/lib/hx509/ks_keychain.c _hx509_ks_keychain_register(hx509_context context)
context 546 source4/heimdal/lib/hx509/ks_keychain.c _hx509_ks_register(context, &keyset_keychain);
context 53 source4/heimdal/lib/hx509/ks_mem.c mem_init(hx509_context context,
context 91 source4/heimdal/lib/hx509/ks_mem.c mem_add(hx509_context context, hx509_certs certs, void *data, hx509_cert c)
context 109 source4/heimdal/lib/hx509/ks_mem.c mem_iter_start(hx509_context context,
context 146 source4/heimdal/lib/hx509/ks_mem.c mem_iter_end(hx509_context context,
context 156 source4/heimdal/lib/hx509/ks_mem.c mem_getkeys(hx509_context context,
context 172 source4/heimdal/lib/hx509/ks_mem.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 181 source4/heimdal/lib/hx509/ks_mem.c mem_addkey(hx509_context context,
context 194 source4/heimdal/lib/hx509/ks_mem.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 221 source4/heimdal/lib/hx509/ks_mem.c _hx509_ks_mem_register(hx509_context context)
context 223 source4/heimdal/lib/hx509/ks_mem.c _hx509_ks_register(context, &keyset_mem);
context 39 source4/heimdal/lib/hx509/ks_null.c null_init(hx509_context context,
context 55 source4/heimdal/lib/hx509/ks_null.c null_iter_start(hx509_context context,
context 63 source4/heimdal/lib/hx509/ks_null.c null_iter(hx509_context context,
context 71 source4/heimdal/lib/hx509/ks_null.c null_iter_end(hx509_context context,
context 95 source4/heimdal/lib/hx509/ks_null.c _hx509_ks_null_register(hx509_context context)
context 97 source4/heimdal/lib/hx509/ks_null.c _hx509_ks_register(context, &keyset_null);
context 238 source4/heimdal/lib/hx509/ks_p11.c p11_mech_info(hx509_context context,
context 248 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH,
context 254 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH,
context 260 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ENOMEM,
context 267 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH,
context 276 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ENOMEM,
context 284 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ENOMEM,
context 291 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_NO_MECH,
context 302 source4/heimdal/lib/hx509/ks_p11.c p11_init_slot(hx509_context context,
context 320 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_TOKEN_CONFUSED,
context 342 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_NO_TOKEN,
context 353 source4/heimdal/lib/hx509/ks_p11.c ret = p11_get_session(context, p, slot, lock, &session);
context 357 source4/heimdal/lib/hx509/ks_p11.c ret = p11_mech_info(context, p, slot, num);
context 361 source4/heimdal/lib/hx509/ks_p11.c ret = p11_list_keys(context, p, slot, session, lock, &slot->certs);
context 369 source4/heimdal/lib/hx509/ks_p11.c p11_get_session(hx509_context context,
context 392 source4/heimdal/lib/hx509/ks_p11.c if (context)
context 393 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_OPEN_SESSION,
context 435 source4/heimdal/lib/hx509/ks_p11.c if (context)
context 436 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 450 source4/heimdal/lib/hx509/ks_p11.c if (context)
context 451 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_LOGIN,
context 462 source4/heimdal/lib/hx509/ks_p11.c if (context)
context 463 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ENOMEM,
context 491 source4/heimdal/lib/hx509/ks_p11.c iterate_entries(hx509_context context,
context 540 source4/heimdal/lib/hx509/ks_p11.c ret = (*func)(context, p, slot, session, object, ptr, query, num_query);
context 601 source4/heimdal/lib/hx509/ks_p11.c collect_private_key(hx509_context context,
context 654 source4/heimdal/lib/hx509/ks_p11.c ret = _hx509_collector_private_key_add(context,
context 677 source4/heimdal/lib/hx509/ks_p11.c collect_cert(hx509_context context,
context 693 source4/heimdal/lib/hx509/ks_p11.c ret = hx509_cert_init_data(context, query[1].pValue,
context 712 source4/heimdal/lib/hx509/ks_p11.c _hx509_set_cert_attribute(context,
context 729 source4/heimdal/lib/hx509/ks_p11.c ret = _hx509_collector_certs_add(context, collector, cert);
context 737 source4/heimdal/lib/hx509/ks_p11.c p11_list_keys(hx509_context context,
context 762 source4/heimdal/lib/hx509/ks_p11.c ret = _hx509_collector_alloc(context, lock, &collector);
context 767 source4/heimdal/lib/hx509/ks_p11.c ret = iterate_entries(context, p, slot, session,
context 775 source4/heimdal/lib/hx509/ks_p11.c ret = iterate_entries(context, p, slot, session,
context 782 source4/heimdal/lib/hx509/ks_p11.c ret = _hx509_collector_collect_certs(context, collector, &slot->certs);
context 792 source4/heimdal/lib/hx509/ks_p11.c p11_init(hx509_context context,
context 834 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 842 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 851 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 859 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 867 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 874 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ret,
context 886 source4/heimdal/lib/hx509/ks_p11.c hx509_clear_error_string(context);
context 894 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, HX509_PKCS11_TOKEN_CONFUSED,
context 904 source4/heimdal/lib/hx509/ks_p11.c hx509_set_error_string(context, 0, ENOMEM,
context 911 source4/heimdal/lib/hx509/ks_p11.c ret = p11_init_slot(context, p, lock, slot_ids[i], i, &p->slot[i]);
context 1005 source4/heimdal/lib/hx509/ks_p11.c p11_iter_start(hx509_context context,
context 1014 source4/heimdal/lib/hx509/ks_p11.c hx509_clear_error_string(context);
context 1017 source4/heimdal/lib/hx509/ks_p11.c ret = hx509_certs_init(context, "MEMORY:pkcs11-iter", 0, NULL, &c->certs);
context 1026 source4/heimdal/lib/hx509/ks_p11.c ret = hx509_certs_merge(context, c->certs, p->slot[i].certs);
context 1034 source4/heimdal/lib/hx509/ks_p11.c ret = hx509_certs_start_seq(context, c->certs, &c->cursor);
context 1046 source4/heimdal/lib/hx509/ks_p11.c p11_iter(hx509_context context,
context 1050 source4/heimdal/lib/hx509/ks_p11.c return hx509_certs_next_cert(context, c->certs, c->cursor, cert);
context 1054 source4/heimdal/lib/hx509/ks_p11.c p11_iter_end(hx509_context context,
context 1059 source4/heimdal/lib/hx509/ks_p11.c ret = hx509_certs_end_seq(context, c->certs, c->cursor);
context 1104 source4/heimdal/lib/hx509/ks_p11.c p11_printinfo(hx509_context context,
context 1189 source4/heimdal/lib/hx509/ks_p11.c _hx509_ks_pkcs11_register(hx509_context context)
context 1192 source4/heimdal/lib/hx509/ks_p11.c _hx509_ks_register(context, &keyset_pkcs11);
context 70 source4/heimdal/lib/hx509/ks_p12.c keyBag_parser(hx509_context context,
context 88 source4/heimdal/lib/hx509/ks_p12.c _hx509_collector_private_key_add(context,
context 99 source4/heimdal/lib/hx509/ks_p12.c ShroudedKeyBag_parser(hx509_context context,
context 114 source4/heimdal/lib/hx509/ks_p12.c ret = _hx509_pbe_decrypt(context,
context 123 source4/heimdal/lib/hx509/ks_p12.c ret = keyBag_parser(context, c, content.data, content.length, attrs);
context 129 source4/heimdal/lib/hx509/ks_p12.c certBag_parser(hx509_context context,
context 156 source4/heimdal/lib/hx509/ks_p12.c ret = hx509_cert_init_data(context, os.data, os.length, &cert);
context 161 source4/heimdal/lib/hx509/ks_p12.c ret = _hx509_collector_certs_add(context, c, cert);
context 178 source4/heimdal/lib/hx509/ks_p12.c _hx509_set_cert_attribute(context, cert, oid,
context 189 source4/heimdal/lib/hx509/ks_p12.c parse_safe_content(hx509_context context,
context 203 source4/heimdal/lib/hx509/ks_p12.c parse_pkcs12_type(context,
context 215 source4/heimdal/lib/hx509/ks_p12.c safeContent_parser(hx509_context context,
context 226 source4/heimdal/lib/hx509/ks_p12.c ret = parse_safe_content(context, c, os.data, os.length);
context 232 source4/heimdal/lib/hx509/ks_p12.c encryptedData_parser(hx509_context context,
context 243 source4/heimdal/lib/hx509/ks_p12.c ret = hx509_cms_decrypt_encrypted(context,
context 252 source4/heimdal/lib/hx509/ks_p12.c ret = parse_safe_content(context, c, content.data, content.length);
context 260 source4/heimdal/lib/hx509/ks_p12.c envelopedData_parser(hx509_context context,
context 274 source4/heimdal/lib/hx509/ks_p12.c ret = hx509_cms_unenvelope(context,
context 283 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 289 source4/heimdal/lib/hx509/ks_p12.c ret = parse_safe_content(context, c, content.data, content.length);
context 308 source4/heimdal/lib/hx509/ks_p12.c parse_pkcs12_type(hx509_context context,
context 318 source4/heimdal/lib/hx509/ks_p12.c (*bagtypes[i].func)(context, c, data, length, attrs);
context 322 source4/heimdal/lib/hx509/ks_p12.c p12_init(hx509_context context,
context 339 source4/heimdal/lib/hx509/ks_p12.c ret = _hx509_collector_alloc(context, lock, &c);
context 346 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret, "out of memory");
context 353 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret, "out of memory");
context 358 source4/heimdal/lib/hx509/ks_p12.c ret = hx509_certs_init(context, "MEMORY:ks-file-create",
context 367 source4/heimdal/lib/hx509/ks_p12.c hx509_clear_error_string(context);
context 374 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret,
context 382 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret,
context 390 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret,
context 404 source4/heimdal/lib/hx509/ks_p12.c hx509_clear_error_string(context);
context 413 source4/heimdal/lib/hx509/ks_p12.c hx509_clear_error_string(context);
context 419 source4/heimdal/lib/hx509/ks_p12.c parse_pkcs12_type(context,
context 428 source4/heimdal/lib/hx509/ks_p12.c ret = _hx509_collector_collect_certs(context, c, &p12->certs);
context 447 source4/heimdal/lib/hx509/ks_p12.c addBag(hx509_context context,
context 458 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 465 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret, "out of memory");
context 472 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ENOMEM, "malloc out of memory");
context 485 source4/heimdal/lib/hx509/ks_p12.c store_func(hx509_context context, void *ctx, hx509_cert c)
context 499 source4/heimdal/lib/hx509/ks_p12.c ret = hx509_cert_binary(context, c, &os);
context 520 source4/heimdal/lib/hx509/ks_p12.c ret = addBag(context, as, oid_id_pkcs12_certBag(), os.data, os.length);
context 531 source4/heimdal/lib/hx509/ks_p12.c ret = _hx509_private_key_oid(context, key,
context 537 source4/heimdal/lib/hx509/ks_p12.c ret = _hx509_private_key_export(context,
context 552 source4/heimdal/lib/hx509/ks_p12.c ret = addBag(context, as, oid_id_pkcs12_keyBag(), os.data, os.length);
context 562 source4/heimdal/lib/hx509/ks_p12.c p12_store(hx509_context context,
context 575 source4/heimdal/lib/hx509/ks_p12.c ret = hx509_certs_iter(context, p12->certs, store_func, &as);
context 618 source4/heimdal/lib/hx509/ks_p12.c hx509_set_error_string(context, 0, ret, "malloc out of memory");
context 651 source4/heimdal/lib/hx509/ks_p12.c p12_add(hx509_context context, hx509_certs certs, void *data, hx509_cert c)
context 654 source4/heimdal/lib/hx509/ks_p12.c return hx509_certs_add(context, p12->certs, c);
context 658 source4/heimdal/lib/hx509/ks_p12.c p12_iter_start(hx509_context context,
context 664 source4/heimdal/lib/hx509/ks_p12.c return hx509_certs_start_seq(context, p12->certs, cursor);
context 668 source4/heimdal/lib/hx509/ks_p12.c p12_iter(hx509_context context,
context 675 source4/heimdal/lib/hx509/ks_p12.c return hx509_certs_next_cert(context, p12->certs, cursor, cert);
context 679 source4/heimdal/lib/hx509/ks_p12.c p12_iter_end(hx509_context context,
context 685 source4/heimdal/lib/hx509/ks_p12.c return hx509_certs_end_seq(context, p12->certs, cursor);
context 702 source4/heimdal/lib/hx509/ks_p12.c _hx509_ks_pkcs12_register(hx509_context context)
context 704 source4/heimdal/lib/hx509/ks_p12.c _hx509_ks_register(context, &keyset_pkcs12);
context 61 source4/heimdal/lib/hx509/lock.c hx509_lock_init(hx509_context context, hx509_lock *lock)
context 72 source4/heimdal/lib/hx509/lock.c ret = hx509_certs_init(context,
context 134 source4/heimdal/lib/hx509/lock.c hx509_lock_add_cert(hx509_context context, hx509_lock lock, hx509_cert cert)
context 136 source4/heimdal/lib/hx509/lock.c return hx509_certs_add(context, lock->certs, cert);
context 140 source4/heimdal/lib/hx509/lock.c hx509_lock_add_certs(hx509_context context, hx509_lock lock, hx509_certs certs)
context 142 source4/heimdal/lib/hx509/lock.c return hx509_certs_merge(context, lock->certs, certs);
context 146 source4/heimdal/lib/hx509/lock.c hx509_lock_reset_certs(hx509_context context, hx509_lock lock)
context 151 source4/heimdal/lib/hx509/lock.c ret = hx509_certs_init(context,
context 482 source4/heimdal/lib/hx509/name.c _hx509_name_modify(hx509_context context,
context 496 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ENOMEM, "Out of memory");
context 540 source4/heimdal/lib/hx509/name.c hx509_parse_name(hx509_context context, const char *str, hx509_name *name)
context 551 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 575 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ret, "missing = in %s", p);
context 580 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ret,
context 587 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ret, " = after , in %s", p);
context 594 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ret,
context 608 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ret, "out of memory");
context 614 source4/heimdal/lib/hx509/name.c ret = _hx509_name_modify(context, &n->der_name, 0, &oid, r);
context 644 source4/heimdal/lib/hx509/name.c hx509_name_copy(hx509_context context, const hx509_name from, hx509_name *to)
context 678 source4/heimdal/lib/hx509/name.c hx509_name_normalize(hx509_context context, hx509_name name)
context 697 source4/heimdal/lib/hx509/name.c hx509_name_expand(hx509_context context,
context 708 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, EINVAL, "RDN not of supported type");
context 729 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, EINVAL, "unsupported type");
context 738 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 747 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, EINVAL, "missing }");
context 752 source4/heimdal/lib/hx509/name.c value = hx509_env_lfind(context, env, p, p2 - p);
context 754 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, EINVAL,
context 762 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 774 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 782 source4/heimdal/lib/hx509/name.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 58 source4/heimdal/lib/hx509/peer.c hx509_peer_info_alloc(hx509_context context, hx509_peer_info *peer)
context 62 source4/heimdal/lib/hx509/peer.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 137 source4/heimdal/lib/hx509/peer.c hx509_peer_info_set_cms_algs(hx509_context context,
context 149 source4/heimdal/lib/hx509/peer.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 157 source4/heimdal/lib/hx509/peer.c hx509_clear_error_string(context);
context 192 source4/heimdal/lib/hx509/print.c hx509_cert_keyusage_print(hx509_context context, hx509_cert c, char **s)
context 200 source4/heimdal/lib/hx509/print.c ret = _hx509_cert_get_keyusage(context, c, &ku);
context 206 source4/heimdal/lib/hx509/print.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 809 source4/heimdal/lib/hx509/print.c hx509_validate_ctx_init(hx509_context context, hx509_validate_ctx *ctx)
context 884 source4/heimdal/lib/hx509/print.c hx509_validate_cert(hx509_context context,
context 1020 source4/heimdal/lib/hx509/print.c ret = _hx509_verify_signature_bitstring(context,
context 50 source4/heimdal/lib/hx509/req.c _hx509_request_init(hx509_context context, hx509_request *req)
context 73 source4/heimdal/lib/hx509/req.c _hx509_request_set_name(hx509_context context,
context 80 source4/heimdal/lib/hx509/req.c int ret = hx509_name_copy(context, name, &req->name);
context 88 source4/heimdal/lib/hx509/req.c _hx509_request_get_name(hx509_context context,
context 93 source4/heimdal/lib/hx509/req.c hx509_set_error_string(context, 0, EINVAL, "Request have no name");
context 96 source4/heimdal/lib/hx509/req.c return hx509_name_copy(context, req->name, name);
context 100 source4/heimdal/lib/hx509/req.c _hx509_request_set_SubjectPublicKeyInfo(hx509_context context,
context 109 source4/heimdal/lib/hx509/req.c _hx509_request_get_SubjectPublicKeyInfo(hx509_context context,
context 117 source4/heimdal/lib/hx509/req.c _hx509_request_add_eku(hx509_context context,
context 139 source4/heimdal/lib/hx509/req.c _hx509_request_add_dns_name(hx509_context context,
context 153 source4/heimdal/lib/hx509/req.c _hx509_request_add_email(hx509_context context,
context 169 source4/heimdal/lib/hx509/req.c _hx509_request_to_pkcs10(hx509_context context,
context 180 source4/heimdal/lib/hx509/req.c hx509_set_error_string(context, 0, EINVAL,
context 212 source4/heimdal/lib/hx509/req.c ret = _hx509_create_signature(context,
context 240 source4/heimdal/lib/hx509/req.c _hx509_request_parse(hx509_context context,
context 252 source4/heimdal/lib/hx509/req.c hx509_set_error_string(context, 0, HX509_UNSUPPORTED_OPERATION,
context 262 source4/heimdal/lib/hx509/req.c hx509_set_error_string(context, 0, ret, "Failed to map file %s", path);
context 269 source4/heimdal/lib/hx509/req.c hx509_set_error_string(context, 0, ret, "Failed to decode %s", path);
context 273 source4/heimdal/lib/hx509/req.c ret = _hx509_request_init(context, req);
context 281 source4/heimdal/lib/hx509/req.c ret = _hx509_request_set_SubjectPublicKeyInfo(context, *req,
context 295 source4/heimdal/lib/hx509/req.c ret = _hx509_request_set_name(context, *req, subject);
context 308 source4/heimdal/lib/hx509/req.c _hx509_request_print(hx509_context context, hx509_request req, FILE *f)
context 316 source4/heimdal/lib/hx509/req.c hx509_set_error_string(context, 0, ret, "Failed to print name");
context 96 source4/heimdal/lib/hx509/revoke.c hx509_revoke_init(hx509_context context, hx509_revoke_ctx *ctx)
context 171 source4/heimdal/lib/hx509/revoke.c verify_ocsp(hx509_context context,
context 203 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_find(context, certs, &q, &signer);
context 205 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_find(context, ocsp->certs, &q, &signer);
context 221 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret, "Revoke OCSP signer is "
context 226 source4/heimdal/lib/hx509/revoke.c ret = _hx509_verify_signature_bitstring(context,
context 232 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 237 source4/heimdal/lib/hx509/revoke.c ret = hx509_cert_check_eku(context, signer,
context 243 source4/heimdal/lib/hx509/revoke.c ret = _hx509_verify_signature_bitstring(context,
context 249 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 327 source4/heimdal/lib/hx509/revoke.c load_ocsp(hx509_context context, struct revoke_ocsp *ocsp)
context 347 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret,
context 355 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_init(context, "MEMORY:ocsp-certs", 0,
context 365 source4/heimdal/lib/hx509/revoke.c ret = hx509_cert_init(context, &basic.certs->val[i], &c);
context 369 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_add(context, certs, c);
context 402 source4/heimdal/lib/hx509/revoke.c hx509_revoke_add_ocsp(hx509_context context,
context 411 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, HX509_UNSUPPORTED_OPERATION,
context 426 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 437 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 441 source4/heimdal/lib/hx509/revoke.c ret = load_ocsp(context, &ctx->ocsps.val[ctx->ocsps.len]);
context 456 source4/heimdal/lib/hx509/revoke.c verify_crl(hx509_context context,
context 470 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, HX509_CRL_USED_BEFORE_TIME,
context 476 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, HX509_CRL_INVALID_FORMAT,
context 483 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, HX509_CRL_USED_AFTER_TIME,
context 494 source4/heimdal/lib/hx509/revoke.c if (_hx509_check_key_usage(context, parent, 1 << 6, FALSE) == 0) {
context 501 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_find(context, certs, &q, &signer);
context 503 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 509 source4/heimdal/lib/hx509/revoke.c ret = _hx509_verify_signature_bitstring(context,
context 515 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 526 source4/heimdal/lib/hx509/revoke.c while (_hx509_check_key_usage(context, signer, 1 << 5, TRUE)) {
context 535 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_find(context, certs, &q, &crl_parent);
context 537 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 542 source4/heimdal/lib/hx509/revoke.c ret = hx509_revoke_verify(context,
context 551 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND, ret,
context 610 source4/heimdal/lib/hx509/revoke.c hx509_revoke_add_crl(hx509_context context,
context 619 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, HX509_UNSUPPORTED_OPERATION,
context 635 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 644 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 680 source4/heimdal/lib/hx509/revoke.c hx509_revoke_verify(hx509_context context,
context 692 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 703 source4/heimdal/lib/hx509/revoke.c ret = load_ocsp(context, ocsp);
context 710 source4/heimdal/lib/hx509/revoke.c ret = verify_ocsp(context, ocsp, now, certs, parent_cert);
context 724 source4/heimdal/lib/hx509/revoke.c ret = _hx509_verify_signature(context,
context 735 source4/heimdal/lib/hx509/revoke.c ret = _hx509_verify_signature(context,
context 747 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0,
context 757 source4/heimdal/lib/hx509/revoke.c now + context->ocsp_time_diff)
context 799 source4/heimdal/lib/hx509/revoke.c ret = verify_crl(context, ctx, &crl->crl, now, certs, parent_cert);
context 810 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0,
context 839 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0,
context 849 source4/heimdal/lib/hx509/revoke.c if (context->flags & HX509_CTX_VERIFY_MISSING_OK)
context 851 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, HX509_ERROR_APPEND,
context 866 source4/heimdal/lib/hx509/revoke.c add_to_req(hx509_context context, void *ptr, hx509_cert cert)
context 892 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_find(context, ctx->certs, &q, &parent);
context 899 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret,
context 913 source4/heimdal/lib/hx509/revoke.c ret = _hx509_create_signature(context,
context 926 source4/heimdal/lib/hx509/revoke.c ret = _hx509_create_signature(context,
context 969 source4/heimdal/lib/hx509/revoke.c hx509_ocsp_request(hx509_context context,
context 993 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_iter(context, reqcerts, add_to_req, &ctx);
context 1078 source4/heimdal/lib/hx509/revoke.c hx509_revoke_ocsp_print(hx509_context context, const char *path, FILE *out)
context 1092 source4/heimdal/lib/hx509/revoke.c ret = load_ocsp(context, &ocsp);
context 1158 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_iter(context, ocsp.certs, hx509_ci_print_names, out);
context 1184 source4/heimdal/lib/hx509/revoke.c hx509_ocsp_verify(hx509_context context,
context 1202 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret,
context 1215 source4/heimdal/lib/hx509/revoke.c ret = _hx509_verify_signature(context,
context 1233 source4/heimdal/lib/hx509/revoke.c now + context->ocsp_time_diff)
context 1256 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 1262 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 1265 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, HX509_CERT_NOT_IN_OCSP,
context 1292 source4/heimdal/lib/hx509/revoke.c hx509_crl_alloc(hx509_context context, hx509_crl *crl)
context 1298 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1302 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_init(context, "MEMORY:crl", 0, NULL, &(*crl)->revoked);
context 1325 source4/heimdal/lib/hx509/revoke.c hx509_crl_add_revoked_certs(hx509_context context,
context 1329 source4/heimdal/lib/hx509/revoke.c return hx509_certs_merge(context, crl->revoked, certs);
context 1346 source4/heimdal/lib/hx509/revoke.c hx509_crl_lifetime(hx509_context context, hx509_crl crl, int delta)
context 1362 source4/heimdal/lib/hx509/revoke.c hx509_crl_free(hx509_context context, hx509_crl *crl)
context 1373 source4/heimdal/lib/hx509/revoke.c add_revoked(hx509_context context, void *ctx, hx509_cert cert)
context 1384 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 1392 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 1421 source4/heimdal/lib/hx509/revoke.c hx509_crl_sign(hx509_context context,
context 1437 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret,
context 1444 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1452 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 1459 source4/heimdal/lib/hx509/revoke.c hx509_clear_error_string(context);
context 1468 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1485 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ENOMEM, "out of memory");
context 1491 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_iter(context, crl->revoked, add_revoked, &c.tbsCertList);
context 1504 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret, "failed to encode tbsCRL");
context 1511 source4/heimdal/lib/hx509/revoke.c ret = _hx509_create_signature_bitstring(context,
context 1519 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret, "Failed to sign CRL");
context 1526 source4/heimdal/lib/hx509/revoke.c hx509_set_error_string(context, 0, ret, "failed to encode CRL");
context 52 source4/heimdal/lib/hx509/sel.c eval_word(hx509_context context, hx509_env env, struct hx_expr *word)
context 59 source4/heimdal/lib/hx509/sel.c return hx509_env_find(context, env, word->arg1);
context 61 source4/heimdal/lib/hx509/sel.c env = hx509_env_find_binding(context, env, word->arg1);
context 65 source4/heimdal/lib/hx509/sel.c return eval_word(context, env, word->arg2);
context 72 source4/heimdal/lib/hx509/sel.c find_variable(hx509_context context, hx509_env env, struct hx_expr *word)
context 77 source4/heimdal/lib/hx509/sel.c return hx509_env_find_binding(context, env, word->arg1);
context 79 source4/heimdal/lib/hx509/sel.c env = hx509_env_find_binding(context, env, word->arg1);
context 82 source4/heimdal/lib/hx509/sel.c return find_variable(context, env, word->arg2);
context 86 source4/heimdal/lib/hx509/sel.c eval_comp(hx509_context context, hx509_env env, struct hx_expr *expr)
context 95 source4/heimdal/lib/hx509/sel.c s1 = eval_word(context, env, expr->arg1);
context 96 source4/heimdal/lib/hx509/sel.c s2 = eval_word(context, env, expr->arg2);
context 119 source4/heimdal/lib/hx509/sel.c w = eval_word(context, env, expr->arg1);
context 125 source4/heimdal/lib/hx509/sel.c s1 = eval_word(context, env, subexpr->arg1);
context 133 source4/heimdal/lib/hx509/sel.c subenv = find_variable(context, env, subexpr);
context 159 source4/heimdal/lib/hx509/sel.c _hx509_expr_eval(hx509_context context, hx509_env env, struct hx_expr *expr)
context 167 source4/heimdal/lib/hx509/sel.c return ! _hx509_expr_eval(context, env, expr->arg1);
context 169 source4/heimdal/lib/hx509/sel.c return _hx509_expr_eval(context, env, expr->arg1) &&
context 170 source4/heimdal/lib/hx509/sel.c _hx509_expr_eval(context, env, expr->arg2);
context 172 source4/heimdal/lib/hx509/sel.c return _hx509_expr_eval(context, env, expr->arg1) ||
context 173 source4/heimdal/lib/hx509/sel.c _hx509_expr_eval(context, env, expr->arg2);
context 175 source4/heimdal/lib/hx509/sel.c return eval_comp(context, env, expr->arg1);
context 38 source4/heimdal/lib/hx509/test_name.c test_name(hx509_context context, const char *name)
context 44 source4/heimdal/lib/hx509/test_name.c ret = hx509_parse_name(context, name, &n);
context 62 source4/heimdal/lib/hx509/test_name.c test_name_fail(hx509_context context, const char *name)
context 66 source4/heimdal/lib/hx509/test_name.c if (hx509_parse_name(context, name, &n) == HX509_NAME_MALFORMED)
context 73 source4/heimdal/lib/hx509/test_name.c test_expand(hx509_context context, const char *name, const char *expected)
context 80 source4/heimdal/lib/hx509/test_name.c hx509_env_add(context, &env, "uid", "lha");
context 82 source4/heimdal/lib/hx509/test_name.c ret = hx509_parse_name(context, name, &n);
context 86 source4/heimdal/lib/hx509/test_name.c ret = hx509_name_expand(context, n, env);
context 315 source4/heimdal/lib/hx509/test_name.c test_compare(hx509_context context)
context 323 source4/heimdal/lib/hx509/test_name.c ret = hx509_cert_init_data(context, certdata1, sizeof(certdata1) - 1, &c1);
context 326 source4/heimdal/lib/hx509/test_name.c ret = hx509_cert_init_data(context, certdata2, sizeof(certdata2) - 1, &c2);
context 329 source4/heimdal/lib/hx509/test_name.c ret = hx509_cert_init_data(context, certdata3, sizeof(certdata3) - 1, &c3);
context 357 source4/heimdal/lib/hx509/test_name.c hx509_context context;
context 360 source4/heimdal/lib/hx509/test_name.c ret = hx509_context_init(&context);
context 364 source4/heimdal/lib/hx509/test_name.c ret += test_name(context, "CN=foo,C=SE");
context 365 source4/heimdal/lib/hx509/test_name.c ret += test_name(context, "CN=foo,CN=kaka,CN=FOO,DC=ad1,C=SE");
context 366 source4/heimdal/lib/hx509/test_name.c ret += test_name(context, "1.2.3.4=foo,C=SE");
context 367 source4/heimdal/lib/hx509/test_name.c ret += test_name_fail(context, "=");
context 368 source4/heimdal/lib/hx509/test_name.c ret += test_name_fail(context, "CN=foo,=foo");
context 369 source4/heimdal/lib/hx509/test_name.c ret += test_name_fail(context, "CN=foo,really-unknown-type=foo");
context 371 source4/heimdal/lib/hx509/test_name.c ret += test_expand(context, "UID=${uid},C=SE", "UID=lha,C=SE");
context 372 source4/heimdal/lib/hx509/test_name.c ret += test_expand(context, "UID=foo${uid},C=SE", "UID=foolha,C=SE");
context 373 source4/heimdal/lib/hx509/test_name.c ret += test_expand(context, "UID=${uid}bar,C=SE", "UID=lhabar,C=SE");
context 374 source4/heimdal/lib/hx509/test_name.c ret += test_expand(context, "UID=f${uid}b,C=SE", "UID=flhab,C=SE");
context 375 source4/heimdal/lib/hx509/test_name.c ret += test_expand(context, "UID=${uid}${uid},C=SE", "UID=lhalha,C=SE");
context 376 source4/heimdal/lib/hx509/test_name.c ret += test_expand(context, "UID=${uid}{uid},C=SE", "UID=lha{uid},C=SE");
context 378 source4/heimdal/lib/hx509/test_name.c ret += test_compare(context);
context 380 source4/heimdal/lib/hx509/test_name.c hx509_context_free(&context);
context 52 source4/heimdal/lib/krb5/acache.c cc_context_t context;
context 76 source4/heimdal/lib/krb5/acache.c translate_cc_error(krb5_context context, cc_int32 error)
context 79 source4/heimdal/lib/krb5/acache.c krb5_clear_error_message(context);
context 87 source4/heimdal/lib/krb5/acache.c init_ccapi(krb5_context context)
context 94 source4/heimdal/lib/krb5/acache.c krb5_clear_error_message(context);
context 98 source4/heimdal/lib/krb5/acache.c lib = krb5_config_get_string(context, NULL,
context 118 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOSUPP,
context 127 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOSUPP,
context 137 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOSUPP,
context 144 source4/heimdal/lib/krb5/acache.c make_cred_from_ccred(krb5_context context,
context 153 source4/heimdal/lib/krb5/acache.c ret = krb5_parse_name(context, incred->client, &cred->client);
context 157 source4/heimdal/lib/krb5/acache.c ret = krb5_parse_name(context, incred->server, &cred->server);
context 263 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, ret, N_("malloc: out of memory", "malloc"));
context 266 source4/heimdal/lib/krb5/acache.c krb5_free_cred_contents(context, cred);
context 291 source4/heimdal/lib/krb5/acache.c make_ccred_from_cred(krb5_context context,
context 300 source4/heimdal/lib/krb5/acache.c ret = krb5_unparse_name(context, incred->client, &cred->client);
context 304 source4/heimdal/lib/krb5/acache.c ret = krb5_unparse_name(context, incred->server, &cred->server);
context 389 source4/heimdal/lib/krb5/acache.c krb5_clear_error_message(context);
context 412 source4/heimdal/lib/krb5/acache.c acc_get_name(krb5_context context,
context 423 source4/heimdal/lib/krb5/acache.c ret = _krb5_get_default_principal_local(context, &principal);
context 427 source4/heimdal/lib/krb5/acache.c ret = krb5_unparse_name(context, principal, &name);
context 428 source4/heimdal/lib/krb5/acache.c krb5_free_principal(context, principal);
context 432 source4/heimdal/lib/krb5/acache.c error = (*a->context->func->create_new_ccache)(a->context,
context 449 source4/heimdal/lib/krb5/acache.c acc_alloc(krb5_context context, krb5_ccache *id)
context 455 source4/heimdal/lib/krb5/acache.c ret = init_ccapi(context);
context 461 source4/heimdal/lib/krb5/acache.c krb5_clear_error_message(context);
context 467 source4/heimdal/lib/krb5/acache.c error = (*init_func)(&a->context, ccapi_version_3, NULL, NULL);
context 470 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 479 source4/heimdal/lib/krb5/acache.c acc_resolve(krb5_context context, krb5_ccache *id, const char *res)
context 485 source4/heimdal/lib/krb5/acache.c ret = acc_alloc(context, id);
context 491 source4/heimdal/lib/krb5/acache.c error = (*a->context->func->open_ccache)(a->context, res, &a->ccache);
context 495 source4/heimdal/lib/krb5/acache.c acc_close(context, *id);
context 497 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 505 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 512 source4/heimdal/lib/krb5/acache.c acc_gen_new(krb5_context context, krb5_ccache *id)
context 517 source4/heimdal/lib/krb5/acache.c ret = acc_alloc(context, id);
context 530 source4/heimdal/lib/krb5/acache.c acc_initialize(krb5_context context,
context 539 source4/heimdal/lib/krb5/acache.c ret = krb5_unparse_name(context, primary_principal, &name);
context 544 source4/heimdal/lib/krb5/acache.c error = (*a->context->func->create_new_ccache)(a->context,
context 558 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 575 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 579 source4/heimdal/lib/krb5/acache.c acc_close(krb5_context context,
context 592 source4/heimdal/lib/krb5/acache.c if (a->context) {
context 593 source4/heimdal/lib/krb5/acache.c (*a->context->func->release)(a->context);
context 594 source4/heimdal/lib/krb5/acache.c a->context = NULL;
context 601 source4/heimdal/lib/krb5/acache.c acc_destroy(krb5_context context,
context 611 source4/heimdal/lib/krb5/acache.c if (a->context) {
context 612 source4/heimdal/lib/krb5/acache.c error = (a->context->func->release)(a->context);
context 613 source4/heimdal/lib/krb5/acache.c a->context = NULL;
context 615 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 619 source4/heimdal/lib/krb5/acache.c acc_store_cred(krb5_context context,
context 630 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 638 source4/heimdal/lib/krb5/acache.c ret = make_ccred_from_cred(context,
context 646 source4/heimdal/lib/krb5/acache.c ret = translate_cc_error(context, error);
context 654 source4/heimdal/lib/krb5/acache.c acc_get_principal(krb5_context context,
context 664 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 673 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 675 source4/heimdal/lib/krb5/acache.c ret = krb5_parse_name(context, name->data, principal);
context 682 source4/heimdal/lib/krb5/acache.c acc_get_first (krb5_context context,
context 691 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 698 source4/heimdal/lib/krb5/acache.c krb5_clear_error_message(context);
context 707 source4/heimdal/lib/krb5/acache.c acc_get_next (krb5_context context,
context 720 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 726 source4/heimdal/lib/krb5/acache.c ret = make_cred_from_ccred(context,
context 734 source4/heimdal/lib/krb5/acache.c acc_end_get (krb5_context context,
context 744 source4/heimdal/lib/krb5/acache.c acc_remove_cred(krb5_context context,
context 757 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 763 source4/heimdal/lib/krb5/acache.c ret = krb5_unparse_name(context, cred->client, &client);
context 769 source4/heimdal/lib/krb5/acache.c ret = krb5_unparse_name(context, cred->server, &server);
context 779 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 810 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, ret,
context 820 source4/heimdal/lib/krb5/acache.c acc_set_flags(krb5_context context,
context 828 source4/heimdal/lib/krb5/acache.c acc_get_version(krb5_context context,
context 835 source4/heimdal/lib/krb5/acache.c cc_context_t context;
context 840 source4/heimdal/lib/krb5/acache.c acc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
context 846 source4/heimdal/lib/krb5/acache.c ret = init_ccapi(context);
context 852 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 856 source4/heimdal/lib/krb5/acache.c error = (*init_func)(&iter->context, ccapi_version_3, NULL, NULL);
context 859 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 862 source4/heimdal/lib/krb5/acache.c error = (*iter->context->func->new_ccache_iterator)(iter->context,
context 866 source4/heimdal/lib/krb5/acache.c krb5_clear_error_message(context);
context 874 source4/heimdal/lib/krb5/acache.c acc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
context 884 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 886 source4/heimdal/lib/krb5/acache.c ret = _krb5_cc_allocate(context, &krb5_acc_ops, id);
context 892 source4/heimdal/lib/krb5/acache.c ret = acc_alloc(context, id);
context 904 source4/heimdal/lib/krb5/acache.c acc_close(context, *id);
context 906 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 912 source4/heimdal/lib/krb5/acache.c acc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
context 918 source4/heimdal/lib/krb5/acache.c (*iter->context->func->release)(iter->context);
context 919 source4/heimdal/lib/krb5/acache.c iter->context = NULL;
context 925 source4/heimdal/lib/krb5/acache.c acc_move(krb5_context context, krb5_ccache from, krb5_ccache to)
context 938 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 940 source4/heimdal/lib/krb5/acache.c error = (*ato->context->func->create_new_ccache)(ato->context,
context 946 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 951 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 955 source4/heimdal/lib/krb5/acache.c acc_get_default_name(krb5_context context, char **str)
context 962 source4/heimdal/lib/krb5/acache.c ret = init_ccapi(context);
context 968 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 973 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 981 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 988 source4/heimdal/lib/krb5/acache.c acc_set_default(krb5_context context, krb5_ccache id)
context 994 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 1001 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 1007 source4/heimdal/lib/krb5/acache.c acc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
context 1014 source4/heimdal/lib/krb5/acache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 1021 source4/heimdal/lib/krb5/acache.c return translate_cc_error(context, error);
context 53 source4/heimdal/lib/krb5/add_et_list.c krb5_add_et_list (krb5_context context,
context 56 source4/heimdal/lib/krb5/add_et_list.c (*func)(&context->et_list);
context 165 source4/heimdal/lib/krb5/addr_families.c ipv4_parse_addr (krb5_context context, const char *address, krb5_address *addr)
context 198 source4/heimdal/lib/krb5/addr_families.c ipv4_mask_boundary(krb5_context context, const krb5_address *inaddr,
context 205 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message(context, KRB5_PROG_ATYPE_NOSUPP,
context 223 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, low);
context 363 source4/heimdal/lib/krb5/addr_families.c ipv6_parse_addr (krb5_context context, const char *address, krb5_address *addr)
context 391 source4/heimdal/lib/krb5/addr_families.c ipv6_mask_boundary(krb5_context context, const krb5_address *inaddr,
context 399 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message(context, KRB5_PROG_ATYPE_NOSUPP,
context 405 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message(context, KRB5_PROG_ATYPE_NOSUPP,
context 433 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, low);
context 457 source4/heimdal/lib/krb5/addr_families.c arange_parse_addr (krb5_context context,
context 479 source4/heimdal/lib/krb5/addr_families.c ret = krb5_parse_address(context, buf, &addrmask);
context 483 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &addrmask);
context 491 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &addrmask);
context 495 source4/heimdal/lib/krb5/addr_families.c ret = krb5_address_prefixlen_boundary(context, &addrmask.val[0], num,
context 497 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &addrmask);
context 505 source4/heimdal/lib/krb5/addr_families.c ret = krb5_parse_address(context, buf, &low);
context 509 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &low);
context 514 source4/heimdal/lib/krb5/addr_families.c ret = krb5_parse_address(context, buf, &high);
context 516 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &low);
context 521 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &low);
context 522 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &high);
context 526 source4/heimdal/lib/krb5/addr_families.c ret = krb5_copy_address(context, &high.val[0], &high0);
context 528 source4/heimdal/lib/krb5/addr_families.c ret = krb5_copy_address(context, &low.val[0], &low0);
context 530 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, &high0);
context 532 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &low);
context 533 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(context, &high);
context 542 source4/heimdal/lib/krb5/addr_families.c if(krb5_address_order(context, &low0, &high0) < 0) {
context 553 source4/heimdal/lib/krb5/addr_families.c arange_free (krb5_context context, krb5_address *addr)
context 557 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, &a->low);
context 558 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, &a->high);
context 565 source4/heimdal/lib/krb5/addr_families.c arange_copy (krb5_context context, const krb5_address *inaddr,
context 577 source4/heimdal/lib/krb5/addr_families.c ret = krb5_copy_address(context, &i->low, &o->low);
context 582 source4/heimdal/lib/krb5/addr_families.c ret = krb5_copy_address(context, &i->high, &o->high);
context 584 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, &o->low);
context 631 source4/heimdal/lib/krb5/addr_families.c arange_order_addr(krb5_context context,
context 652 source4/heimdal/lib/krb5/addr_families.c tmp1 = krb5_address_order(context, &a->low, &b->low);
context 655 source4/heimdal/lib/krb5/addr_families.c return sign * krb5_address_order(context, &a->high, &b->high);
context 657 source4/heimdal/lib/krb5/addr_families.c tmp1 = krb5_address_order(context, &a->low, a2);
context 660 source4/heimdal/lib/krb5/addr_families.c tmp2 = krb5_address_order(context, &a->high, a2);
context 793 source4/heimdal/lib/krb5/addr_families.c krb5_sockaddr2address (krb5_context context,
context 798 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 821 source4/heimdal/lib/krb5/addr_families.c krb5_sockaddr2port (krb5_context context,
context 826 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 856 source4/heimdal/lib/krb5/addr_families.c krb5_addr2sockaddr (krb5_context context,
context 865 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 872 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context,
context 944 source4/heimdal/lib/krb5/addr_families.c krb5_h_addr2sockaddr (krb5_context context,
context 952 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 975 source4/heimdal/lib/krb5/addr_families.c krb5_h_addr2addr (krb5_context context,
context 981 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 1006 source4/heimdal/lib/krb5/addr_families.c krb5_anyaddr (krb5_context context,
context 1015 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 1091 source4/heimdal/lib/krb5/addr_families.c krb5_parse_address(krb5_context context,
context 1106 source4/heimdal/lib/krb5/addr_families.c if((*at[i].parse_addr)(context, string, &addr) == 0) {
context 1109 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message(context, ENOMEM,
context 1124 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, ret2, "%s: %s",
context 1135 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message(context, ENOMEM,
context 1143 source4/heimdal/lib/krb5/addr_families.c if (krb5_sockaddr2address (context, ai->ai_addr, &addresses->val[i]))
context 1145 source4/heimdal/lib/krb5/addr_families.c if(krb5_address_search(context, &addresses->val[i], addresses))
context 1170 source4/heimdal/lib/krb5/addr_families.c krb5_address_order(krb5_context context,
context 1179 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 1185 source4/heimdal/lib/krb5/addr_families.c return (*a->order_addr)(context, addr1, addr2);
context 1188 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, KRB5_PROG_ATYPE_NOSUPP,
context 1194 source4/heimdal/lib/krb5/addr_families.c return (*a->order_addr)(context, addr1, addr2);
context 1219 source4/heimdal/lib/krb5/addr_families.c krb5_address_compare(krb5_context context,
context 1223 source4/heimdal/lib/krb5/addr_families.c return krb5_address_order (context, addr1, addr2) == 0;
context 1240 source4/heimdal/lib/krb5/addr_families.c krb5_address_search(krb5_context context,
context 1247 source4/heimdal/lib/krb5/addr_families.c if (krb5_address_compare (context, addr, &addrlist->val[i]))
context 1265 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(krb5_context context,
context 1270 source4/heimdal/lib/krb5/addr_families.c return (*a->free_addr)(context, address);
context 1289 source4/heimdal/lib/krb5/addr_families.c krb5_free_addresses(krb5_context context,
context 1294 source4/heimdal/lib/krb5/addr_families.c krb5_free_address(context, &addresses->val[i]);
context 1315 source4/heimdal/lib/krb5/addr_families.c krb5_copy_address(krb5_context context,
context 1321 source4/heimdal/lib/krb5/addr_families.c return (*a->copy_addr)(context, inaddr, outaddr);
context 1339 source4/heimdal/lib/krb5/addr_families.c krb5_copy_addresses(krb5_context context,
context 1348 source4/heimdal/lib/krb5/addr_families.c krb5_copy_address(context, &inaddr->val[i], &outaddr->val[i]);
context 1366 source4/heimdal/lib/krb5/addr_families.c krb5_append_addresses(krb5_context context,
context 1376 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, ENOMEM,
context 1383 source4/heimdal/lib/krb5/addr_families.c if(krb5_address_search(context, &source->val[i], dest))
context 1385 source4/heimdal/lib/krb5/addr_families.c ret = krb5_copy_address(context,
context 1410 source4/heimdal/lib/krb5/addr_families.c krb5_make_addrport (krb5_context context,
context 1419 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, ENOMEM,
context 1426 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message (context, ret,
context 1478 source4/heimdal/lib/krb5/addr_families.c krb5_address_prefixlen_boundary(krb5_context context,
context 1486 source4/heimdal/lib/krb5/addr_families.c return (*a->mask_boundary)(context, inaddr, prefixlen, low, high);
context 1487 source4/heimdal/lib/krb5/addr_families.c krb5_set_error_message(context, KRB5_PROG_ATYPE_NOSUPP,
context 39 source4/heimdal/lib/krb5/appdefault.c krb5_appdefault_boolean(krb5_context context, const char *appname,
context 47 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_bool_default(context, NULL, def_val,
context 50 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_bool_default(context, NULL, def_val,
context 53 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_bool_default(context, NULL, def_val,
context 58 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_bool_default(context, NULL, def_val,
context 64 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_bool_default(context, NULL, def_val,
context 70 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_bool_default(context, NULL, def_val,
context 81 source4/heimdal/lib/krb5/appdefault.c krb5_appdefault_string(krb5_context context, const char *appname,
context 88 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_string_default(context, NULL, def_val,
context 91 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_string_default(context, NULL, def_val,
context 94 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_string_default(context, NULL, def_val,
context 99 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_string_default(context, NULL, def_val,
context 105 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_string_default(context, NULL, def_val,
context 111 source4/heimdal/lib/krb5/appdefault.c def_val = krb5_config_get_string_default(context, NULL, def_val,
context 125 source4/heimdal/lib/krb5/appdefault.c krb5_appdefault_time(krb5_context context, const char *appname,
context 132 source4/heimdal/lib/krb5/appdefault.c krb5_appdefault_string(context, appname, realm, option, NULL, &val);
context 50 source4/heimdal/lib/krb5/asn1_glue.c _krb5_principalname2krb5_principal (krb5_context context,
context 39 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_init(krb5_context context,
context 46 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 52 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 70 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_free(krb5_context context,
context 74 source4/heimdal/lib/krb5/auth_context.c krb5_free_authenticator(context, &auth_context->authenticator);
context 83 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->keyblock);
context 84 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->remote_subkey);
context 85 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->local_subkey);
context 92 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setflags(krb5_context context,
context 102 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getflags(krb5_context context,
context 111 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_addflags(krb5_context context,
context 123 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_removeflags(krb5_context context,
context 135 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setaddrs(krb5_context context,
context 142 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, auth_context->local_address);
context 146 source4/heimdal/lib/krb5/auth_context.c krb5_copy_address(context, local_addr, auth_context->local_address);
context 150 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, auth_context->remote_address);
context 154 source4/heimdal/lib/krb5/auth_context.c krb5_copy_address(context, remote_addr, auth_context->remote_address);
context 160 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_genaddrs(krb5_context context,
context 177 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ret,
context 182 source4/heimdal/lib/krb5/auth_context.c ret = krb5_sockaddr2address (context, local, &local_k_address);
context 185 source4/heimdal/lib/krb5/auth_context.c krb5_sockaddr2port (context, local, &auth_context->local_port);
context 195 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ret,
context 199 source4/heimdal/lib/krb5/auth_context.c ret = krb5_sockaddr2address (context, remote, &remote_k_address);
context 202 source4/heimdal/lib/krb5/auth_context.c krb5_sockaddr2port (context, remote, &auth_context->remote_port);
context 207 source4/heimdal/lib/krb5/auth_context.c ret = krb5_auth_con_setaddrs (context,
context 213 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, lptr);
context 215 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, rptr);
context 221 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setaddrs_from_fd (krb5_context context,
context 231 source4/heimdal/lib/krb5/auth_context.c return krb5_auth_con_genaddrs(context, auth_context, fd, flags);
context 235 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getaddrs(krb5_context context,
context 241 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, *local_addr);
context 244 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 247 source4/heimdal/lib/krb5/auth_context.c krb5_copy_address(context,
context 252 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, *remote_addr);
context 255 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 256 source4/heimdal/lib/krb5/auth_context.c krb5_free_address (context, *local_addr);
context 260 source4/heimdal/lib/krb5/auth_context.c krb5_copy_address(context,
context 267 source4/heimdal/lib/krb5/auth_context.c copy_key(krb5_context context,
context 272 source4/heimdal/lib/krb5/auth_context.c return krb5_copy_keyblock(context, in, out);
context 278 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getkey(krb5_context context,
context 282 source4/heimdal/lib/krb5/auth_context.c return copy_key(context, auth_context->keyblock, keyblock);
context 286 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getlocalsubkey(krb5_context context,
context 290 source4/heimdal/lib/krb5/auth_context.c return copy_key(context, auth_context->local_subkey, keyblock);
context 294 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getremotesubkey(krb5_context context,
context 298 source4/heimdal/lib/krb5/auth_context.c return copy_key(context, auth_context->remote_subkey, keyblock);
context 302 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setkey(krb5_context context,
context 307 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->keyblock);
context 308 source4/heimdal/lib/krb5/auth_context.c return copy_key(context, keyblock, &auth_context->keyblock);
context 312 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setlocalsubkey(krb5_context context,
context 317 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->local_subkey);
context 318 source4/heimdal/lib/krb5/auth_context.c return copy_key(context, keyblock, &auth_context->local_subkey);
context 322 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_generatelocalsubkey(krb5_context context,
context 329 source4/heimdal/lib/krb5/auth_context.c ret = krb5_generate_subkey_extended (context, key,
context 335 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->local_subkey);
context 342 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setremotesubkey(krb5_context context,
context 347 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->remote_subkey);
context 348 source4/heimdal/lib/krb5/auth_context.c return copy_key(context, keyblock, &auth_context->remote_subkey);
context 352 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setcksumtype(krb5_context context,
context 361 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getcksumtype(krb5_context context,
context 370 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setkeytype (krb5_context context,
context 379 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getkeytype (krb5_context context,
context 389 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setenctype(krb5_context context,
context 394 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->keyblock);
context 403 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getenctype(krb5_context context,
context 407 source4/heimdal/lib/krb5/auth_context.c krb5_abortx(context, "unimplemented krb5_auth_getenctype called");
context 412 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getlocalseqnumber(krb5_context context,
context 421 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setlocalseqnumber (krb5_context context,
context 430 source4/heimdal/lib/krb5/auth_context.c krb5_auth_getremoteseqnumber(krb5_context context,
context 439 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setremoteseqnumber (krb5_context context,
context 449 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getauthenticator(krb5_context context,
context 455 source4/heimdal/lib/krb5/auth_context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 466 source4/heimdal/lib/krb5/auth_context.c krb5_free_authenticator(krb5_context context,
context 476 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setuserkey(krb5_context context,
context 481 source4/heimdal/lib/krb5/auth_context.c krb5_free_keyblock(context, auth_context->keyblock);
context 482 source4/heimdal/lib/krb5/auth_context.c return krb5_copy_keyblock(context, keyblock, &auth_context->keyblock);
context 486 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_getrcache(krb5_context context,
context 495 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setrcache(krb5_context context,
context 506 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_initivector(krb5_context context,
context 509 source4/heimdal/lib/krb5/auth_context.c krb5_abortx(context, "unimplemented krb5_auth_con_initivector called");
context 514 source4/heimdal/lib/krb5/auth_context.c krb5_auth_con_setivector(krb5_context context,
context 518 source4/heimdal/lib/krb5/auth_context.c krb5_abortx(context, "unimplemented krb5_auth_con_setivector called");
context 39 source4/heimdal/lib/krb5/build_ap_req.c krb5_build_ap_req (krb5_context context,
context 72 source4/heimdal/lib/krb5/build_ap_req.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 39 source4/heimdal/lib/krb5/build_auth.c make_etypelist(krb5_context context,
context 49 source4/heimdal/lib/krb5/build_auth.c ret = krb5_init_etype(context, &etypes.len, &etypes.val, NULL);
context 59 source4/heimdal/lib/krb5/build_auth.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 65 source4/heimdal/lib/krb5/build_auth.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 79 source4/heimdal/lib/krb5/build_auth.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 84 source4/heimdal/lib/krb5/build_auth.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 91 source4/heimdal/lib/krb5/build_auth.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 103 source4/heimdal/lib/krb5/build_auth.c krb5_build_authenticator (krb5_context context,
context 121 source4/heimdal/lib/krb5/build_auth.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 129 source4/heimdal/lib/krb5/build_auth.c krb5_us_timeofday (context, &auth->ctime, &auth->cusec);
context 131 source4/heimdal/lib/krb5/build_auth.c ret = krb5_auth_con_getlocalsubkey(context, auth_context, &auth->subkey);
context 137 source4/heimdal/lib/krb5/build_auth.c krb5_generate_seq_number (context,
context 156 source4/heimdal/lib/krb5/build_auth.c ret = make_etypelist(context, &auth->authorization_data);
context 170 source4/heimdal/lib/krb5/build_auth.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 172 source4/heimdal/lib/krb5/build_auth.c ret = krb5_crypto_init(context, &cred->session, enctype, &crypto);
context 175 source4/heimdal/lib/krb5/build_auth.c ret = krb5_encrypt (context,
context 181 source4/heimdal/lib/krb5/build_auth.c krb5_crypto_destroy(context, crypto);
context 53 source4/heimdal/lib/krb5/cache.c krb5_cc_register(krb5_context context,
context 59 source4/heimdal/lib/krb5/cache.c for(i = 0; i < context->num_cc_ops && context->cc_ops[i].prefix; i++) {
context 60 source4/heimdal/lib/krb5/cache.c if(strcmp(context->cc_ops[i].prefix, ops->prefix) == 0) {
context 62 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context,
context 71 source4/heimdal/lib/krb5/cache.c if(i == context->num_cc_ops) {
context 72 source4/heimdal/lib/krb5/cache.c krb5_cc_ops *o = realloc(context->cc_ops,
context 73 source4/heimdal/lib/krb5/cache.c (context->num_cc_ops + 1) *
context 74 source4/heimdal/lib/krb5/cache.c sizeof(*context->cc_ops));
context 76 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 80 source4/heimdal/lib/krb5/cache.c context->num_cc_ops++;
context 81 source4/heimdal/lib/krb5/cache.c context->cc_ops = o;
context 82 source4/heimdal/lib/krb5/cache.c memset(context->cc_ops + i, 0,
context 83 source4/heimdal/lib/krb5/cache.c (context->num_cc_ops - i) * sizeof(*context->cc_ops));
context 85 source4/heimdal/lib/krb5/cache.c memcpy(&context->cc_ops[i], ops, sizeof(context->cc_ops[i]));
context 95 source4/heimdal/lib/krb5/cache.c _krb5_cc_allocate(krb5_context context,
context 103 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 119 source4/heimdal/lib/krb5/cache.c allocate_ccache (krb5_context context,
context 126 source4/heimdal/lib/krb5/cache.c ret = _krb5_cc_allocate(context, ops, id);
context 129 source4/heimdal/lib/krb5/cache.c ret = (*id)->ops->resolve(context, id, residual);
context 151 source4/heimdal/lib/krb5/cache.c krb5_cc_resolve(krb5_context context,
context 159 source4/heimdal/lib/krb5/cache.c for(i = 0; i < context->num_cc_ops && context->cc_ops[i].prefix; i++) {
context 160 source4/heimdal/lib/krb5/cache.c size_t prefix_len = strlen(context->cc_ops[i].prefix);
context 162 source4/heimdal/lib/krb5/cache.c if(strncmp(context->cc_ops[i].prefix, name, prefix_len) == 0
context 164 source4/heimdal/lib/krb5/cache.c return allocate_ccache (context, &context->cc_ops[i],
context 170 source4/heimdal/lib/krb5/cache.c return allocate_ccache (context, &krb5_fcc_ops, name, id);
context 172 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_UNKNOWN_TYPE,
context 188 source4/heimdal/lib/krb5/cache.c krb5_cc_gen_new(krb5_context context,
context 192 source4/heimdal/lib/krb5/cache.c return krb5_cc_new_unique(context, ops->prefix, NULL, id);
context 208 source4/heimdal/lib/krb5/cache.c krb5_cc_new_unique(krb5_context context, const char *type,
context 214 source4/heimdal/lib/krb5/cache.c ops = krb5_cc_get_prefix_ops(context, type);
context 216 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_UNKNOWN_TYPE,
context 221 source4/heimdal/lib/krb5/cache.c ret = _krb5_cc_allocate(context, ops, id);
context 224 source4/heimdal/lib/krb5/cache.c return (*id)->ops->gen_new(context, id);
context 235 source4/heimdal/lib/krb5/cache.c krb5_cc_get_name(krb5_context context,
context 238 source4/heimdal/lib/krb5/cache.c return id->ops->get_name(context, id);
context 249 source4/heimdal/lib/krb5/cache.c krb5_cc_get_type(krb5_context context,
context 265 source4/heimdal/lib/krb5/cache.c krb5_cc_get_full_name(krb5_context context,
context 273 source4/heimdal/lib/krb5/cache.c type = krb5_cc_get_type(context, id);
context 275 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_UNKNOWN_TYPE,
context 280 source4/heimdal/lib/krb5/cache.c name = krb5_cc_get_name(context, id);
context 282 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_BADNAME,
context 288 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 303 source4/heimdal/lib/krb5/cache.c krb5_cc_get_ops(krb5_context context, krb5_ccache id)
context 313 source4/heimdal/lib/krb5/cache.c _krb5_expand_default_cc_name(krb5_context context, const char *str, char **res)
context 334 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CONFIG_BADFORMAT,
context 345 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context,
context 360 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM,
context 371 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM,
context 389 source4/heimdal/lib/krb5/cache.c environment_changed(krb5_context context)
context 394 source4/heimdal/lib/krb5/cache.c if (context->default_cc_name_set)
context 402 source4/heimdal/lib/krb5/cache.c if (context->default_cc_name_env) {
context 403 source4/heimdal/lib/krb5/cache.c free(context->default_cc_name_env);
context 404 source4/heimdal/lib/krb5/cache.c context->default_cc_name_env = NULL;
context 408 source4/heimdal/lib/krb5/cache.c if (context->default_cc_name_env == NULL)
context 410 source4/heimdal/lib/krb5/cache.c if (strcmp(e, context->default_cc_name_env) != 0)
context 426 source4/heimdal/lib/krb5/cache.c krb5_cc_switch(krb5_context context, krb5_ccache id)
context 432 source4/heimdal/lib/krb5/cache.c return (*id->ops->set_default)(context, id);
context 442 source4/heimdal/lib/krb5/cache.c krb5_cc_set_default_name(krb5_context context, const char *name)
context 454 source4/heimdal/lib/krb5/cache.c if (context->default_cc_name_env)
context 455 source4/heimdal/lib/krb5/cache.c free(context->default_cc_name_env);
context 456 source4/heimdal/lib/krb5/cache.c context->default_cc_name_env = strdup(e);
context 460 source4/heimdal/lib/krb5/cache.c e = krb5_config_get_string(context, NULL, "libdefaults",
context 463 source4/heimdal/lib/krb5/cache.c ret = _krb5_expand_default_cc_name(context, e, &p);
context 469 source4/heimdal/lib/krb5/cache.c e = krb5_config_get_string(context, NULL, "libdefaults",
context 472 source4/heimdal/lib/krb5/cache.c ops = krb5_cc_get_prefix_ops(context, e);
context 474 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context,
context 481 source4/heimdal/lib/krb5/cache.c ret = (*ops->get_default_name)(context, &p);
context 486 source4/heimdal/lib/krb5/cache.c context->default_cc_name_set = 0;
context 489 source4/heimdal/lib/krb5/cache.c context->default_cc_name_set = 1;
context 493 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 497 source4/heimdal/lib/krb5/cache.c if (context->default_cc_name)
context 498 source4/heimdal/lib/krb5/cache.c free(context->default_cc_name);
context 500 source4/heimdal/lib/krb5/cache.c context->default_cc_name = p;
context 516 source4/heimdal/lib/krb5/cache.c krb5_cc_default_name(krb5_context context)
context 518 source4/heimdal/lib/krb5/cache.c if (context->default_cc_name == NULL || environment_changed(context))
context 519 source4/heimdal/lib/krb5/cache.c krb5_cc_set_default_name(context, NULL);
context 521 source4/heimdal/lib/krb5/cache.c return context->default_cc_name;
context 534 source4/heimdal/lib/krb5/cache.c krb5_cc_default(krb5_context context,
context 537 source4/heimdal/lib/krb5/cache.c const char *p = krb5_cc_default_name(context);
context 540 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 543 source4/heimdal/lib/krb5/cache.c return krb5_cc_resolve(context, p, id);
context 556 source4/heimdal/lib/krb5/cache.c krb5_cc_initialize(krb5_context context,
context 560 source4/heimdal/lib/krb5/cache.c return (*id->ops->init)(context, id, primary_principal);
context 574 source4/heimdal/lib/krb5/cache.c krb5_cc_destroy(krb5_context context,
context 579 source4/heimdal/lib/krb5/cache.c ret = (*id->ops->destroy)(context, id);
context 580 source4/heimdal/lib/krb5/cache.c krb5_cc_close (context, id);
context 594 source4/heimdal/lib/krb5/cache.c krb5_cc_close(krb5_context context,
context 598 source4/heimdal/lib/krb5/cache.c ret = (*id->ops->close)(context, id);
context 613 source4/heimdal/lib/krb5/cache.c krb5_cc_store_cred(krb5_context context,
context 617 source4/heimdal/lib/krb5/cache.c return (*id->ops->store)(context, id, creds);
context 632 source4/heimdal/lib/krb5/cache.c krb5_cc_retrieve_cred(krb5_context context,
context 642 source4/heimdal/lib/krb5/cache.c return (*id->ops->retrieve)(context, id, whichfields,
context 646 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_start_seq_get(context, id, &cursor);
context 649 source4/heimdal/lib/krb5/cache.c while((ret = krb5_cc_next_cred(context, id, &cursor, creds)) == 0){
context 650 source4/heimdal/lib/krb5/cache.c if(krb5_compare_creds(context, whichfields, mcreds, creds)){
context 654 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents (context, creds);
context 656 source4/heimdal/lib/krb5/cache.c krb5_cc_end_seq_get(context, id, &cursor);
context 670 source4/heimdal/lib/krb5/cache.c krb5_cc_get_principal(krb5_context context,
context 674 source4/heimdal/lib/krb5/cache.c return (*id->ops->get_princ)(context, id, principal);
context 688 source4/heimdal/lib/krb5/cache.c krb5_cc_start_seq_get (krb5_context context,
context 692 source4/heimdal/lib/krb5/cache.c return (*id->ops->get_first)(context, id, cursor);
context 706 source4/heimdal/lib/krb5/cache.c krb5_cc_next_cred (krb5_context context,
context 711 source4/heimdal/lib/krb5/cache.c return (*id->ops->get_next)(context, id, cursor, creds);
context 722 source4/heimdal/lib/krb5/cache.c krb5_cc_next_cred_match(krb5_context context,
context 731 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_next_cred(context, id, cursor, creds);
context 734 source4/heimdal/lib/krb5/cache.c if (mcreds == NULL || krb5_compare_creds(context, whichfields, mcreds, creds))
context 736 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents(context, creds);
context 748 source4/heimdal/lib/krb5/cache.c krb5_cc_end_seq_get (krb5_context context,
context 752 source4/heimdal/lib/krb5/cache.c return (*id->ops->end_get)(context, id, cursor);
context 763 source4/heimdal/lib/krb5/cache.c krb5_cc_remove_cred(krb5_context context,
context 769 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context,
context 775 source4/heimdal/lib/krb5/cache.c return (*id->ops->remove_cred)(context, id, which, cred);
context 786 source4/heimdal/lib/krb5/cache.c krb5_cc_set_flags(krb5_context context,
context 790 source4/heimdal/lib/krb5/cache.c return (*id->ops->set_flags)(context, id, flags);
context 800 source4/heimdal/lib/krb5/cache.c krb5_cc_get_flags(krb5_context context,
context 816 source4/heimdal/lib/krb5/cache.c krb5_cc_copy_cache_match(krb5_context context,
context 828 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_get_principal(context, from, &princ);
context 831 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_initialize(context, to, princ);
context 833 source4/heimdal/lib/krb5/cache.c krb5_free_principal(context, princ);
context 836 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_start_seq_get(context, from, &cursor);
context 838 source4/heimdal/lib/krb5/cache.c krb5_free_principal(context, princ);
context 844 source4/heimdal/lib/krb5/cache.c krb5_cc_next_cred_match(context, from, &cursor, &cred,
context 848 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_store_cred(context, to, &cred);
context 849 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents(context, &cred);
context 851 source4/heimdal/lib/krb5/cache.c krb5_cc_end_seq_get(context, from, &cursor);
context 852 source4/heimdal/lib/krb5/cache.c krb5_free_principal(context, princ);
context 864 source4/heimdal/lib/krb5/cache.c krb5_cc_copy_cache(krb5_context context,
context 868 source4/heimdal/lib/krb5/cache.c return krb5_cc_copy_cache_match(context, from, to, 0, NULL, NULL);
context 878 source4/heimdal/lib/krb5/cache.c krb5_cc_copy_creds(krb5_context context,
context 882 source4/heimdal/lib/krb5/cache.c return krb5_cc_copy_cache(context, from, to);
context 893 source4/heimdal/lib/krb5/cache.c krb5_cc_get_version(krb5_context context,
context 897 source4/heimdal/lib/krb5/cache.c return (*id->ops->get_version)(context, id);
context 929 source4/heimdal/lib/krb5/cache.c krb5_cc_get_prefix_ops(krb5_context context, const char *prefix)
context 941 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 948 source4/heimdal/lib/krb5/cache.c for(i = 0; i < context->num_cc_ops && context->cc_ops[i].prefix; i++) {
context 949 source4/heimdal/lib/krb5/cache.c if(strcmp(context->cc_ops[i].prefix, p) == 0) {
context 951 source4/heimdal/lib/krb5/cache.c return &context->cc_ops[i];
context 978 source4/heimdal/lib/krb5/cache.c krb5_cc_cache_get_first (krb5_context context,
context 986 source4/heimdal/lib/krb5/cache.c type = krb5_cc_default_name(context);
context 988 source4/heimdal/lib/krb5/cache.c ops = krb5_cc_get_prefix_ops(context, type);
context 990 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_UNKNOWN_TYPE,
context 997 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_NOSUPP,
context 1006 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1012 source4/heimdal/lib/krb5/cache.c ret = ops->get_cache_first(context, &(*cursor)->cursor);
context 1032 source4/heimdal/lib/krb5/cache.c krb5_cc_cache_next (krb5_context context,
context 1036 source4/heimdal/lib/krb5/cache.c return cursor->ops->get_cache_next(context, cursor->cursor, id);
context 1049 source4/heimdal/lib/krb5/cache.c krb5_cc_cache_end_seq_get (krb5_context context,
context 1053 source4/heimdal/lib/krb5/cache.c ret = cursor->ops->end_cache_get(context, cursor->cursor);
context 1071 source4/heimdal/lib/krb5/cache.c krb5_cc_cache_match (krb5_context context,
context 1081 source4/heimdal/lib/krb5/cache.c ret = krb5_cccol_cursor_new (context, &cursor);
context 1085 source4/heimdal/lib/krb5/cache.c while ((ret = krb5_cccol_cursor_next (context, cursor, &cache)) == 0) {
context 1088 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_get_principal(context, cache, &principal);
context 1092 source4/heimdal/lib/krb5/cache.c match = krb5_principal_compare(context, principal, client);
context 1093 source4/heimdal/lib/krb5/cache.c krb5_free_principal(context, principal);
context 1098 source4/heimdal/lib/krb5/cache.c krb5_cc_close(context, cache);
context 1102 source4/heimdal/lib/krb5/cache.c krb5_cccol_cursor_free(context, &cursor);
context 1107 source4/heimdal/lib/krb5/cache.c krb5_unparse_name(context, client, &str);
context 1109 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_NOTFOUND,
context 1137 source4/heimdal/lib/krb5/cache.c krb5_cc_move(krb5_context context, krb5_ccache from, krb5_ccache to)
context 1142 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_NOSUPP,
context 1148 source4/heimdal/lib/krb5/cache.c ret = (*to->ops->move)(context, from, to);
context 1160 source4/heimdal/lib/krb5/cache.c build_conf_principals(krb5_context context, krb5_ccache id,
context 1170 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_get_principal(context, id, &client);
context 1175 source4/heimdal/lib/krb5/cache.c ret = krb5_unparse_name(context, principal, &pname);
context 1180 source4/heimdal/lib/krb5/cache.c ret = krb5_make_principal(context, &cred->server,
context 1181 source4/heimdal/lib/krb5/cache.c krb5_principal_get_realm(context, client),
context 1185 source4/heimdal/lib/krb5/cache.c krb5_free_principal(context, client);
context 1188 source4/heimdal/lib/krb5/cache.c ret = krb5_copy_principal(context, client, &cred->client);
context 1189 source4/heimdal/lib/krb5/cache.c krb5_free_principal(context, client);
context 1205 source4/heimdal/lib/krb5/cache.c krb5_is_config_principal(krb5_context context,
context 1233 source4/heimdal/lib/krb5/cache.c krb5_cc_set_config(krb5_context context, krb5_ccache id,
context 1240 source4/heimdal/lib/krb5/cache.c ret = build_conf_principals(context, id, principal, name, &cred);
context 1245 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_remove_cred(context, id, 0, &cred);
context 1257 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_store_cred(context, id, &cred);
context 1260 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents (context, &cred);
context 1279 source4/heimdal/lib/krb5/cache.c krb5_cc_get_config(krb5_context context, krb5_ccache id,
context 1289 source4/heimdal/lib/krb5/cache.c ret = build_conf_principals(context, id, principal, name, &mcred);
context 1293 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_retrieve_cred(context, id, 0, &mcred, &cred);
context 1300 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents (context, &cred);
context 1301 source4/heimdal/lib/krb5/cache.c krb5_free_cred_contents (context, &mcred);
context 1327 source4/heimdal/lib/krb5/cache.c krb5_cccol_cursor_new(krb5_context context, krb5_cccol_cursor *cursor)
context 1331 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1357 source4/heimdal/lib/krb5/cache.c krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor,
context 1364 source4/heimdal/lib/krb5/cache.c while (cursor->idx < context->num_cc_ops) {
context 1367 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_cache_get_first (context,
context 1368 source4/heimdal/lib/krb5/cache.c context->cc_ops[cursor->idx].prefix,
context 1375 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_cache_next(context, cursor->cursor, cache);
context 1379 source4/heimdal/lib/krb5/cache.c krb5_cc_cache_end_seq_get(context, cursor->cursor);
context 1386 source4/heimdal/lib/krb5/cache.c if (cursor->idx >= context->num_cc_ops) {
context 1387 source4/heimdal/lib/krb5/cache.c krb5_set_error_message(context, KRB5_CC_END,
context 1408 source4/heimdal/lib/krb5/cache.c krb5_cccol_cursor_free(krb5_context context, krb5_cccol_cursor *cursor)
context 1415 source4/heimdal/lib/krb5/cache.c krb5_cc_cache_end_seq_get(context, c->cursor);
context 1435 source4/heimdal/lib/krb5/cache.c krb5_cc_last_change_time(krb5_context context,
context 1440 source4/heimdal/lib/krb5/cache.c return (*id->ops->lastchange)(context, id, mtime);
context 1458 source4/heimdal/lib/krb5/cache.c krb5_cccol_last_change_time(krb5_context context,
context 1469 source4/heimdal/lib/krb5/cache.c ret = krb5_cccol_cursor_new (context, &cursor);
context 1473 source4/heimdal/lib/krb5/cache.c while ((ret = krb5_cccol_cursor_next (context, cursor, &id)) == 0) {
context 1475 source4/heimdal/lib/krb5/cache.c if (type && strcmp(krb5_cc_get_type(context, id), type) != 0)
context 1478 source4/heimdal/lib/krb5/cache.c ret = krb5_cc_last_change_time(context, id, &t);
context 1479 source4/heimdal/lib/krb5/cache.c krb5_cc_close(context, id);
context 1486 source4/heimdal/lib/krb5/cache.c krb5_cccol_cursor_free(context, &cursor);
context 70 source4/heimdal/lib/krb5/changepw.c chgpw_send_request (krb5_context context,
context 93 source4/heimdal/lib/krb5/changepw.c krb5_principal_compare(context, creds->client, targprinc) != TRUE)
context 98 source4/heimdal/lib/krb5/changepw.c ret = krb5_mk_req_extended (context,
context 112 source4/heimdal/lib/krb5/changepw.c ret = krb5_mk_priv (context,
context 148 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, ret, "sendmsg %s: %s",
context 164 source4/heimdal/lib/krb5/changepw.c setpw_send_request (krb5_context context,
context 186 source4/heimdal/lib/krb5/changepw.c ret = krb5_mk_req_extended (context,
context 213 source4/heimdal/lib/krb5/changepw.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 215 source4/heimdal/lib/krb5/changepw.c ret = krb5_mk_priv (context,
context 258 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, ret, "sendmsg %s: %s",
context 270 source4/heimdal/lib/krb5/changepw.c process_reply (krb5_context context,
context 295 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, save_errno,
context 300 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, 1,"recvfrom timeout %s", host);
context 314 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, ENOMEM,
context 323 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, save_errno,
context 401 source4/heimdal/lib/krb5/changepw.c ret = krb5_rd_rep (context,
context 408 source4/heimdal/lib/krb5/changepw.c krb5_free_ap_rep_enc_part (context, ap_rep);
context 410 source4/heimdal/lib/krb5/changepw.c ret = krb5_rd_priv (context,
context 444 source4/heimdal/lib/krb5/changepw.c krb5_warnx (context, "too short e_data to print anything usable");
context 509 source4/heimdal/lib/krb5/changepw.c change_password_loop (krb5_context context,
context 532 source4/heimdal/lib/krb5/changepw.c ret = krb5_auth_con_init (context, &auth_context);
context 536 source4/heimdal/lib/krb5/changepw.c krb5_auth_con_setflags (context, auth_context,
context 539 source4/heimdal/lib/krb5/changepw.c ret = krb5_krbhst_init (context, realm, KRB5_KRBHST_CHANGEPW, &handle);
context 543 source4/heimdal/lib/krb5/changepw.c while (!done && (ret = krb5_krbhst_next(context, handle, &hi)) == 0) {
context 562 source4/heimdal/lib/krb5/changepw.c ret = krb5_krbhst_get_addrinfo(context, hi, &ai);
context 580 source4/heimdal/lib/krb5/changepw.c ret = krb5_auth_con_genaddrs (context, auth_context, sock,
context 594 source4/heimdal/lib/krb5/changepw.c ret = (*proc->send_req) (context,
context 610 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context, ret,
context 627 source4/heimdal/lib/krb5/changepw.c ret = (*proc->process_rep) (context,
context 648 source4/heimdal/lib/krb5/changepw.c krb5_krbhst_free (context, handle);
context 649 source4/heimdal/lib/krb5/changepw.c krb5_auth_con_free (context, auth_context);
context 652 source4/heimdal/lib/krb5/changepw.c krb5_set_error_message(context,
context 690 source4/heimdal/lib/krb5/changepw.c krb5_change_password (krb5_context context,
context 707 source4/heimdal/lib/krb5/changepw.c return change_password_loop(context, creds, NULL, newpw,
context 732 source4/heimdal/lib/krb5/changepw.c krb5_set_password(krb5_context context,
context 749 source4/heimdal/lib/krb5/changepw.c ret = krb5_get_default_principal(context, &principal);
context 757 source4/heimdal/lib/krb5/changepw.c ret = change_password_loop(context, creds, principal, newpw,
context 766 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, principal);
context 777 source4/heimdal/lib/krb5/changepw.c krb5_set_password_using_ccache(krb5_context context,
context 796 source4/heimdal/lib/krb5/changepw.c ret = krb5_cc_get_principal(context, ccache, &principal);
context 802 source4/heimdal/lib/krb5/changepw.c ret = krb5_make_principal(context, &creds.server,
context 803 source4/heimdal/lib/krb5/changepw.c krb5_principal_get_realm(context, principal),
context 808 source4/heimdal/lib/krb5/changepw.c ret = krb5_cc_get_principal(context, ccache, &creds.client);
context 810 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, creds.server);
context 814 source4/heimdal/lib/krb5/changepw.c ret = krb5_get_credentials(context, 0, ccache, &creds, &credsp);
context 815 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, creds.server);
context 816 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, creds.client);
context 820 source4/heimdal/lib/krb5/changepw.c ret = krb5_set_password(context,
context 828 source4/heimdal/lib/krb5/changepw.c krb5_free_creds(context, credsp);
context 833 source4/heimdal/lib/krb5/changepw.c krb5_free_principal(context, principal);
context 844 source4/heimdal/lib/krb5/changepw.c krb5_passwd_result_to_string (krb5_context context,
context 44 source4/heimdal/lib/krb5/codec.c krb5_decode_EncTicketPart (krb5_context context,
context 55 source4/heimdal/lib/krb5/codec.c krb5_encode_EncTicketPart (krb5_context context,
context 66 source4/heimdal/lib/krb5/codec.c krb5_decode_EncASRepPart (krb5_context context,
context 77 source4/heimdal/lib/krb5/codec.c krb5_encode_EncASRepPart (krb5_context context,
context 88 source4/heimdal/lib/krb5/codec.c krb5_decode_EncTGSRepPart (krb5_context context,
context 99 source4/heimdal/lib/krb5/codec.c krb5_encode_EncTGSRepPart (krb5_context context,
context 110 source4/heimdal/lib/krb5/codec.c krb5_decode_EncAPRepPart (krb5_context context,
context 121 source4/heimdal/lib/krb5/codec.c krb5_encode_EncAPRepPart (krb5_context context,
context 132 source4/heimdal/lib/krb5/codec.c krb5_decode_Authenticator (krb5_context context,
context 143 source4/heimdal/lib/krb5/codec.c krb5_encode_Authenticator (krb5_context context,
context 154 source4/heimdal/lib/krb5/codec.c krb5_decode_EncKrbCredPart (krb5_context context,
context 165 source4/heimdal/lib/krb5/codec.c krb5_encode_EncKrbCredPart (krb5_context context,
context 176 source4/heimdal/lib/krb5/codec.c krb5_decode_ETYPE_INFO (krb5_context context,
context 187 source4/heimdal/lib/krb5/codec.c krb5_encode_ETYPE_INFO (krb5_context context,
context 198 source4/heimdal/lib/krb5/codec.c krb5_decode_ETYPE_INFO2 (krb5_context context,
context 209 source4/heimdal/lib/krb5/codec.c krb5_encode_ETYPE_INFO2 (krb5_context context,
context 285 source4/heimdal/lib/krb5/config_file.c krb5_config_parse_string_multi(krb5_context context,
context 298 source4/heimdal/lib/krb5/config_file.c krb5_set_error_message (context, ret, "%s:%u: %s",
context 306 source4/heimdal/lib/krb5/config_file.c krb5_config_parse_file_multi (krb5_context context,
context 318 source4/heimdal/lib/krb5/config_file.c krb5_set_error_message (context, ret, "open %s: %s",
context 326 source4/heimdal/lib/krb5/config_file.c krb5_set_error_message (context, ret, "%s:%u: %s", fname, lineno, str);
context 333 source4/heimdal/lib/krb5/config_file.c krb5_config_parse_file (krb5_context context,
context 338 source4/heimdal/lib/krb5/config_file.c return krb5_config_parse_file_multi(context, fname, res);
context 344 source4/heimdal/lib/krb5/config_file.c free_binding (krb5_context context, krb5_config_binding *b)
context 353 source4/heimdal/lib/krb5/config_file.c free_binding (context, b->u.list);
context 355 source4/heimdal/lib/krb5/config_file.c krb5_abortx(context, "unknown binding type (%d) in free_binding",
context 364 source4/heimdal/lib/krb5/config_file.c krb5_config_file_free (krb5_context context, krb5_config_section *s)
context 366 source4/heimdal/lib/krb5/config_file.c free_binding (context, s);
context 371 source4/heimdal/lib/krb5/config_file.c _krb5_config_copy(krb5_context context,
context 390 source4/heimdal/lib/krb5/config_file.c _krb5_config_copy (context, c->u.list, &d->u.list);
context 392 source4/heimdal/lib/krb5/config_file.c krb5_abortx(context,
context 407 source4/heimdal/lib/krb5/config_file.c krb5_config_get_next (krb5_context context,
context 417 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_next (context, c, pointer, type, args);
context 423 source4/heimdal/lib/krb5/config_file.c vget_next(krb5_context context,
context 437 source4/heimdal/lib/krb5/config_file.c return vget_next(context, b->u.list, pointer, type, p, args);
context 446 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_next (krb5_context context,
context 456 source4/heimdal/lib/krb5/config_file.c c = context->cf;
context 467 source4/heimdal/lib/krb5/config_file.c return vget_next(context, c, pointer, type, p, args);
context 482 source4/heimdal/lib/krb5/config_file.c krb5_config_get (krb5_context context,
context 491 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget (context, c, type, args);
context 497 source4/heimdal/lib/krb5/config_file.c krb5_config_vget (krb5_context context,
context 504 source4/heimdal/lib/krb5/config_file.c return krb5_config_vget_next (context, c, &foo, type, args);
context 508 source4/heimdal/lib/krb5/config_file.c krb5_config_get_list (krb5_context context,
context 516 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_list (context, c, args);
context 522 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_list (krb5_context context,
context 526 source4/heimdal/lib/krb5/config_file.c return krb5_config_vget (context, c, krb5_config_list, args);
context 530 source4/heimdal/lib/krb5/config_file.c krb5_config_get_string (krb5_context context,
context 538 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_string (context, c, args);
context 544 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_string (krb5_context context,
context 548 source4/heimdal/lib/krb5/config_file.c return krb5_config_vget (context, c, krb5_config_string, args);
context 552 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_string_default (krb5_context context,
context 559 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_string (context, c, args);
context 566 source4/heimdal/lib/krb5/config_file.c krb5_config_get_string_default (krb5_context context,
context 575 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_string_default (context, c, def_value, args);
context 581 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_strings(krb5_context context,
context 590 source4/heimdal/lib/krb5/config_file.c while((p = krb5_config_vget_next(context, c, &b,
context 628 source4/heimdal/lib/krb5/config_file.c krb5_config_get_strings(krb5_context context,
context 635 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_strings(context, c, ap);
context 652 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_bool_default (krb5_context context,
context 658 source4/heimdal/lib/krb5/config_file.c str = krb5_config_vget_string (context, c, args);
context 668 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_bool (krb5_context context,
context 672 source4/heimdal/lib/krb5/config_file.c return krb5_config_vget_bool_default (context, c, FALSE, args);
context 676 source4/heimdal/lib/krb5/config_file.c krb5_config_get_bool_default (krb5_context context,
context 684 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_bool_default(context, c, def_value, ap);
context 690 source4/heimdal/lib/krb5/config_file.c krb5_config_get_bool (krb5_context context,
context 697 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_bool (context, c, ap);
context 703 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_time_default (krb5_context context,
context 711 source4/heimdal/lib/krb5/config_file.c str = krb5_config_vget_string (context, c, args);
context 720 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_time (krb5_context context,
context 724 source4/heimdal/lib/krb5/config_file.c return krb5_config_vget_time_default (context, c, -1, args);
context 728 source4/heimdal/lib/krb5/config_file.c krb5_config_get_time_default (krb5_context context,
context 736 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_time_default(context, c, def_value, ap);
context 742 source4/heimdal/lib/krb5/config_file.c krb5_config_get_time (krb5_context context,
context 749 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_time (context, c, ap);
context 756 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_int_default (krb5_context context,
context 762 source4/heimdal/lib/krb5/config_file.c str = krb5_config_vget_string (context, c, args);
context 777 source4/heimdal/lib/krb5/config_file.c krb5_config_vget_int (krb5_context context,
context 781 source4/heimdal/lib/krb5/config_file.c return krb5_config_vget_int_default (context, c, -1, args);
context 785 source4/heimdal/lib/krb5/config_file.c krb5_config_get_int_default (krb5_context context,
context 793 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_int_default(context, c, def_value, ap);
context 799 source4/heimdal/lib/krb5/config_file.c krb5_config_get_int (krb5_context context,
context 806 source4/heimdal/lib/krb5/config_file.c ret = krb5_config_vget_int (context, c, ap);
context 134 source4/heimdal/lib/krb5/config_file_netinfo.c krb5_config_parse_file (krb5_context context,
context 56 source4/heimdal/lib/krb5/context.c set_etypes (krb5_context context,
context 63 source4/heimdal/lib/krb5/context.c etypes_str = krb5_config_get_strings(context, NULL, "libdefaults",
context 71 source4/heimdal/lib/krb5/context.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 76 source4/heimdal/lib/krb5/context.c if(krb5_string_to_enctype(context, etypes_str[j], &e) != 0)
context 78 source4/heimdal/lib/krb5/context.c if (krb5_enctype_valid(context, e) != 0)
context 94 source4/heimdal/lib/krb5/context.c copy_etypes (krb5_context context,
context 106 source4/heimdal/lib/krb5/context.c krb5_set_error_message(context, ENOMEM,
context 120 source4/heimdal/lib/krb5/context.c init_context_from_config_file(krb5_context context)
context 126 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, time, max_skew, 5 * 60, "clockskew");
context 127 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, time, kdc_timeout, 3, "kdc_timeout");
context 128 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, int, max_retries, 3, "max_retries");
context 130 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, string, http_proxy, NULL, "http_proxy");
context 132 source4/heimdal/lib/krb5/context.c ret = set_etypes (context, "default_etypes", &tmptypes);
context 135 source4/heimdal/lib/krb5/context.c free(context->etypes);
context 136 source4/heimdal/lib/krb5/context.c context->etypes = tmptypes;
context 138 source4/heimdal/lib/krb5/context.c ret = set_etypes (context, "default_etypes_des", &tmptypes);
context 141 source4/heimdal/lib/krb5/context.c free(context->etypes_des);
context 142 source4/heimdal/lib/krb5/context.c context->etypes_des = tmptypes;
context 149 source4/heimdal/lib/krb5/context.c context->default_keytab = tmp;
context 151 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, string, default_keytab,
context 154 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, string, default_keytab_modify,
context 157 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, string, time_fmt,
context 160 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, string, date_fmt,
context 163 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, bool, log_utc,
context 169 source4/heimdal/lib/krb5/context.c tmp = krb5_config_get_string(context, NULL, "libdefaults",
context 172 source4/heimdal/lib/krb5/context.c roken_gethostby_setup(context->http_proxy, tmp);
context 173 source4/heimdal/lib/krb5/context.c krb5_free_host_realm (context, context->default_realms);
context 174 source4/heimdal/lib/krb5/context.c context->default_realms = NULL;
context 180 source4/heimdal/lib/krb5/context.c krb5_set_extra_addresses(context, NULL);
context 181 source4/heimdal/lib/krb5/context.c adr = krb5_config_get_strings(context, NULL,
context 187 source4/heimdal/lib/krb5/context.c ret = krb5_parse_address(context, *a, &addresses);
context 189 source4/heimdal/lib/krb5/context.c krb5_add_extra_addresses(context, &addresses);
context 190 source4/heimdal/lib/krb5/context.c krb5_free_addresses(context, &addresses);
context 195 source4/heimdal/lib/krb5/context.c krb5_set_ignore_addresses(context, NULL);
context 196 source4/heimdal/lib/krb5/context.c adr = krb5_config_get_strings(context, NULL,
context 202 source4/heimdal/lib/krb5/context.c ret = krb5_parse_address(context, *a, &addresses);
context 204 source4/heimdal/lib/krb5/context.c krb5_add_ignore_addresses(context, &addresses);
context 205 source4/heimdal/lib/krb5/context.c krb5_free_addresses(context, &addresses);
context 211 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, bool, scan_interfaces, TRUE, "scan_interfaces");
context 212 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, int, fcache_vno, 0, "fcache_version");
context 214 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, bool, srv_lookup, TRUE, "srv_lookup");
context 215 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, bool, srv_lookup, context->srv_lookup, "dns_lookup_kdc");
context 216 source4/heimdal/lib/krb5/context.c INIT_FIELD(context, int, large_msg_size, 1400, "large_message_size");
context 217 source4/heimdal/lib/krb5/context.c INIT_FLAG(context, flags, KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME, TRUE, "dns_canonicalize_hostname");
context 218 source4/heimdal/lib/krb5/context.c INIT_FLAG(context, flags, KRB5_CTX_F_CHECK_PAC, TRUE, "check_pac");
context 219 source4/heimdal/lib/krb5/context.c context->default_cc_name = NULL;
context 220 source4/heimdal/lib/krb5/context.c context->default_cc_name_set = 0;
context 222 source4/heimdal/lib/krb5/context.c ret = krb5_config_get_bool_default(context, NULL, FALSE,
context 226 source4/heimdal/lib/krb5/context.c krb5_enctype_enable(context, ETYPE_DES_CBC_CRC);
context 227 source4/heimdal/lib/krb5/context.c krb5_enctype_enable(context, ETYPE_DES_CBC_MD4);
context 228 source4/heimdal/lib/krb5/context.c krb5_enctype_enable(context, ETYPE_DES_CBC_MD5);
context 229 source4/heimdal/lib/krb5/context.c krb5_enctype_enable(context, ETYPE_DES_CBC_NONE);
context 230 source4/heimdal/lib/krb5/context.c krb5_enctype_enable(context, ETYPE_DES_CFB64_NONE);
context 231 source4/heimdal/lib/krb5/context.c krb5_enctype_enable(context, ETYPE_DES_PCBC_NONE);
context 238 source4/heimdal/lib/krb5/context.c cc_ops_register(krb5_context context)
context 240 source4/heimdal/lib/krb5/context.c context->cc_ops = NULL;
context 241 source4/heimdal/lib/krb5/context.c context->num_cc_ops = 0;
context 243 source4/heimdal/lib/krb5/context.c krb5_cc_register(context, &krb5_acc_ops, TRUE);
context 244 source4/heimdal/lib/krb5/context.c krb5_cc_register(context, &krb5_fcc_ops, TRUE);
context 245 source4/heimdal/lib/krb5/context.c krb5_cc_register(context, &krb5_mcc_ops, TRUE);
context 247 source4/heimdal/lib/krb5/context.c krb5_cc_register(context, &krb5_scc_ops, TRUE);
context 250 source4/heimdal/lib/krb5/context.c krb5_cc_register(context, &krb5_kcm_ops, TRUE);
context 256 source4/heimdal/lib/krb5/context.c kt_ops_register(krb5_context context)
context 258 source4/heimdal/lib/krb5/context.c context->num_kt_types = 0;
context 259 source4/heimdal/lib/krb5/context.c context->kt_types = NULL;
context 261 source4/heimdal/lib/krb5/context.c krb5_kt_register (context, &krb5_fkt_ops);
context 262 source4/heimdal/lib/krb5/context.c krb5_kt_register (context, &krb5_wrfkt_ops);
context 263 source4/heimdal/lib/krb5/context.c krb5_kt_register (context, &krb5_javakt_ops);
context 264 source4/heimdal/lib/krb5/context.c krb5_kt_register (context, &krb5_mkt_ops);
context 266 source4/heimdal/lib/krb5/context.c krb5_kt_register (context, &krb5_akf_ops);
context 268 source4/heimdal/lib/krb5/context.c krb5_kt_register (context, &krb5_any_ops);
context 289 source4/heimdal/lib/krb5/context.c krb5_init_context(krb5_context *context)
context 295 source4/heimdal/lib/krb5/context.c *context = NULL;
context 331 source4/heimdal/lib/krb5/context.c *context = p;
context 349 source4/heimdal/lib/krb5/context.c krb5_copy_context(krb5_context context, krb5_context *out)
context 358 source4/heimdal/lib/krb5/context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 364 source4/heimdal/lib/krb5/context.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 371 source4/heimdal/lib/krb5/context.c if (context->default_cc_name)
context 372 source4/heimdal/lib/krb5/context.c p->default_cc_name = strdup(context->default_cc_name);
context 373 source4/heimdal/lib/krb5/context.c if (context->default_cc_name_env)
context 374 source4/heimdal/lib/krb5/context.c p->default_cc_name_env = strdup(context->default_cc_name_env);
context 376 source4/heimdal/lib/krb5/context.c if (context->etypes) {
context 377 source4/heimdal/lib/krb5/context.c ret = copy_etypes(context, context->etypes, &p->etypes);
context 381 source4/heimdal/lib/krb5/context.c if (context->etypes_des) {
context 382 source4/heimdal/lib/krb5/context.c ret = copy_etypes(context, context->etypes_des, &p->etypes_des);
context 387 source4/heimdal/lib/krb5/context.c if (context->default_realms) {
context 388 source4/heimdal/lib/krb5/context.c ret = krb5_copy_host_realm(context,
context 389 source4/heimdal/lib/krb5/context.c context->default_realms, &p->default_realms);
context 394 source4/heimdal/lib/krb5/context.c ret = _krb5_config_copy(context, context->cf, &p->cf);
context 404 source4/heimdal/lib/krb5/context.c if(context->warn_dest != NULL)
context 408 source4/heimdal/lib/krb5/context.c ret = krb5_set_extra_addresses(p, context->extra_addresses);
context 411 source4/heimdal/lib/krb5/context.c ret = krb5_set_extra_addresses(p, context->ignore_addresses);
context 415 source4/heimdal/lib/krb5/context.c ret = _krb5_copy_send_to_kdc_func(p, context);
context 437 source4/heimdal/lib/krb5/context.c krb5_free_context(krb5_context context)
context 439 source4/heimdal/lib/krb5/context.c if (context->default_cc_name)
context 440 source4/heimdal/lib/krb5/context.c free(context->default_cc_name);
context 441 source4/heimdal/lib/krb5/context.c if (context->default_cc_name_env)
context 442 source4/heimdal/lib/krb5/context.c free(context->default_cc_name_env);
context 443 source4/heimdal/lib/krb5/context.c free(context->etypes);
context 444 source4/heimdal/lib/krb5/context.c free(context->etypes_des);
context 445 source4/heimdal/lib/krb5/context.c krb5_free_host_realm (context, context->default_realms);
context 446 source4/heimdal/lib/krb5/context.c krb5_config_file_free (context, context->cf);
context 447 source4/heimdal/lib/krb5/context.c free_error_table (context->et_list);
context 448 source4/heimdal/lib/krb5/context.c free(context->cc_ops);
context 449 source4/heimdal/lib/krb5/context.c free(context->kt_types);
context 450 source4/heimdal/lib/krb5/context.c krb5_clear_error_message(context);
context 451 source4/heimdal/lib/krb5/context.c if(context->warn_dest != NULL)
context 452 source4/heimdal/lib/krb5/context.c krb5_closelog(context, context->warn_dest);
context 453 source4/heimdal/lib/krb5/context.c krb5_set_extra_addresses(context, NULL);
context 454 source4/heimdal/lib/krb5/context.c krb5_set_ignore_addresses(context, NULL);
context 455 source4/heimdal/lib/krb5/context.c krb5_set_send_to_kdc_func(context, NULL, NULL);
context 456 source4/heimdal/lib/krb5/context.c if (context->mutex != NULL) {
context 457 source4/heimdal/lib/krb5/context.c HEIMDAL_MUTEX_destroy(context->mutex);
context 458 source4/heimdal/lib/krb5/context.c free(context->mutex);
context 460 source4/heimdal/lib/krb5/context.c memset(context, 0, sizeof(*context));
context 461 source4/heimdal/lib/krb5/context.c free(context);
context 477 source4/heimdal/lib/krb5/context.c krb5_set_config_files(krb5_context context, char **filenames)
context 482 source4/heimdal/lib/krb5/context.c ret = krb5_config_parse_file_multi(context, *filenames, &tmp);
context 484 source4/heimdal/lib/krb5/context.c krb5_config_file_free(context, tmp);
context 495 source4/heimdal/lib/krb5/context.c krb5_config_file_free(context, context->cf);
context 496 source4/heimdal/lib/krb5/context.c context->cf = tmp;
context 497 source4/heimdal/lib/krb5/context.c ret = init_context_from_config_file(context);
context 675 source4/heimdal/lib/krb5/context.c krb5_kerberos_enctypes(krb5_context context)
context 696 source4/heimdal/lib/krb5/context.c default_etypes(krb5_context context, krb5_enctype **etype)
context 702 source4/heimdal/lib/krb5/context.c p = krb5_kerberos_enctypes(context);
context 705 source4/heimdal/lib/krb5/context.c if (krb5_enctype_valid(context, p[i]) != 0)
context 710 source4/heimdal/lib/krb5/context.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 736 source4/heimdal/lib/krb5/context.c krb5_set_default_in_tkt_etypes(krb5_context context,
context 745 source4/heimdal/lib/krb5/context.c ret = krb5_enctype_valid(context, etypes[i]);
context 752 source4/heimdal/lib/krb5/context.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 757 source4/heimdal/lib/krb5/context.c if(context->etypes)
context 758 source4/heimdal/lib/krb5/context.c free(context->etypes);
context 759 source4/heimdal/lib/krb5/context.c context->etypes = p;
context 778 source4/heimdal/lib/krb5/context.c krb5_get_default_in_tkt_etypes(krb5_context context,
context 785 source4/heimdal/lib/krb5/context.c if(context->etypes) {
context 786 source4/heimdal/lib/krb5/context.c for(i = 0; context->etypes[i]; i++);
context 790 source4/heimdal/lib/krb5/context.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 793 source4/heimdal/lib/krb5/context.c memmove(p, context->etypes, i * sizeof(krb5_enctype));
context 795 source4/heimdal/lib/krb5/context.c ret = default_etypes(context, &p);
context 816 source4/heimdal/lib/krb5/context.c krb5_get_err_text(krb5_context context, krb5_error_code code)
context 819 source4/heimdal/lib/krb5/context.c if(context != NULL)
context 820 source4/heimdal/lib/krb5/context.c p = com_right(context->et_list, code);
context 837 source4/heimdal/lib/krb5/context.c krb5_init_ets(krb5_context context)
context 839 source4/heimdal/lib/krb5/context.c if(context->et_list == NULL){
context 840 source4/heimdal/lib/krb5/context.c krb5_add_et_list(context, initialize_krb5_error_table_r);
context 845 source4/heimdal/lib/krb5/context.c krb5_add_et_list(context, initialize_asn1_error_table_r);
context 850 source4/heimdal/lib/krb5/context.c krb5_add_et_list(context, initialize_heim_error_table_r);
context 855 source4/heimdal/lib/krb5/context.c krb5_add_et_list(context, initialize_k524_error_table_r);
context 861 source4/heimdal/lib/krb5/context.c krb5_add_et_list(context, initialize_hx_error_table_r);
context 879 source4/heimdal/lib/krb5/context.c krb5_set_use_admin_kdc (krb5_context context, krb5_boolean flag)
context 881 source4/heimdal/lib/krb5/context.c context->use_admin_kdc = flag;
context 895 source4/heimdal/lib/krb5/context.c krb5_get_use_admin_kdc (krb5_context context)
context 897 source4/heimdal/lib/krb5/context.c return context->use_admin_kdc;
context 914 source4/heimdal/lib/krb5/context.c krb5_add_extra_addresses(krb5_context context, krb5_addresses *addresses)
context 917 source4/heimdal/lib/krb5/context.c if(context->extra_addresses)
context 918 source4/heimdal/lib/krb5/context.c return krb5_append_addresses(context,
context 919 source4/heimdal/lib/krb5/context.c context->extra_addresses, addresses);
context 921 source4/heimdal/lib/krb5/context.c return krb5_set_extra_addresses(context, addresses);
context 938 source4/heimdal/lib/krb5/context.c krb5_set_extra_addresses(krb5_context context, const krb5_addresses *addresses)
context 940 source4/heimdal/lib/krb5/context.c if(context->extra_addresses)
context 941 source4/heimdal/lib/krb5/context.c krb5_free_addresses(context, context->extra_addresses);
context 944 source4/heimdal/lib/krb5/context.c if(context->extra_addresses != NULL) {
context 945 source4/heimdal/lib/krb5/context.c free(context->extra_addresses);
context 946 source4/heimdal/lib/krb5/context.c context->extra_addresses = NULL;
context 950 source4/heimdal/lib/krb5/context.c if(context->extra_addresses == NULL) {
context 951 source4/heimdal/lib/krb5/context.c context->extra_addresses = malloc(sizeof(*context->extra_addresses));
context 952 source4/heimdal/lib/krb5/context.c if(context->extra_addresses == NULL) {
context 953 source4/heimdal/lib/krb5/context.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 957 source4/heimdal/lib/krb5/context.c return krb5_copy_addresses(context, addresses, context->extra_addresses);
context 974 source4/heimdal/lib/krb5/context.c krb5_get_extra_addresses(krb5_context context, krb5_addresses *addresses)
context 976 source4/heimdal/lib/krb5/context.c if(context->extra_addresses == NULL) {
context 980 source4/heimdal/lib/krb5/context.c return krb5_copy_addresses(context,context->extra_addresses, addresses);
context 997 source4/heimdal/lib/krb5/context.c krb5_add_ignore_addresses(krb5_context context, krb5_addresses *addresses)
context 1000 source4/heimdal/lib/krb5/context.c if(context->ignore_addresses)
context 1001 source4/heimdal/lib/krb5/context.c return krb5_append_addresses(context,
context 1002 source4/heimdal/lib/krb5/context.c context->ignore_addresses, addresses);
context 1004 source4/heimdal/lib/krb5/context.c return krb5_set_ignore_addresses(context, addresses);
context 1021 source4/heimdal/lib/krb5/context.c krb5_set_ignore_addresses(krb5_context context, const krb5_addresses *addresses)
context 1023 source4/heimdal/lib/krb5/context.c if(context->ignore_addresses)
context 1024 source4/heimdal/lib/krb5/context.c krb5_free_addresses(context, context->ignore_addresses);
context 1026 source4/heimdal/lib/krb5/context.c if(context->ignore_addresses != NULL) {
context 1027 source4/heimdal/lib/krb5/context.c free(context->ignore_addresses);
context 1028 source4/heimdal/lib/krb5/context.c context->ignore_addresses = NULL;
context 1032 source4/heimdal/lib/krb5/context.c if(context->ignore_addresses == NULL) {
context 1033 source4/heimdal/lib/krb5/context.c context->ignore_addresses = malloc(sizeof(*context->ignore_addresses));
context 1034 source4/heimdal/lib/krb5/context.c if(context->ignore_addresses == NULL) {
context 1035 source4/heimdal/lib/krb5/context.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 1039 source4/heimdal/lib/krb5/context.c return krb5_copy_addresses(context, addresses, context->ignore_addresses);
context 1056 source4/heimdal/lib/krb5/context.c krb5_get_ignore_addresses(krb5_context context, krb5_addresses *addresses)
context 1058 source4/heimdal/lib/krb5/context.c if(context->ignore_addresses == NULL) {
context 1062 source4/heimdal/lib/krb5/context.c return krb5_copy_addresses(context, context->ignore_addresses, addresses);
context 1078 source4/heimdal/lib/krb5/context.c krb5_set_fcache_version(krb5_context context, int version)
context 1080 source4/heimdal/lib/krb5/context.c context->fcache_vno = version;
context 1097 source4/heimdal/lib/krb5/context.c krb5_get_fcache_version(krb5_context context, int *version)
context 1099 source4/heimdal/lib/krb5/context.c *version = context->fcache_vno;
context 1132 source4/heimdal/lib/krb5/context.c krb5_set_dns_canonicalize_hostname (krb5_context context, krb5_boolean flag)
context 1135 source4/heimdal/lib/krb5/context.c context->flags |= KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME;
context 1137 source4/heimdal/lib/krb5/context.c context->flags &= ~KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME;
context 1151 source4/heimdal/lib/krb5/context.c krb5_get_dns_canonicalize_hostname (krb5_context context)
context 1153 source4/heimdal/lib/krb5/context.c return (context->flags & KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME) ? 1 : 0;
context 1169 source4/heimdal/lib/krb5/context.c krb5_get_kdc_sec_offset (krb5_context context, int32_t *sec, int32_t *usec)
context 1172 source4/heimdal/lib/krb5/context.c *sec = context->kdc_sec_offset;
context 1174 source4/heimdal/lib/krb5/context.c *usec = context->kdc_usec_offset;
context 1191 source4/heimdal/lib/krb5/context.c krb5_set_kdc_sec_offset (krb5_context context, int32_t sec, int32_t usec)
context 1193 source4/heimdal/lib/krb5/context.c context->kdc_sec_offset = sec;
context 1195 source4/heimdal/lib/krb5/context.c context->kdc_usec_offset = usec;
context 1210 source4/heimdal/lib/krb5/context.c krb5_get_max_time_skew (krb5_context context)
context 1212 source4/heimdal/lib/krb5/context.c return context->max_skew;
context 1225 source4/heimdal/lib/krb5/context.c krb5_set_max_time_skew (krb5_context context, time_t t)
context 1227 source4/heimdal/lib/krb5/context.c context->max_skew = t;
context 62 source4/heimdal/lib/krb5/convert_creds.c krb524_convert_creds_kdc(krb5_context context,
context 81 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_krbhst_init(context,
context 82 source4/heimdal/lib/krb5/convert_creds.c krb5_principal_get_realm(context,
context 89 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_sendto (context,
context 93 source4/heimdal/lib/krb5/convert_creds.c krb5_krbhst_free(context, handle);
context 100 source4/heimdal/lib/krb5/convert_creds.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 117 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_524_conv_principal(context,
context 127 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_524_conv_principal(context, v5_creds->client,
context 135 source4/heimdal/lib/krb5/convert_creds.c krb5_set_error_message (context, ret,
context 138 source4/heimdal/lib/krb5/convert_creds.c krb5_get_err_text(context, ret));
context 145 source4/heimdal/lib/krb5/convert_creds.c krb5_free_creds (context, v5_creds);
context 165 source4/heimdal/lib/krb5/convert_creds.c krb524_convert_creds_kdc_ccache(krb5_context context,
context 183 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_copy_principal (context, in_cred->client, &template.client);
context 185 source4/heimdal/lib/krb5/convert_creds.c krb5_free_cred_contents (context, &template);
context 188 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_copy_principal (context, in_cred->server, &template.server);
context 190 source4/heimdal/lib/krb5/convert_creds.c krb5_free_cred_contents (context, &template);
context 194 source4/heimdal/lib/krb5/convert_creds.c ret = krb5_get_credentials (context, 0, ccache,
context 196 source4/heimdal/lib/krb5/convert_creds.c krb5_free_cred_contents (context, &template);
context 201 source4/heimdal/lib/krb5/convert_creds.c ret = krb524_convert_creds_kdc(context, v5_creds, v4creds);
context 204 source4/heimdal/lib/krb5/convert_creds.c krb5_free_creds (context, v5_creds);
context 52 source4/heimdal/lib/krb5/copy_host_realm.c krb5_copy_host_realm(krb5_context context,
context 64 source4/heimdal/lib/krb5/copy_host_realm.c krb5_set_error_message (context, ENOMEM,
context 72 source4/heimdal/lib/krb5/copy_host_realm.c krb5_free_host_realm (context, *to);
context 73 source4/heimdal/lib/krb5/copy_host_realm.c krb5_set_error_message (context, ENOMEM,
context 45 source4/heimdal/lib/krb5/creds.c krb5_free_creds_contents (krb5_context context, krb5_creds *c)
context 48 source4/heimdal/lib/krb5/creds.c return krb5_free_cred_contents (context, c);
context 66 source4/heimdal/lib/krb5/creds.c krb5_free_cred_contents (krb5_context context, krb5_creds *c)
context 68 source4/heimdal/lib/krb5/creds.c krb5_free_principal (context, c->client);
context 70 source4/heimdal/lib/krb5/creds.c krb5_free_principal (context, c->server);
context 72 source4/heimdal/lib/krb5/creds.c krb5_free_keyblock_contents (context, &c->session);
context 76 source4/heimdal/lib/krb5/creds.c krb5_free_addresses (context, &c->addresses);
context 95 source4/heimdal/lib/krb5/creds.c krb5_copy_creds_contents (krb5_context context,
context 102 source4/heimdal/lib/krb5/creds.c ret = krb5_copy_principal (context, incred->client, &c->client);
context 105 source4/heimdal/lib/krb5/creds.c ret = krb5_copy_principal (context, incred->server, &c->server);
context 108 source4/heimdal/lib/krb5/creds.c ret = krb5_copy_keyblock_contents (context, &incred->session, &c->session);
context 125 source4/heimdal/lib/krb5/creds.c ret = krb5_copy_addresses (context,
context 134 source4/heimdal/lib/krb5/creds.c krb5_free_cred_contents (context, c);
context 152 source4/heimdal/lib/krb5/creds.c krb5_copy_creds (krb5_context context,
context 160 source4/heimdal/lib/krb5/creds.c krb5_set_error_message (context, ENOMEM,
context 166 source4/heimdal/lib/krb5/creds.c return krb5_copy_creds_contents (context, incred, c);
context 182 source4/heimdal/lib/krb5/creds.c krb5_free_creds (krb5_context context, krb5_creds *c)
context 184 source4/heimdal/lib/krb5/creds.c krb5_free_cred_contents (context, c);
context 214 source4/heimdal/lib/krb5/creds.c krb5_compare_creds(krb5_context context, krb5_flags whichfields,
context 221 source4/heimdal/lib/krb5/creds.c match = krb5_principal_compare_any_realm (context, mcreds->server,
context 224 source4/heimdal/lib/krb5/creds.c match = krb5_principal_compare (context, mcreds->server,
context 230 source4/heimdal/lib/krb5/creds.c match = krb5_principal_compare_any_realm (context, mcreds->client,
context 233 source4/heimdal/lib/krb5/creds.c match = krb5_principal_compare (context, mcreds->client,
context 238 source4/heimdal/lib/krb5/creds.c match = krb5_enctypes_compatible_keys(context,
context 110 source4/heimdal/lib/krb5/crypto.c krb5_enctype (*checksum)(krb5_context context,
context 115 source4/heimdal/lib/krb5/crypto.c krb5_error_code (*verify)(krb5_context context,
context 132 source4/heimdal/lib/krb5/crypto.c krb5_error_code (*encrypt)(krb5_context context,
context 152 source4/heimdal/lib/krb5/crypto.c static krb5_error_code derive_key(krb5_context context,
context 157 source4/heimdal/lib/krb5/crypto.c static krb5_error_code hmac(krb5_context context,
context 184 source4/heimdal/lib/krb5/crypto.c krb5_DES_random_key(krb5_context context,
context 195 source4/heimdal/lib/krb5/crypto.c krb5_DES_schedule_old(krb5_context context,
context 282 source4/heimdal/lib/krb5/crypto.c DES_AFS3_string_to_key(krb5_context context,
context 335 source4/heimdal/lib/krb5/crypto.c krb5_DES_string_to_key(krb5_context context,
context 351 source4/heimdal/lib/krb5/crypto.c return DES_AFS3_string_to_key(context, enctype, password,
context 359 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 374 source4/heimdal/lib/krb5/crypto.c krb5_DES_random_to_key(krb5_context context,
context 392 source4/heimdal/lib/krb5/crypto.c DES3_random_key(krb5_context context,
context 426 source4/heimdal/lib/krb5/crypto.c DES3_string_to_key(krb5_context context,
context 442 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 456 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 491 source4/heimdal/lib/krb5/crypto.c DES3_string_to_key_derived(krb5_context context,
context 504 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 509 source4/heimdal/lib/krb5/crypto.c ret = krb5_string_to_key_derived(context,
context 520 source4/heimdal/lib/krb5/crypto.c DES3_random_to_key(krb5_context context,
context 558 source4/heimdal/lib/krb5/crypto.c ARCFOUR_schedule(krb5_context context,
context 567 source4/heimdal/lib/krb5/crypto.c ARCFOUR_string_to_key(krb5_context context,
context 582 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 590 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ret,
context 597 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM,
context 605 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ret,
context 622 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 642 source4/heimdal/lib/krb5/crypto.c AES_string_to_key(krb5_context context,
context 670 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 676 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ret, N_("malloc: out of memory", ""));
context 685 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et);
context 686 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_KEYTYPE_NOSUPP,
context 691 source4/heimdal/lib/krb5/crypto.c ret = derive_key(context, et, &kd, "kerberos", strlen("kerberos"));
context 693 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock_contents(context, kd.key, key);
context 694 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et);
context 700 source4/heimdal/lib/krb5/crypto.c evp_schedule(krb5_context context, struct key_type *kt, struct key_data *kd)
context 713 source4/heimdal/lib/krb5/crypto.c evp_cleanup(krb5_context context, struct key_data *kd)
context 893 source4/heimdal/lib/krb5/crypto.c krb5_salttype_to_string (krb5_context context,
context 903 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 912 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM,
context 919 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, HEIM_ERR_SALTTYPE_NOSUPP,
context 925 source4/heimdal/lib/krb5/crypto.c krb5_string_to_salttype (krb5_context context,
context 935 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 946 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, HEIM_ERR_SALTTYPE_NOSUPP,
context 952 source4/heimdal/lib/krb5/crypto.c krb5_get_pw_salt(krb5_context context,
context 981 source4/heimdal/lib/krb5/crypto.c krb5_free_salt(krb5_context context,
context 989 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key_data (krb5_context context,
context 998 source4/heimdal/lib/krb5/crypto.c ret = krb5_get_pw_salt(context, principal, &salt);
context 1001 source4/heimdal/lib/krb5/crypto.c ret = krb5_string_to_key_data_salt(context, enctype, password, salt, key);
context 1002 source4/heimdal/lib/krb5/crypto.c krb5_free_salt(context, salt);
context 1007 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key (krb5_context context,
context 1016 source4/heimdal/lib/krb5/crypto.c return krb5_string_to_key_data(context, enctype, pw, principal, key);
context 1020 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key_data_salt (krb5_context context,
context 1028 source4/heimdal/lib/krb5/crypto.c return krb5_string_to_key_data_salt_opaque(context, enctype, password,
context 1039 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key_data_salt_opaque (krb5_context context,
context 1049 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 1056 source4/heimdal/lib/krb5/crypto.c return (*st->string_to_key)(context, enctype, password,
context 1058 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, HEIM_ERR_SALTTYPE_NOSUPP,
context 1071 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key_salt (krb5_context context,
context 1080 source4/heimdal/lib/krb5/crypto.c return krb5_string_to_key_data_salt(context, enctype, pw, salt, key);
context 1084 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key_salt_opaque (krb5_context context,
context 1094 source4/heimdal/lib/krb5/crypto.c return krb5_string_to_key_data_salt_opaque(context, enctype,
context 1099 source4/heimdal/lib/krb5/crypto.c krb5_enctype_keysize(krb5_context context,
context 1105 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 1115 source4/heimdal/lib/krb5/crypto.c krb5_enctype_keybits(krb5_context context,
context 1121 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 1131 source4/heimdal/lib/krb5/crypto.c krb5_generate_random_keyblock(krb5_context context,
context 1138 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 1148 source4/heimdal/lib/krb5/crypto.c (*et->keytype->random_key)(context, key);
context 1156 source4/heimdal/lib/krb5/crypto.c _key_schedule(krb5_context context,
context 1169 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1178 source4/heimdal/lib/krb5/crypto.c (*kt->schedule)(context, kt, key);
context 1187 source4/heimdal/lib/krb5/crypto.c NONE_checksum(krb5_context context,
context 1198 source4/heimdal/lib/krb5/crypto.c CRC32_checksum(krb5_context context,
context 1217 source4/heimdal/lib/krb5/crypto.c RSA_MD4_checksum(krb5_context context,
context 1225 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "md4 checksum failed");
context 1230 source4/heimdal/lib/krb5/crypto.c des_checksum(krb5_context context,
context 1246 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1263 source4/heimdal/lib/krb5/crypto.c des_verify(krb5_context context,
context 1279 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1293 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 1302 source4/heimdal/lib/krb5/crypto.c RSA_MD4_DES_checksum(krb5_context context,
context 1309 source4/heimdal/lib/krb5/crypto.c return des_checksum(context, EVP_md4(), key, data, len, cksum);
context 1313 source4/heimdal/lib/krb5/crypto.c RSA_MD4_DES_verify(krb5_context context,
context 1320 source4/heimdal/lib/krb5/crypto.c return des_verify(context, EVP_md5(), key, data, len, C);
context 1324 source4/heimdal/lib/krb5/crypto.c RSA_MD5_checksum(krb5_context context,
context 1332 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "md5 checksum failed");
context 1337 source4/heimdal/lib/krb5/crypto.c RSA_MD5_DES_checksum(krb5_context context,
context 1344 source4/heimdal/lib/krb5/crypto.c return des_checksum(context, EVP_md5(), key, data, len, C);
context 1348 source4/heimdal/lib/krb5/crypto.c RSA_MD5_DES_verify(krb5_context context,
context 1355 source4/heimdal/lib/krb5/crypto.c return des_verify(context, EVP_md5(), key, data, len, C);
context 1360 source4/heimdal/lib/krb5/crypto.c RSA_MD5_DES3_checksum(krb5_context context,
context 1367 source4/heimdal/lib/krb5/crypto.c return des_checksum(context, EVP_md5(), key, data, len, C);
context 1371 source4/heimdal/lib/krb5/crypto.c RSA_MD5_DES3_verify(krb5_context context,
context 1378 source4/heimdal/lib/krb5/crypto.c return des_verify(context, EVP_md5(), key, data, len, C);
context 1383 source4/heimdal/lib/krb5/crypto.c SHA1_checksum(krb5_context context,
context 1391 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "sha1 checksum failed");
context 1397 source4/heimdal/lib/krb5/crypto.c hmac(krb5_context context,
context 1422 source4/heimdal/lib/krb5/crypto.c (*cm->checksum)(context,
context 1439 source4/heimdal/lib/krb5/crypto.c (*cm->checksum)(context, keyblock, ipad, cm->blocksize + len,
context 1443 source4/heimdal/lib/krb5/crypto.c (*cm->checksum)(context, keyblock, opad,
context 1454 source4/heimdal/lib/krb5/crypto.c krb5_hmac(krb5_context context,
context 1467 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1476 source4/heimdal/lib/krb5/crypto.c ret = hmac(context, c, data, len, usage, &kd, result);
context 1479 source4/heimdal/lib/krb5/crypto.c krb5_free_data(context, kd.schedule);
context 1485 source4/heimdal/lib/krb5/crypto.c SP_HMAC_SHA1_checksum(krb5_context context,
context 1500 source4/heimdal/lib/krb5/crypto.c ret = hmac(context, c, data, len, usage, key, &res);
context 1502 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 1512 source4/heimdal/lib/krb5/crypto.c HMAC_MD5_checksum(krb5_context context,
context 1532 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1537 source4/heimdal/lib/krb5/crypto.c ret = hmac(context, c, signature, sizeof(signature), 0, key, &ksign_c);
context 1554 source4/heimdal/lib/krb5/crypto.c ret = hmac(context, c, tmp, sizeof(tmp), 0, &ksign, result);
context 1704 source4/heimdal/lib/krb5/crypto.c get_checksum_key(krb5_context context,
context 1713 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, usage, key);
context 1719 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1722 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, crypto->key.key, &(*key)->key);
context 1731 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, *key);
context 1736 source4/heimdal/lib/krb5/crypto.c create_checksum (krb5_context context,
context 1749 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 1754 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1761 source4/heimdal/lib/krb5/crypto.c ret = get_checksum_key(context, crypto, usage, ct, &dkey);
context 1770 source4/heimdal/lib/krb5/crypto.c return (*ct->checksum)(context, dkey, data, len, usage, result);
context 1781 source4/heimdal/lib/krb5/crypto.c krb5_create_checksum(krb5_context context,
context 1802 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1810 source4/heimdal/lib/krb5/crypto.c usage2arcfour(context, &keyusage);
context 1814 source4/heimdal/lib/krb5/crypto.c return create_checksum(context, ct, crypto, keyusage,
context 1819 source4/heimdal/lib/krb5/crypto.c verify_checksum(krb5_context context,
context 1834 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1840 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 1845 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1852 source4/heimdal/lib/krb5/crypto.c ret = get_checksum_key(context, crypto, usage, ct, &dkey);
context 1858 source4/heimdal/lib/krb5/crypto.c return (*ct->verify)(context, dkey, data, len, usage, cksum);
context 1864 source4/heimdal/lib/krb5/crypto.c ret = (*ct->checksum)(context, dkey, data, len, usage, &c);
context 1872 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 1882 source4/heimdal/lib/krb5/crypto.c krb5_verify_checksum(krb5_context context,
context 1894 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1902 source4/heimdal/lib/krb5/crypto.c usage2arcfour(context, &keyusage);
context 1906 source4/heimdal/lib/krb5/crypto.c return verify_checksum(context, crypto, keyusage,
context 1911 source4/heimdal/lib/krb5/crypto.c krb5_crypto_get_checksum_type(krb5_context context,
context 1924 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1936 source4/heimdal/lib/krb5/crypto.c krb5_checksumsize(krb5_context context,
context 1942 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1952 source4/heimdal/lib/krb5/crypto.c krb5_checksum_is_keyed(krb5_context context,
context 1957 source4/heimdal/lib/krb5/crypto.c if (context)
context 1958 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1967 source4/heimdal/lib/krb5/crypto.c krb5_checksum_is_collision_proof(krb5_context context,
context 1972 source4/heimdal/lib/krb5/crypto.c if (context)
context 1973 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 1982 source4/heimdal/lib/krb5/crypto.c krb5_checksum_disable(krb5_context context,
context 1987 source4/heimdal/lib/krb5/crypto.c if (context)
context 1988 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 2002 source4/heimdal/lib/krb5/crypto.c NULL_encrypt(krb5_context context,
context 2014 source4/heimdal/lib/krb5/crypto.c evp_encrypt(krb5_context context,
context 2030 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 2044 source4/heimdal/lib/krb5/crypto.c evp_des_encrypt_null_ivec(krb5_context context,
context 2063 source4/heimdal/lib/krb5/crypto.c evp_des_encrypt_key_ivec(krb5_context context,
context 2082 source4/heimdal/lib/krb5/crypto.c DES_CFB64_encrypt_null_ivec(krb5_context context,
context 2100 source4/heimdal/lib/krb5/crypto.c DES_PCBC_encrypt_key_ivec(krb5_context context,
context 2124 source4/heimdal/lib/krb5/crypto.c ARCFOUR_subencrypt(krb5_context context,
context 2151 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 2166 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 2176 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 2187 source4/heimdal/lib/krb5/crypto.c ARCFOUR_subdecrypt(krb5_context context,
context 2215 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 2230 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 2243 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "hmac failed");
context 2250 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 2264 source4/heimdal/lib/krb5/crypto.c usage2arcfour (krb5_context context, unsigned *usage)
context 2286 source4/heimdal/lib/krb5/crypto.c ARCFOUR_encrypt(krb5_context context,
context 2297 source4/heimdal/lib/krb5/crypto.c if((ret = usage2arcfour (context, &keyusage)) != 0)
context 2301 source4/heimdal/lib/krb5/crypto.c return ARCFOUR_subencrypt (context, key, data, len, keyusage, ivec);
context 2303 source4/heimdal/lib/krb5/crypto.c return ARCFOUR_subdecrypt (context, key, data, len, keyusage, ivec);
context 2312 source4/heimdal/lib/krb5/crypto.c AES_PRF(krb5_context context,
context 2325 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out memory", ""));
context 2329 source4/heimdal/lib/krb5/crypto.c ret = (*ct->checksum)(context, NULL, in->data, in->length, 0, &result);
context 2336 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "internal prf error");
context 2339 source4/heimdal/lib/krb5/crypto.c ret = krb5_derive_key(context, crypto->key.key,
context 2342 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "krb5_derive_key");
context 2346 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "malloc failed");
context 2359 source4/heimdal/lib/krb5/crypto.c krb5_free_keyblock(context, derived);
context 2607 source4/heimdal/lib/krb5/crypto.c krb5_enctype_to_string(krb5_context context,
context 2614 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 2622 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 2629 source4/heimdal/lib/krb5/crypto.c krb5_string_to_enctype(krb5_context context,
context 2639 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 2646 source4/heimdal/lib/krb5/crypto.c krb5_enctype_to_keytype(krb5_context context,
context 2652 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 2662 source4/heimdal/lib/krb5/crypto.c krb5_enctype_valid(krb5_context context,
context 2667 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 2673 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 2695 source4/heimdal/lib/krb5/crypto.c krb5_cksumtype_to_enctype(krb5_context context,
context 2712 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 2720 source4/heimdal/lib/krb5/crypto.c krb5_cksumtype_valid(krb5_context context,
context 2725 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 2731 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_SUMTYPE_NOSUPP,
context 2742 source4/heimdal/lib/krb5/crypto.c krb5_enctypes_compatible_keys(krb5_context context,
context 2752 source4/heimdal/lib/krb5/crypto.c derived_crypto(krb5_context context,
context 2759 source4/heimdal/lib/krb5/crypto.c special_crypto(krb5_context context,
context 2769 source4/heimdal/lib/krb5/crypto.c encrypt_internal_derived(krb5_context context,
context 2791 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 2800 source4/heimdal/lib/krb5/crypto.c ret = create_checksum(context,
context 2809 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 2816 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
context 2819 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, dkey);
context 2822 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, dkey, p, block_sz, 1, usage, ivec);
context 2836 source4/heimdal/lib/krb5/crypto.c encrypt_internal(krb5_context context,
context 2855 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 2866 source4/heimdal/lib/krb5/crypto.c ret = create_checksum(context,
context 2874 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 2882 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, &crypto->key);
context 2885 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, p, block_sz, 1, 0, ivec);
context 2901 source4/heimdal/lib/krb5/crypto.c encrypt_internal_special(krb5_context context,
context 2917 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 2926 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, tmp, sz, TRUE, usage, ivec);
context 2938 source4/heimdal/lib/krb5/crypto.c decrypt_internal_derived(krb5_context context,
context 2956 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_BAD_MSIZE,
context 2963 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 2969 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 2976 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
context 2981 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, dkey);
context 2986 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, dkey, p, len, 0, usage, ivec);
context 2996 source4/heimdal/lib/krb5/crypto.c ret = verify_checksum(context,
context 3011 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3019 source4/heimdal/lib/krb5/crypto.c decrypt_internal(krb5_context context,
context 3033 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 3040 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3045 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, &crypto->key);
context 3050 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, p, len, 0, 0, ivec);
context 3062 source4/heimdal/lib/krb5/crypto.c ret = verify_checksum(context, NULL, 0, p, len, &cksum);
context 3073 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3081 source4/heimdal/lib/krb5/crypto.c decrypt_internal_special(krb5_context context,
context 3096 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 3102 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3107 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, &crypto->key, p, len, FALSE, usage, ivec);
context 3117 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3159 source4/heimdal/lib/krb5/crypto.c krb5_encrypt_iov_ivec(krb5_context context,
context 3175 source4/heimdal/lib/krb5/crypto.c if(!derived_crypto(context, crypto)) {
context 3176 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 3250 source4/heimdal/lib/krb5/crypto.c ret = create_checksum(context,
context 3260 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message (context);
context 3272 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
context 3275 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, dkey);
context 3303 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
context 3308 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, dkey);
context 3314 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, dkey, p, len, 1, usage, ivec);
context 3359 source4/heimdal/lib/krb5/crypto.c krb5_decrypt_iov_ivec(krb5_context context,
context 3375 source4/heimdal/lib/krb5/crypto.c if(!derived_crypto(context, crypto)) {
context 3376 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 3431 source4/heimdal/lib/krb5/crypto.c ret = _get_derived_key(context, crypto, ENCRYPTION_USAGE(usage), &dkey);
context 3436 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, dkey);
context 3442 source4/heimdal/lib/krb5/crypto.c ret = (*et->encrypt)(context, dkey, p, len, 0, usage, ivec);
context 3465 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "data still in the buffer");
context 3491 source4/heimdal/lib/krb5/crypto.c ret = verify_checksum(context,
context 3516 source4/heimdal/lib/krb5/crypto.c krb5_create_checksum_iov(krb5_context context,
context 3530 source4/heimdal/lib/krb5/crypto.c if(!derived_crypto(context, crypto)) {
context 3531 source4/heimdal/lib/krb5/crypto.c krb5_clear_error_message(context);
context 3557 source4/heimdal/lib/krb5/crypto.c ret = krb5_create_checksum(context, crypto, usage, 0, p, len, &cksum);
context 3566 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_BAD_MSIZE,
context 3581 source4/heimdal/lib/krb5/crypto.c krb5_crypto_length(krb5_context context,
context 3585 source4/heimdal/lib/krb5/crypto.c if (!derived_crypto(context, crypto))
context 3607 source4/heimdal/lib/krb5/crypto.c krb5_encrypt_ivec(krb5_context context,
context 3615 source4/heimdal/lib/krb5/crypto.c if(derived_crypto(context, crypto))
context 3616 source4/heimdal/lib/krb5/crypto.c return encrypt_internal_derived(context, crypto, usage,
context 3618 source4/heimdal/lib/krb5/crypto.c else if (special_crypto(context, crypto))
context 3619 source4/heimdal/lib/krb5/crypto.c return encrypt_internal_special (context, crypto, usage,
context 3622 source4/heimdal/lib/krb5/crypto.c return encrypt_internal(context, crypto, data, len, result, ivec);
context 3626 source4/heimdal/lib/krb5/crypto.c krb5_encrypt(krb5_context context,
context 3633 source4/heimdal/lib/krb5/crypto.c return krb5_encrypt_ivec(context, crypto, usage, data, len, result, NULL);
context 3637 source4/heimdal/lib/krb5/crypto.c krb5_encrypt_EncryptedData(krb5_context context,
context 3651 source4/heimdal/lib/krb5/crypto.c return krb5_encrypt(context, crypto, usage, data, len, &result->cipher);
context 3655 source4/heimdal/lib/krb5/crypto.c krb5_decrypt_ivec(krb5_context context,
context 3663 source4/heimdal/lib/krb5/crypto.c if(derived_crypto(context, crypto))
context 3664 source4/heimdal/lib/krb5/crypto.c return decrypt_internal_derived(context, crypto, usage,
context 3666 source4/heimdal/lib/krb5/crypto.c else if (special_crypto (context, crypto))
context 3667 source4/heimdal/lib/krb5/crypto.c return decrypt_internal_special(context, crypto, usage,
context 3670 source4/heimdal/lib/krb5/crypto.c return decrypt_internal(context, crypto, data, len, result, ivec);
context 3674 source4/heimdal/lib/krb5/crypto.c krb5_decrypt(krb5_context context,
context 3681 source4/heimdal/lib/krb5/crypto.c return krb5_decrypt_ivec (context, crypto, usage, data, len, result,
context 3686 source4/heimdal/lib/krb5/crypto.c krb5_decrypt_EncryptedData(krb5_context context,
context 3692 source4/heimdal/lib/krb5/crypto.c return krb5_decrypt(context, crypto, usage,
context 3727 source4/heimdal/lib/krb5/crypto.c krb5_context context;
context 3731 source4/heimdal/lib/krb5/crypto.c if (!krb5_init_context(&context)) {
context 3732 source4/heimdal/lib/krb5/crypto.c p = krb5_config_get_string(context, NULL, "libdefaults",
context 3736 source4/heimdal/lib/krb5/crypto.c krb5_free_context(context);
context 3769 source4/heimdal/lib/krb5/crypto.c DES3_postproc(krb5_context context,
context 3772 source4/heimdal/lib/krb5/crypto.c DES3_random_to_key(context, key->key, k, len);
context 3775 source4/heimdal/lib/krb5/crypto.c krb5_free_data(context, key->schedule);
context 3781 source4/heimdal/lib/krb5/crypto.c derive_key(krb5_context context,
context 3792 source4/heimdal/lib/krb5/crypto.c ret = _key_schedule(context, key);
context 3799 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3805 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 3813 source4/heimdal/lib/krb5/crypto.c (*et->encrypt)(context, key, k + i * et->blocksize, et->blocksize,
context 3822 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3826 source4/heimdal/lib/krb5/crypto.c (*et->encrypt)(context, key, c, len, 1, 0, NULL);
context 3830 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3836 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 3845 source4/heimdal/lib/krb5/crypto.c DES3_postproc(context, k, nblocks * et->blocksize, key);
context 3853 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret,
context 3859 source4/heimdal/lib/krb5/crypto.c krb5_free_data(context, key->schedule);
context 3882 source4/heimdal/lib/krb5/crypto.c krb5_derive_key(krb5_context context,
context 3897 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 3903 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, key, &d.key);
context 3908 source4/heimdal/lib/krb5/crypto.c ret = derive_key(context, et, &d, constant, constant_len);
context 3910 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, d.key, derived_key);
context 3911 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &d, et);
context 3916 source4/heimdal/lib/krb5/crypto.c _get_derived_key(krb5_context context,
context 3932 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3935 source4/heimdal/lib/krb5/crypto.c krb5_copy_keyblock(context, crypto->key.key, &d->key);
context 3937 source4/heimdal/lib/krb5/crypto.c derive_key(context, crypto->et, d, constant, sizeof(constant));
context 3944 source4/heimdal/lib/krb5/crypto.c krb5_crypto_init(krb5_context context,
context 3952 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 3961 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 3969 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_BAD_KEYSIZE,
context 3973 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, key, &(*crypto)->key.key);
context 3986 source4/heimdal/lib/krb5/crypto.c free_key_data(krb5_context context, struct key_data *key,
context 3989 source4/heimdal/lib/krb5/crypto.c krb5_free_keyblock(context, key->key);
context 3992 source4/heimdal/lib/krb5/crypto.c (*et->keytype->cleanup)(context, key);
context 3994 source4/heimdal/lib/krb5/crypto.c krb5_free_data(context, key->schedule);
context 3999 source4/heimdal/lib/krb5/crypto.c free_key_usage(krb5_context context, struct key_usage *ku,
context 4002 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &ku->key, et);
context 4006 source4/heimdal/lib/krb5/crypto.c krb5_crypto_destroy(krb5_context context,
context 4012 source4/heimdal/lib/krb5/crypto.c free_key_usage(context, &crypto->key_usage[i], crypto->et);
context 4014 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &crypto->key, crypto->et);
context 4020 source4/heimdal/lib/krb5/crypto.c krb5_crypto_getblocksize(krb5_context context,
context 4029 source4/heimdal/lib/krb5/crypto.c krb5_crypto_getenctype(krb5_context context,
context 4038 source4/heimdal/lib/krb5/crypto.c krb5_crypto_getpadsize(krb5_context context,
context 4047 source4/heimdal/lib/krb5/crypto.c krb5_crypto_getconfoundersize(krb5_context context,
context 4068 source4/heimdal/lib/krb5/crypto.c krb5_enctype_disable(krb5_context context,
context 4073 source4/heimdal/lib/krb5/crypto.c if (context)
context 4074 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 4095 source4/heimdal/lib/krb5/crypto.c krb5_enctype_enable(krb5_context context,
context 4100 source4/heimdal/lib/krb5/crypto.c if (context)
context 4101 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 4112 source4/heimdal/lib/krb5/crypto.c krb5_string_to_key_derived(krb5_context context,
context 4125 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, KRB5_PROG_ETYPE_NOSUPP,
context 4134 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM,
context 4146 source4/heimdal/lib/krb5/crypto.c krb5_free_keyblock(context, kd.key);
context 4147 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 4153 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
context 4157 source4/heimdal/lib/krb5/crypto.c DES3_postproc (context, tmp, keylen, &kd); /* XXX */
context 4160 source4/heimdal/lib/krb5/crypto.c ret = derive_key(context,
context 4166 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et);
context 4169 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock_contents(context, kd.key, key);
context 4170 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &kd, et);
context 4175 source4/heimdal/lib/krb5/crypto.c wrapped_length (krb5_context context,
context 4190 source4/heimdal/lib/krb5/crypto.c wrapped_length_dervied (krb5_context context,
context 4212 source4/heimdal/lib/krb5/crypto.c krb5_get_wrapped_length (krb5_context context,
context 4216 source4/heimdal/lib/krb5/crypto.c if (derived_crypto (context, crypto))
context 4217 source4/heimdal/lib/krb5/crypto.c return wrapped_length_dervied (context, crypto, data_len);
context 4219 source4/heimdal/lib/krb5/crypto.c return wrapped_length (context, crypto, data_len);
context 4227 source4/heimdal/lib/krb5/crypto.c crypto_overhead (krb5_context context,
context 4241 source4/heimdal/lib/krb5/crypto.c crypto_overhead_dervied (krb5_context context,
context 4258 source4/heimdal/lib/krb5/crypto.c krb5_crypto_overhead (krb5_context context, krb5_crypto crypto)
context 4260 source4/heimdal/lib/krb5/crypto.c if (derived_crypto (context, crypto))
context 4261 source4/heimdal/lib/krb5/crypto.c return crypto_overhead_dervied (context, crypto);
context 4263 source4/heimdal/lib/krb5/crypto.c return crypto_overhead (context, crypto);
context 4267 source4/heimdal/lib/krb5/crypto.c krb5_random_to_key(krb5_context context,
context 4276 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4282 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4294 source4/heimdal/lib/krb5/crypto.c (*et->keytype->random_to_key)(context, key, data, size);
context 4302 source4/heimdal/lib/krb5/crypto.c _krb5_pk_octetstring2key(krb5_context context,
context 4318 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4327 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 4354 source4/heimdal/lib/krb5/crypto.c ret = krb5_random_to_key(context, type, keydata, keylen, key);
context 4361 source4/heimdal/lib/krb5/crypto.c encode_uvinfo(krb5_context context, krb5_const_principal p, krb5_data *data)
context 4374 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret,
context 4379 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "asn1 compiler internal error");
context 4384 source4/heimdal/lib/krb5/crypto.c encode_otherinfo(krb5_context context,
context 4411 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 4415 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "asn1 compiler internal error");
context 4417 source4/heimdal/lib/krb5/crypto.c ret = encode_uvinfo(context, client, &otherinfo.partyUInfo);
context 4422 source4/heimdal/lib/krb5/crypto.c ret = encode_uvinfo(context, server, &otherinfo.partyVInfo);
context 4438 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 4442 source4/heimdal/lib/krb5/crypto.c krb5_abortx(context, "asn1 compiler internal error");
context 4448 source4/heimdal/lib/krb5/crypto.c _krb5_pk_kdf(krb5_context context,
context 4469 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4477 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4485 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4494 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 4498 source4/heimdal/lib/krb5/crypto.c ret = encode_otherinfo(context, ai, client, server,
context 4529 source4/heimdal/lib/krb5/crypto.c ret = krb5_random_to_key(context, enctype, keydata, keylen, key);
context 4538 source4/heimdal/lib/krb5/crypto.c krb5_crypto_prf_length(krb5_context context,
context 4545 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4556 source4/heimdal/lib/krb5/crypto.c krb5_crypto_prf(krb5_context context,
context 4566 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 4572 source4/heimdal/lib/krb5/crypto.c return (*et->prf)(context, crypto, input, output);
context 4608 source4/heimdal/lib/krb5/crypto.c krb5_keytype_to_enctypes_default (krb5_context context,
context 4617 source4/heimdal/lib/krb5/crypto.c if (keytype != KEYTYPE_DES || context->etypes_des == NULL)
context 4618 source4/heimdal/lib/krb5/crypto.c return krb5_keytype_to_enctypes (context, keytype, len, val);
context 4620 source4/heimdal/lib/krb5/crypto.c for (n = 0; context->etypes_des[n]; ++n)
context 4624 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 4628 source4/heimdal/lib/krb5/crypto.c ret[i] = context->etypes_des[i];
context 4635 source4/heimdal/lib/krb5/crypto.c krb5_keytype_to_string(krb5_context context,
context 4642 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_KEYTYPE_NOSUPP,
context 4648 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 4656 source4/heimdal/lib/krb5/crypto.c krb5_string_to_keytype(krb5_context context,
context 4673 source4/heimdal/lib/krb5/crypto.c if (krb5_enctype_valid(context, *keytype) == 0)
context 4677 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, KRB5_PROG_KEYTYPE_NOSUPP,
context 4683 source4/heimdal/lib/krb5/crypto.c krb5_keytype_to_enctypes (krb5_context context,
context 4699 source4/heimdal/lib/krb5/crypto.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 80 source4/heimdal/lib/krb5/data.c krb5_free_data_contents(krb5_context context, krb5_data *data)
context 95 source4/heimdal/lib/krb5/data.c krb5_free_data(krb5_context context,
context 188 source4/heimdal/lib/krb5/data.c krb5_copy_data(krb5_context context,
context 195 source4/heimdal/lib/krb5/data.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 200 source4/heimdal/lib/krb5/data.c krb5_clear_error_message (context);
context 50 source4/heimdal/lib/krb5/error_string.c krb5_clear_error_message(krb5_context context)
context 52 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_lock(context->mutex);
context 53 source4/heimdal/lib/krb5/error_string.c if (context->error_string)
context 54 source4/heimdal/lib/krb5/error_string.c free(context->error_string);
context 55 source4/heimdal/lib/krb5/error_string.c context->error_code = 0;
context 56 source4/heimdal/lib/krb5/error_string.c context->error_string = NULL;
context 57 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_unlock(context->mutex);
context 73 source4/heimdal/lib/krb5/error_string.c krb5_set_error_message(krb5_context context, krb5_error_code ret,
context 80 source4/heimdal/lib/krb5/error_string.c krb5_vset_error_message (context, ret, fmt, ap);
context 97 source4/heimdal/lib/krb5/error_string.c krb5_vset_error_message (krb5_context context, krb5_error_code ret,
context 102 source4/heimdal/lib/krb5/error_string.c krb5_clear_error_message(context);
context 103 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_lock(context->mutex);
context 104 source4/heimdal/lib/krb5/error_string.c context->error_code = ret;
context 105 source4/heimdal/lib/krb5/error_string.c vasprintf(&context->error_string, fmt, args);
context 106 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_unlock(context->mutex);
context 123 source4/heimdal/lib/krb5/error_string.c krb5_get_error_string(krb5_context context)
context 127 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_lock(context->mutex);
context 128 source4/heimdal/lib/krb5/error_string.c if (context->error_string)
context 129 source4/heimdal/lib/krb5/error_string.c ret = strdup(context->error_string);
context 130 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_unlock(context->mutex);
context 135 source4/heimdal/lib/krb5/error_string.c krb5_have_error_string(krb5_context context)
context 138 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_lock(context->mutex);
context 139 source4/heimdal/lib/krb5/error_string.c str = context->error_string;
context 140 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_unlock(context->mutex);
context 158 source4/heimdal/lib/krb5/error_string.c krb5_get_error_message(krb5_context context, krb5_error_code code)
context 163 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_lock(context->mutex);
context 164 source4/heimdal/lib/krb5/error_string.c if (context->error_string &&
context 165 source4/heimdal/lib/krb5/error_string.c (code == context->error_code || context->error_code == 0))
context 167 source4/heimdal/lib/krb5/error_string.c str = strdup(context->error_string);
context 169 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_unlock(context->mutex);
context 173 source4/heimdal/lib/krb5/error_string.c HEIMDAL_MUTEX_unlock(context->mutex);
context 175 source4/heimdal/lib/krb5/error_string.c cstr = krb5_get_err_text(context, code);
context 197 source4/heimdal/lib/krb5/error_string.c krb5_free_error_message(krb5_context context, const char *msg)
context 215 source4/heimdal/lib/krb5/error_string.c krb5_free_error_string(krb5_context context, char *str)
context 218 source4/heimdal/lib/krb5/error_string.c krb5_free_error_message(context, str);
context 232 source4/heimdal/lib/krb5/error_string.c krb5_set_error_string(krb5_context context, const char *fmt, ...)
context 238 source4/heimdal/lib/krb5/error_string.c krb5_vset_error_message (context, 0, fmt, ap);
context 254 source4/heimdal/lib/krb5/error_string.c krb5_vset_error_string(krb5_context context, const char *fmt, va_list args)
context 257 source4/heimdal/lib/krb5/error_string.c krb5_vset_error_message(context, 0, fmt, args);
context 271 source4/heimdal/lib/krb5/error_string.c krb5_clear_error_string(krb5_context context)
context 274 source4/heimdal/lib/krb5/error_string.c krb5_clear_error_message(context);
context 39 source4/heimdal/lib/krb5/expand_hostname.c copy_hostname(krb5_context context,
context 45 source4/heimdal/lib/krb5/expand_hostname.c krb5_set_error_message(context, ENOMEM,
context 59 source4/heimdal/lib/krb5/expand_hostname.c krb5_expand_hostname (krb5_context context,
context 66 source4/heimdal/lib/krb5/expand_hostname.c if ((context->flags & KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME) == 0)
context 67 source4/heimdal/lib/krb5/expand_hostname.c return copy_hostname (context, orig_hostname, new_hostname);
context 74 source4/heimdal/lib/krb5/expand_hostname.c return copy_hostname (context, orig_hostname, new_hostname);
context 80 source4/heimdal/lib/krb5/expand_hostname.c krb5_set_error_message(context, ENOMEM,
context 89 source4/heimdal/lib/krb5/expand_hostname.c return copy_hostname (context, orig_hostname, new_hostname);
context 97 source4/heimdal/lib/krb5/expand_hostname.c vanilla_hostname (krb5_context context,
context 104 source4/heimdal/lib/krb5/expand_hostname.c ret = copy_hostname (context, orig_hostname, new_hostname);
context 109 source4/heimdal/lib/krb5/expand_hostname.c ret = krb5_get_host_realm (context, *new_hostname, realms);
context 123 source4/heimdal/lib/krb5/expand_hostname.c krb5_expand_hostname_realms (krb5_context context,
context 132 source4/heimdal/lib/krb5/expand_hostname.c if ((context->flags & KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME) == 0)
context 133 source4/heimdal/lib/krb5/expand_hostname.c return vanilla_hostname (context, orig_hostname, new_hostname,
context 141 source4/heimdal/lib/krb5/expand_hostname.c return vanilla_hostname (context, orig_hostname, new_hostname,
context 146 source4/heimdal/lib/krb5/expand_hostname.c ret = copy_hostname (context, a->ai_canonname, new_hostname);
context 152 source4/heimdal/lib/krb5/expand_hostname.c ret = krb5_get_host_realm (context, *new_hostname, realms);
context 161 source4/heimdal/lib/krb5/expand_hostname.c return vanilla_hostname (context, orig_hostname, new_hostname, realms);
context 62 source4/heimdal/lib/krb5/fcache.c fcc_get_name(krb5_context context,
context 69 source4/heimdal/lib/krb5/fcache.c _krb5_xlock(krb5_context context, int fd, krb5_boolean exclusive,
context 96 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 101 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 111 source4/heimdal/lib/krb5/fcache.c _krb5_xunlock(krb5_context context, int fd)
context 133 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 142 source4/heimdal/lib/krb5/fcache.c write_storage(krb5_context context, krb5_storage *sp, int fd)
context 150 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 158 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 167 source4/heimdal/lib/krb5/fcache.c fcc_lock(krb5_context context, krb5_ccache id,
context 170 source4/heimdal/lib/krb5/fcache.c return _krb5_xlock(context, fd, exclusive, fcc_get_name(context, id));
context 174 source4/heimdal/lib/krb5/fcache.c fcc_unlock(krb5_context context, int fd)
context 176 source4/heimdal/lib/krb5/fcache.c return _krb5_xunlock(context, fd);
context 180 source4/heimdal/lib/krb5/fcache.c fcc_resolve(krb5_context context, krb5_ccache *id, const char *res)
context 185 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 192 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 237 source4/heimdal/lib/krb5/fcache.c erase_file(krb5_context context, const char *filename)
context 255 source4/heimdal/lib/krb5/fcache.c ret = _krb5_xlock(context, fd, 1, filename);
context 261 source4/heimdal/lib/krb5/fcache.c _krb5_xunlock(context, fd);
context 267 source4/heimdal/lib/krb5/fcache.c _krb5_xunlock(context, fd);
context 275 source4/heimdal/lib/krb5/fcache.c _krb5_xunlock(context, fd);
context 283 source4/heimdal/lib/krb5/fcache.c _krb5_xunlock(context, fd);
context 290 source4/heimdal/lib/krb5/fcache.c _krb5_xunlock(context, fd);
context 294 source4/heimdal/lib/krb5/fcache.c ret = _krb5_xunlock(context, fd);
context 300 source4/heimdal/lib/krb5/fcache.c fcc_gen_new(krb5_context context, krb5_ccache *id)
context 308 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 315 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 322 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("mkstemp %s failed", ""), file);
context 336 source4/heimdal/lib/krb5/fcache.c storage_set_flags(krb5_context context, krb5_storage *sp, int vno)
context 354 source4/heimdal/lib/krb5/fcache.c krb5_abortx(context,
context 361 source4/heimdal/lib/krb5/fcache.c fcc_open(krb5_context context,
context 375 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("open(%s): %s", "file, error"),
context 381 source4/heimdal/lib/krb5/fcache.c if((ret = fcc_lock(context, id, fd, exclusive)) != 0) {
context 390 source4/heimdal/lib/krb5/fcache.c fcc_initialize(krb5_context context,
context 401 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, id, &fd, O_RDWR | O_CREAT | O_EXCL | O_BINARY | O_CLOEXEC, 0600);
context 408 source4/heimdal/lib/krb5/fcache.c if(context->fcache_vno != 0)
context 409 source4/heimdal/lib/krb5/fcache.c f->version = context->fcache_vno;
context 414 source4/heimdal/lib/krb5/fcache.c storage_set_flags(context, sp, f->version);
context 417 source4/heimdal/lib/krb5/fcache.c if (context->kdc_sec_offset) {
context 421 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int32 (sp, context->kdc_sec_offset);
context 422 source4/heimdal/lib/krb5/fcache.c ret |= krb5_store_int32 (sp, context->kdc_usec_offset);
context 429 source4/heimdal/lib/krb5/fcache.c ret |= write_storage(context, sp, fd);
context 433 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd);
context 437 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message (context, ret, N_("close %s: %s", ""),
context 444 source4/heimdal/lib/krb5/fcache.c fcc_close(krb5_context context,
context 453 source4/heimdal/lib/krb5/fcache.c fcc_destroy(krb5_context context,
context 456 source4/heimdal/lib/krb5/fcache.c erase_file(context, FILENAME(id));
context 461 source4/heimdal/lib/krb5/fcache.c fcc_store_cred(krb5_context context,
context 468 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, id, &fd, O_WRONLY | O_APPEND | O_BINARY | O_CLOEXEC, 0);
context 476 source4/heimdal/lib/krb5/fcache.c storage_set_flags(context, sp, FCACHE(id)->version);
context 477 source4/heimdal/lib/krb5/fcache.c if (!krb5_config_get_bool_default(context, NULL, TRUE,
context 484 source4/heimdal/lib/krb5/fcache.c ret = write_storage(context, sp, fd);
context 487 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd);
context 491 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message (context, ret, N_("close %s: %s", ""),
context 499 source4/heimdal/lib/krb5/fcache.c init_fcc (krb5_context context,
context 509 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0);
context 515 source4/heimdal/lib/krb5/fcache.c krb5_clear_error_message(context);
context 524 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 528 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("Error reading pvno "
context 535 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("Bad version number in credential "
context 543 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, "Error reading tag in "
context 548 source4/heimdal/lib/krb5/fcache.c storage_set_flags(context, sp, FCACHE(id)->version);
context 556 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 569 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("Error reading dtag in "
context 577 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 585 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int32 (sp, &context->kdc_sec_offset);
context 588 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 594 source4/heimdal/lib/krb5/fcache.c ret = krb5_ret_int32 (sp, &context->kdc_usec_offset);
context 597 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 609 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 628 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 641 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd);
context 647 source4/heimdal/lib/krb5/fcache.c fcc_get_principal(krb5_context context,
context 655 source4/heimdal/lib/krb5/fcache.c ret = init_fcc (context, id, &sp, &fd);
context 660 source4/heimdal/lib/krb5/fcache.c krb5_clear_error_message(context);
context 662 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd);
context 668 source4/heimdal/lib/krb5/fcache.c fcc_end_get (krb5_context context,
context 673 source4/heimdal/lib/krb5/fcache.c fcc_get_first (krb5_context context,
context 682 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 687 source4/heimdal/lib/krb5/fcache.c ret = init_fcc (context, id, &FCC_CURSOR(*cursor)->sp,
context 696 source4/heimdal/lib/krb5/fcache.c krb5_clear_error_message(context);
context 697 source4/heimdal/lib/krb5/fcache.c fcc_end_get(context, id, cursor);
context 700 source4/heimdal/lib/krb5/fcache.c krb5_free_principal (context, principal);
context 701 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, FCC_CURSOR(*cursor)->fd);
context 706 source4/heimdal/lib/krb5/fcache.c fcc_get_next (krb5_context context,
context 712 source4/heimdal/lib/krb5/fcache.c if((ret = fcc_lock(context, id, FCC_CURSOR(*cursor)->fd, FALSE)) != 0)
context 717 source4/heimdal/lib/krb5/fcache.c krb5_clear_error_message(context);
context 719 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, FCC_CURSOR(*cursor)->fd);
context 724 source4/heimdal/lib/krb5/fcache.c fcc_end_get (krb5_context context,
context 736 source4/heimdal/lib/krb5/fcache.c fcc_remove_cred(krb5_context context,
context 744 source4/heimdal/lib/krb5/fcache.c ret = krb5_cc_gen_new(context, &krb5_mcc_ops, ©);
context 748 source4/heimdal/lib/krb5/fcache.c ret = krb5_cc_copy_cache(context, id, copy);
context 750 source4/heimdal/lib/krb5/fcache.c krb5_cc_destroy(context, copy);
context 754 source4/heimdal/lib/krb5/fcache.c ret = krb5_cc_remove_cred(context, copy, which, cred);
context 756 source4/heimdal/lib/krb5/fcache.c krb5_cc_destroy(context, copy);
context 760 source4/heimdal/lib/krb5/fcache.c ret = krb5_cc_gen_new(context, &krb5_fcc_ops, &newfile);
context 762 source4/heimdal/lib/krb5/fcache.c krb5_cc_destroy(context, copy);
context 766 source4/heimdal/lib/krb5/fcache.c ret = krb5_cc_copy_cache(context, copy, newfile);
context 767 source4/heimdal/lib/krb5/fcache.c krb5_cc_destroy(context, copy);
context 769 source4/heimdal/lib/krb5/fcache.c krb5_cc_destroy(context, newfile);
context 773 source4/heimdal/lib/krb5/fcache.c return krb5_cc_move(context, newfile, id);
context 777 source4/heimdal/lib/krb5/fcache.c fcc_set_flags(krb5_context context,
context 785 source4/heimdal/lib/krb5/fcache.c fcc_get_version(krb5_context context,
context 796 source4/heimdal/lib/krb5/fcache.c fcc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
context 802 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 811 source4/heimdal/lib/krb5/fcache.c fcc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
context 819 source4/heimdal/lib/krb5/fcache.c krb5_clear_error_message(context);
context 824 source4/heimdal/lib/krb5/fcache.c fn = krb5_cc_default_name(context);
context 826 source4/heimdal/lib/krb5/fcache.c ret = _krb5_expand_default_cc_name(context,
context 832 source4/heimdal/lib/krb5/fcache.c ret = krb5_cc_resolve(context, fn, id);
context 840 source4/heimdal/lib/krb5/fcache.c fcc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
context 848 source4/heimdal/lib/krb5/fcache.c fcc_move(krb5_context context, krb5_ccache from, krb5_ccache to)
context 855 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 867 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, from, &fd1, O_RDONLY | O_BINARY | O_CLOEXEC, 0);
context 873 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, to, &fd2,
context 882 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 890 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret,
context 896 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd2);
context 900 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd1);
context 903 source4/heimdal/lib/krb5/fcache.c erase_file(context, FILENAME(from));
context 906 source4/heimdal/lib/krb5/fcache.c erase_file(context, FILENAME(to));
context 915 source4/heimdal/lib/krb5/fcache.c ret = init_fcc (context, to, &sp, &fd);
context 917 source4/heimdal/lib/krb5/fcache.c fcc_unlock(context, fd);
context 924 source4/heimdal/lib/krb5/fcache.c fcc_get_default_name(krb5_context context, char **str)
context 926 source4/heimdal/lib/krb5/fcache.c return _krb5_expand_default_cc_name(context,
context 932 source4/heimdal/lib/krb5/fcache.c fcc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
context 938 source4/heimdal/lib/krb5/fcache.c ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0);
context 945 source4/heimdal/lib/krb5/fcache.c krb5_set_error_message(context, ret, N_("Failed to stat cache file", ""));
context 39 source4/heimdal/lib/krb5/free.c krb5_free_kdc_rep(krb5_context context, krb5_kdc_rep *rep)
context 43 source4/heimdal/lib/krb5/free_host_realm.c krb5_free_host_realm(krb5_context context,
context 39 source4/heimdal/lib/krb5/generate_seq_number.c krb5_generate_seq_number(krb5_context context,
context 49 source4/heimdal/lib/krb5/generate_seq_number.c ret = krb5_generate_subkey (context, key, &subkey);
context 60 source4/heimdal/lib/krb5/generate_seq_number.c krb5_free_keyblock (context, subkey);
context 39 source4/heimdal/lib/krb5/generate_subkey.c krb5_generate_subkey(krb5_context context,
context 43 source4/heimdal/lib/krb5/generate_subkey.c return krb5_generate_subkey_extended(context, key, key->keytype, subkey);
context 47 source4/heimdal/lib/krb5/generate_subkey.c krb5_generate_subkey_extended(krb5_context context,
context 56 source4/heimdal/lib/krb5/generate_subkey.c krb5_set_error_message(context, ENOMEM,N_("malloc: out of memory", ""));
context 64 source4/heimdal/lib/krb5/generate_subkey.c ret = krb5_generate_random_keyblock(context, etype, *subkey);
context 51 source4/heimdal/lib/krb5/get_addrs.c gethostname_fallback (krb5_context context, krb5_addresses *res)
context 59 source4/heimdal/lib/krb5/get_addrs.c krb5_set_error_message(context, ret, "gethostname: %s", strerror(ret));
context 65 source4/heimdal/lib/krb5/get_addrs.c krb5_set_error_message (context, ret, "gethostbyname %s: %s",
context 72 source4/heimdal/lib/krb5/get_addrs.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 101 source4/heimdal/lib/krb5/get_addrs.c find_all_addresses (krb5_context context, krb5_addresses *res, int flags)
context 113 source4/heimdal/lib/krb5/get_addrs.c krb5_set_error_message(context, ret, "getifaddrs: %s", strerror(ret));
context 125 source4/heimdal/lib/krb5/get_addrs.c krb5_set_error_message(context, ENXIO, N_("no addresses found", ""));
context 131 source4/heimdal/lib/krb5/get_addrs.c ret = krb5_get_ignore_addresses(context, &ignore_addresses);
context 139 source4/heimdal/lib/krb5/get_addrs.c krb5_free_addresses(context, &ignore_addresses);
context 141 source4/heimdal/lib/krb5/get_addrs.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 161 source4/heimdal/lib/krb5/get_addrs.c ret = krb5_sockaddr2address(context, ifa->ifa_addr, &res->val[idx]);
context 173 source4/heimdal/lib/krb5/get_addrs.c krb5_address_search(context, &res->val[idx], &ignore_addresses)) {
context 174 source4/heimdal/lib/krb5/get_addrs.c krb5_free_address(context, &res->val[idx]);
context 200 source4/heimdal/lib/krb5/get_addrs.c ret = krb5_sockaddr2address(context,
context 209 source4/heimdal/lib/krb5/get_addrs.c krb5_address_search(context, &res->val[idx],
context 211 source4/heimdal/lib/krb5/get_addrs.c krb5_free_address(context, &res->val[idx]);
context 220 source4/heimdal/lib/krb5/get_addrs.c krb5_free_addresses(context, &ignore_addresses);
context 231 source4/heimdal/lib/krb5/get_addrs.c get_addrs_int (krb5_context context, krb5_addresses *res, int flags)
context 236 source4/heimdal/lib/krb5/get_addrs.c ret = find_all_addresses (context, res, flags);
context 238 source4/heimdal/lib/krb5/get_addrs.c ret = gethostname_fallback (context, res);
context 248 source4/heimdal/lib/krb5/get_addrs.c ret = krb5_get_extra_addresses(context, &a);
context 250 source4/heimdal/lib/krb5/get_addrs.c krb5_free_addresses(context, res);
context 253 source4/heimdal/lib/krb5/get_addrs.c ret = krb5_append_addresses(context, res, &a);
context 255 source4/heimdal/lib/krb5/get_addrs.c krb5_free_addresses(context, res);
context 258 source4/heimdal/lib/krb5/get_addrs.c krb5_free_addresses(context, &a);
context 275 source4/heimdal/lib/krb5/get_addrs.c krb5_get_all_client_addrs (krb5_context context, krb5_addresses *res)
context 279 source4/heimdal/lib/krb5/get_addrs.c if (context->scan_interfaces)
context 282 source4/heimdal/lib/krb5/get_addrs.c return get_addrs_int (context, res, flags);
context 291 source4/heimdal/lib/krb5/get_addrs.c krb5_get_all_server_addrs (krb5_context context, krb5_addresses *res)
context 293 source4/heimdal/lib/krb5/get_addrs.c return get_addrs_int (context, res, LOOP | SCAN_INTERFACES);
context 44 source4/heimdal/lib/krb5/get_cred.c make_pa_tgs_req(krb5_context context,
context 60 source4/heimdal/lib/krb5/get_cred.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 64 source4/heimdal/lib/krb5/get_cred.c ret = _krb5_mk_req_internal(context, &ac, 0, &in_data, creds,
context 81 source4/heimdal/lib/krb5/get_cred.c set_auth_data (krb5_context context,
context 97 source4/heimdal/lib/krb5/get_cred.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 102 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 106 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 113 source4/heimdal/lib/krb5/get_cred.c krb5_encrypt_EncryptedData(context,
context 122 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
context 136 source4/heimdal/lib/krb5/get_cred.c init_tgs_req (krb5_context context,
context 157 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret,
context 163 source4/heimdal/lib/krb5/get_cred.c ret = krb5_init_etype(context,
context 178 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 194 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 204 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret,
context 211 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret,
context 222 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 228 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 236 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret,
context 247 source4/heimdal/lib/krb5/get_cred.c ret = krb5_auth_con_init(context, &ac);
context 251 source4/heimdal/lib/krb5/get_cred.c if (krb5_config_get_bool_default(context, NULL, FALSE,
context 257 source4/heimdal/lib/krb5/get_cred.c ret = krb5_generate_subkey (context, &krbtgt->session, &key);
context 259 source4/heimdal/lib/krb5/get_cred.c krb5_auth_con_free (context, ac);
context 263 source4/heimdal/lib/krb5/get_cred.c ret = krb5_auth_con_setlocalsubkey(context, ac, key);
context 266 source4/heimdal/lib/krb5/get_cred.c krb5_free_keyblock (context, key);
context 267 source4/heimdal/lib/krb5/get_cred.c krb5_auth_con_free (context, ac);
context 272 source4/heimdal/lib/krb5/get_cred.c ret = set_auth_data (context, &t->req_body, &in_creds->authdata,
context 276 source4/heimdal/lib/krb5/get_cred.c krb5_free_keyblock (context, key);
context 277 source4/heimdal/lib/krb5/get_cred.c krb5_auth_con_free (context, ac);
context 281 source4/heimdal/lib/krb5/get_cred.c ret = make_pa_tgs_req(context,
context 288 source4/heimdal/lib/krb5/get_cred.c krb5_free_keyblock (context, key);
context 289 source4/heimdal/lib/krb5/get_cred.c krb5_auth_con_free(context, ac);
context 294 source4/heimdal/lib/krb5/get_cred.c krb5_auth_con_free(context, ac);
context 305 source4/heimdal/lib/krb5/get_cred.c _krb5_get_krbtgt(krb5_context context,
context 315 source4/heimdal/lib/krb5/get_cred.c ret = krb5_cc_get_principal(context, id, &tmp_cred.client);
context 319 source4/heimdal/lib/krb5/get_cred.c ret = krb5_make_principal(context,
context 326 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_cred.client);
context 329 source4/heimdal/lib/krb5/get_cred.c ret = krb5_get_credentials(context,
context 334 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_cred.client);
context 335 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_cred.server);
context 343 source4/heimdal/lib/krb5/get_cred.c decrypt_tkt_with_subkey (krb5_context context,
context 354 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 357 source4/heimdal/lib/krb5/get_cred.c ret = krb5_decrypt_EncryptedData (context,
context 362 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
context 365 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, subkey, 0, &crypto);
context 368 source4/heimdal/lib/krb5/get_cred.c ret = krb5_decrypt_EncryptedData (context,
context 373 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
context 378 source4/heimdal/lib/krb5/get_cred.c ret = krb5_decode_EncASRepPart(context,
context 384 source4/heimdal/lib/krb5/get_cred.c ret = krb5_decode_EncTGSRepPart(context,
context 394 source4/heimdal/lib/krb5/get_cred.c get_cred_kdc(krb5_context context,
context 445 source4/heimdal/lib/krb5/get_cred.c ret = _krb5_s4u2self_to_checksumdata(context, &self, &data);
context 451 source4/heimdal/lib/krb5/get_cred.c ret = krb5_crypto_init(context, &krbtgt->session, 0, &crypto);
context 458 source4/heimdal/lib/krb5/get_cred.c ret = krb5_create_checksum(context,
context 465 source4/heimdal/lib/krb5/get_cred.c krb5_crypto_destroy(context, crypto);
context 478 source4/heimdal/lib/krb5/get_cred.c krb5_abortx(context, "internal asn1 error");
context 480 source4/heimdal/lib/krb5/get_cred.c ret = krb5_padata_add(context, &padata, KRB5_PADATA_S4U2SELF, buf, len);
context 485 source4/heimdal/lib/krb5/get_cred.c ret = init_tgs_req (context,
context 503 source4/heimdal/lib/krb5/get_cred.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 514 source4/heimdal/lib/krb5/get_cred.c ret = krb5_sendto_ctx_alloc(context, &stctx);
context 519 source4/heimdal/lib/krb5/get_cred.c ret = krb5_sendto_context (context, stctx, &enc,
context 522 source4/heimdal/lib/krb5/get_cred.c krb5_sendto_ctx_free(context, stctx);
context 531 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_principal(context,
context 536 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_principal(context,
context 548 source4/heimdal/lib/krb5/get_cred.c ret = _krb5_extract_ticket(context,
context 560 source4/heimdal/lib/krb5/get_cred.c krb5_free_kdc_rep(context, &rep);
context 561 source4/heimdal/lib/krb5/get_cred.c } else if(krb5_rd_error(context, &resp, &error) == 0) {
context 562 source4/heimdal/lib/krb5/get_cred.c ret = krb5_error_from_rd_error(context, &error, in_creds);
context 563 source4/heimdal/lib/krb5/get_cred.c krb5_free_error_contents(context, &error);
context 566 source4/heimdal/lib/krb5/get_cred.c krb5_clear_error_message(context);
context 569 source4/heimdal/lib/krb5/get_cred.c krb5_clear_error_message(context);
context 579 source4/heimdal/lib/krb5/get_cred.c krb5_free_keyblock_contents(context, subkey);
context 592 source4/heimdal/lib/krb5/get_cred.c get_cred_kdc_address(krb5_context context,
context 613 source4/heimdal/lib/krb5/get_cred.c krb5_appdefault_boolean(context, NULL, krbtgt->server->realm,
context 617 source4/heimdal/lib/krb5/get_cred.c krb5_get_all_client_addrs(context, &addresses);
context 624 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc(context, id, flags, addrs, in_creds,
context 627 source4/heimdal/lib/krb5/get_cred.c krb5_free_addresses(context, &addresses);
context 632 source4/heimdal/lib/krb5/get_cred.c krb5_get_kdc_cred(krb5_context context,
context 646 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 650 source4/heimdal/lib/krb5/get_cred.c ret = _krb5_get_krbtgt (context,
context 658 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc(context, id, flags, addresses,
context 660 source4/heimdal/lib/krb5/get_cred.c krb5_free_creds (context, krbtgt);
context 667 source4/heimdal/lib/krb5/get_cred.c not_found(krb5_context context, krb5_const_principal p, krb5_error_code code)
context 672 source4/heimdal/lib/krb5/get_cred.c ret = krb5_unparse_name(context, p, &str);
context 674 source4/heimdal/lib/krb5/get_cred.c krb5_clear_error_message(context);
context 677 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, code,
context 684 source4/heimdal/lib/krb5/get_cred.c find_cred(krb5_context context,
context 695 source4/heimdal/lib/krb5/get_cred.c ret = krb5_cc_retrieve_cred(context, id, KRB5_TC_DONT_MATCH_REALM,
context 700 source4/heimdal/lib/krb5/get_cred.c if(krb5_compare_creds(context, KRB5_TC_DONT_MATCH_REALM,
context 702 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_creds_contents(context, *tgts, out_creds);
context 707 source4/heimdal/lib/krb5/get_cred.c return not_found(context, server, KRB5_CC_NOTFOUND);
context 711 source4/heimdal/lib/krb5/get_cred.c add_cred(krb5_context context, krb5_creds const *tkt, krb5_creds ***tgts)
context 720 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 725 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_creds(context, tkt, &tmp[i]);
context 746 source4/heimdal/lib/krb5/get_cred.c get_cred_kdc_capath(krb5_context context,
context 762 source4/heimdal/lib/krb5/get_cred.c client_realm = krb5_principal_get_realm(context, in_creds->client);
context 763 source4/heimdal/lib/krb5/get_cred.c server_realm = krb5_principal_get_realm(context, in_creds->server);
context 765 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_principal(context, in_creds->client, &tmp_creds.client);
context 769 source4/heimdal/lib/krb5/get_cred.c try_realm = krb5_config_get_string(context, NULL, "capaths",
context 774 source4/heimdal/lib/krb5/get_cred.c ret = krb5_make_principal(context,
context 781 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 787 source4/heimdal/lib/krb5/get_cred.c ret = find_cred(context, ccache, tmp_creds.server,
context 796 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret,
context 799 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_address(context, ccache, flags, NULL,
context 810 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &tgts);
context 811 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 812 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 816 source4/heimdal/lib/krb5/get_cred.c if(krb5_realm_compare(context, in_creds->client, in_creds->server))
context 817 source4/heimdal/lib/krb5/get_cred.c return not_found(context, in_creds->server, KRB5_CC_NOTFOUND);
context 823 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_capath(context, flags, ccache, &tmp_creds,
context 826 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 827 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 839 source4/heimdal/lib/krb5/get_cred.c ret = add_cred(context, tgt, ret_tgts);
context 841 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 842 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 848 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 849 source4/heimdal/lib/krb5/get_cred.c ret = krb5_make_principal(context, &tmp_creds.server,
context 852 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 853 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 856 source4/heimdal/lib/krb5/get_cred.c ret = krb5_free_creds(context, tgt);
context 858 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 859 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 864 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.server);
context 865 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tmp_creds.client);
context 869 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 871 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_address (context, ccache, flags, NULL,
context 879 source4/heimdal/lib/krb5/get_cred.c krb5_free_creds(context, tgt);
context 884 source4/heimdal/lib/krb5/get_cred.c get_cred_kdc_referral(krb5_context context,
context 906 source4/heimdal/lib/krb5/get_cred.c client_realm = krb5_principal_get_realm(context, in_creds->client);
context 912 source4/heimdal/lib/krb5/get_cred.c ret = krb5_make_principal(context, &tgtname,
context 920 source4/heimdal/lib/krb5/get_cred.c ret = find_cred(context, ccache, tgtname, *ret_tgts, &tgt);
context 921 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, tgtname);
context 927 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_principal(context, in_creds->server, &referral.server);
context 929 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &tgt);
context 932 source4/heimdal/lib/krb5/get_cred.c ret = krb5_principal_set_realm(context, referral.server, client_realm);
context 934 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &tgt);
context 935 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, referral.server);
context 948 source4/heimdal/lib/krb5/get_cred.c ret = krb5_cc_retrieve_cred(context, ccache, 0, &mcreds, &ticket);
context 953 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_address (context, ccache, flags, NULL,
context 961 source4/heimdal/lib/krb5/get_cred.c if (krb5_principal_compare_any_realm(context,
context 969 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, KRB5KRB_AP_ERR_NOT_US,
context 972 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &ticket);
context 985 source4/heimdal/lib/krb5/get_cred.c if(krb5_compare_creds(context,
context 990 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, KRB5_GET_IN_TKT_LOOP,
context 995 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &ticket);
context 1011 source4/heimdal/lib/krb5/get_cred.c ret = add_cred(context, &ticket, ret_tgts);
context 1013 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &ticket);
context 1018 source4/heimdal/lib/krb5/get_cred.c ret = krb5_principal_set_realm(context,
context 1021 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &tgt);
context 1028 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_creds(context, &ticket, out_creds);
context 1031 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, referral.server);
context 1032 source4/heimdal/lib/krb5/get_cred.c krb5_free_cred_contents(context, &tgt);
context 1043 source4/heimdal/lib/krb5/get_cred.c get_cred_kdc_any(krb5_context context,
context 1054 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_referral(context,
context 1064 source4/heimdal/lib/krb5/get_cred.c return get_cred_kdc_capath(context,
context 1076 source4/heimdal/lib/krb5/get_cred.c krb5_get_cred_from_kdc_opt(krb5_context context,
context 1085 source4/heimdal/lib/krb5/get_cred.c return get_cred_kdc_any(context, f, ccache,
context 1091 source4/heimdal/lib/krb5/get_cred.c krb5_get_cred_from_kdc(krb5_context context,
context 1097 source4/heimdal/lib/krb5/get_cred.c return krb5_get_cred_from_kdc_opt(context, ccache,
context 1103 source4/heimdal/lib/krb5/get_cred.c krb5_get_credentials_with_flags(krb5_context context,
context 1118 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 1130 source4/heimdal/lib/krb5/get_cred.c ret = krb5_cc_retrieve_cred(context,
context 1148 source4/heimdal/lib/krb5/get_cred.c krb5_timeofday(context, &timeret);
context 1154 source4/heimdal/lib/krb5/get_cred.c krb5_cc_remove_cred(context, ccache, 0, res_creds);
context 1162 source4/heimdal/lib/krb5/get_cred.c return not_found(context, in_creds->server, KRB5_CC_NOTFOUND);
context 1170 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_any(context, flags, ccache,
context 1173 source4/heimdal/lib/krb5/get_cred.c krb5_cc_store_cred(context, ccache, tgts[i]);
context 1174 source4/heimdal/lib/krb5/get_cred.c krb5_free_creds(context, tgts[i]);
context 1178 source4/heimdal/lib/krb5/get_cred.c krb5_cc_store_cred(context, ccache, *out_creds);
context 1183 source4/heimdal/lib/krb5/get_cred.c krb5_get_credentials(krb5_context context,
context 1191 source4/heimdal/lib/krb5/get_cred.c return krb5_get_credentials_with_flags(context, options, flags,
context 1204 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_alloc(krb5_context context, krb5_get_creds_opt *opt)
context 1208 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 1216 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_free(krb5_context context, krb5_get_creds_opt opt)
context 1219 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, opt->self);
context 1225 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_set_options(krb5_context context,
context 1233 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_add_options(krb5_context context,
context 1241 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_set_enctype(krb5_context context,
context 1249 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_set_impersonate(krb5_context context,
context 1254 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, opt->self);
context 1255 source4/heimdal/lib/krb5/get_cred.c return krb5_copy_principal(context, self, &opt->self);
context 1259 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds_opt_set_ticket(krb5_context context,
context 1273 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 1281 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ret,
context 1292 source4/heimdal/lib/krb5/get_cred.c krb5_get_creds(krb5_context context,
context 1309 source4/heimdal/lib/krb5/get_cred.c ret = krb5_cc_get_principal(context, ccache, &in_creds.client);
context 1319 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in_creds.client);
context 1320 source4/heimdal/lib/krb5/get_cred.c krb5_set_error_message(context, ENOMEM,
context 1334 source4/heimdal/lib/krb5/get_cred.c ret = krb5_cc_retrieve_cred(context,
context 1348 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in_creds.client);
context 1352 source4/heimdal/lib/krb5/get_cred.c krb5_timeofday(context, &timeret);
context 1355 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in_creds.client);
context 1359 source4/heimdal/lib/krb5/get_cred.c krb5_cc_remove_cred(context, ccache, 0, res_creds);
context 1363 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in_creds.client);
context 1368 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in_creds.client);
context 1369 source4/heimdal/lib/krb5/get_cred.c return not_found(context, in_creds.server, KRB5_CC_NOTFOUND);
context 1387 source4/heimdal/lib/krb5/get_cred.c ret = get_cred_kdc_any(context, flags, ccache,
context 1390 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in_creds.client);
context 1392 source4/heimdal/lib/krb5/get_cred.c krb5_cc_store_cred(context, ccache, tgts[i]);
context 1393 source4/heimdal/lib/krb5/get_cred.c krb5_free_creds(context, tgts[i]);
context 1397 source4/heimdal/lib/krb5/get_cred.c krb5_cc_store_cred(context, ccache, *out_creds);
context 1406 source4/heimdal/lib/krb5/get_cred.c krb5_get_renewed_creds(krb5_context context,
context 1419 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_principal(context, client, &in.client);
context 1424 source4/heimdal/lib/krb5/get_cred.c ret = krb5_parse_name(context, in_tkt_service, &in.server);
context 1426 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in.client);
context 1430 source4/heimdal/lib/krb5/get_cred.c const char *realm = krb5_principal_get_realm(context, client);
context 1432 source4/heimdal/lib/krb5/get_cred.c ret = krb5_make_principal(context, &in.server, realm, KRB5_TGS_NAME,
context 1435 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in.client);
context 1447 source4/heimdal/lib/krb5/get_cred.c ret = krb5_get_credentials(context, KRB5_GC_CACHED, ccache, &in, &template);
context 1451 source4/heimdal/lib/krb5/get_cred.c krb5_free_creds (context, template);
context 1454 source4/heimdal/lib/krb5/get_cred.c ret = krb5_get_kdc_cred(context, ccache, flags, NULL, NULL, &in, &out);
context 1455 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in.client);
context 1456 source4/heimdal/lib/krb5/get_cred.c krb5_free_principal(context, in.server);
context 1460 source4/heimdal/lib/krb5/get_cred.c ret = krb5_copy_creds_contents(context, out, creds);
context 1461 source4/heimdal/lib/krb5/get_cred.c krb5_free_creds(context, out);
context 60 source4/heimdal/lib/krb5/get_default_principal.c _krb5_get_default_principal_local (krb5_context context,
context 75 source4/heimdal/lib/krb5/get_default_principal.c ret = krb5_make_principal(context, princ, NULL, user, "root", NULL);
context 77 source4/heimdal/lib/krb5/get_default_principal.c ret = krb5_make_principal(context, princ, NULL, "root", NULL);
context 88 source4/heimdal/lib/krb5/get_default_principal.c krb5_set_error_message(context, ENOTTY,
context 93 source4/heimdal/lib/krb5/get_default_principal.c ret = krb5_make_principal(context, princ, NULL, user, NULL);
context 99 source4/heimdal/lib/krb5/get_default_principal.c krb5_get_default_principal (krb5_context context,
context 107 source4/heimdal/lib/krb5/get_default_principal.c ret = krb5_cc_default (context, &id);
context 109 source4/heimdal/lib/krb5/get_default_principal.c ret = krb5_cc_get_principal (context, id, princ);
context 110 source4/heimdal/lib/krb5/get_default_principal.c krb5_cc_close (context, id);
context 115 source4/heimdal/lib/krb5/get_default_principal.c return _krb5_get_default_principal_local(context, princ);
context 44 source4/heimdal/lib/krb5/get_default_realm.c krb5_get_default_realms (krb5_context context,
context 47 source4/heimdal/lib/krb5/get_default_realm.c if (context->default_realms == NULL) {
context 48 source4/heimdal/lib/krb5/get_default_realm.c krb5_error_code ret = krb5_set_default_realm (context, NULL);
context 53 source4/heimdal/lib/krb5/get_default_realm.c return krb5_copy_host_realm (context,
context 54 source4/heimdal/lib/krb5/get_default_realm.c context->default_realms,
context 63 source4/heimdal/lib/krb5/get_default_realm.c krb5_get_default_realm(krb5_context context,
context 69 source4/heimdal/lib/krb5/get_default_realm.c if (context->default_realms == NULL
context 70 source4/heimdal/lib/krb5/get_default_realm.c || context->default_realms[0] == NULL) {
context 71 source4/heimdal/lib/krb5/get_default_realm.c krb5_clear_error_message(context);
context 72 source4/heimdal/lib/krb5/get_default_realm.c ret = krb5_set_default_realm (context, NULL);
context 77 source4/heimdal/lib/krb5/get_default_realm.c res = strdup (context->default_realms[0]);
context 79 source4/heimdal/lib/krb5/get_default_realm.c krb5_set_error_message(context, ENOMEM,
context 39 source4/heimdal/lib/krb5/get_for_creds.c add_addrs(krb5_context context,
context 55 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 67 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_sockaddr2address (context, a->ai_addr, &ad);
context 69 source4/heimdal/lib/krb5/get_for_creds.c if (krb5_address_search(context, &ad, addr))
context 70 source4/heimdal/lib/krb5/get_for_creds.c krb5_free_address(context, &ad);
context 75 source4/heimdal/lib/krb5/get_for_creds.c krb5_clear_error_message (context);
context 82 source4/heimdal/lib/krb5/get_for_creds.c krb5_free_addresses (context, addr);
context 106 source4/heimdal/lib/krb5/get_for_creds.c krb5_fwd_tgt_creds (krb5_context context,
context 126 source4/heimdal/lib/krb5/get_for_creds.c krb5_principal_get_type(context, server) == KRB5_NT_SRV_HST) {
context 127 source4/heimdal/lib/krb5/get_for_creds.c const char *inst = krb5_principal_get_comp_string(context, server, 0);
context 128 source4/heimdal/lib/krb5/get_for_creds.c const char *host = krb5_principal_get_comp_string(context, server, 1);
context 133 source4/heimdal/lib/krb5/get_for_creds.c krb5_principal_get_comp_string(context, server, 2) == NULL)
context 137 source4/heimdal/lib/krb5/get_for_creds.c client_realm = krb5_principal_get_realm(context, client);
context 142 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_build_principal(context,
context 152 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_get_forwarded_creds (context,
context 190 source4/heimdal/lib/krb5/get_for_creds.c krb5_get_forwarded_creds (krb5_context context,
context 216 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_get_credentials(context, 0, ccache, in_creds, &ticket);
context 220 source4/heimdal/lib/krb5/get_for_creds.c krb5_free_creds (context, ticket);
context 223 source4/heimdal/lib/krb5/get_for_creds.c krb5_appdefault_boolean(context, NULL,
context 224 source4/heimdal/lib/krb5/get_for_creds.c krb5_principal_get_realm(context,
context 241 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret2,
context 248 source4/heimdal/lib/krb5/get_for_creds.c ret = add_addrs (context, &addrs, ai);
context 256 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_get_kdc_cred (context,
context 263 source4/heimdal/lib/krb5/get_for_creds.c krb5_free_addresses (context, &addrs);
context 273 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 286 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 294 source4/heimdal/lib/krb5/get_for_creds.c krb5_us_timeofday (context, &sec, &usec);
context 299 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 306 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 317 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_make_addrport (context,
context 330 source4/heimdal/lib/krb5/get_for_creds.c srealm = krb5_principal_get_realm(context, out_creds->server);
context 336 source4/heimdal/lib/krb5/get_for_creds.c krb5_appdefault_boolean(context, NULL, srealm, "no-addresses",
context 339 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_make_addrport (context,
context 350 source4/heimdal/lib/krb5/get_for_creds.c krb5_set_error_message(context, ret,
context 355 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_copy_address (context, auth_context->remote_address,
context 390 source4/heimdal/lib/krb5/get_for_creds.c krb5_free_creds (context, out_creds);
context 402 source4/heimdal/lib/krb5/get_for_creds.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 425 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
context 431 source4/heimdal/lib/krb5/get_for_creds.c ret = krb5_encrypt_EncryptedData (context,
context 439 source4/heimdal/lib/krb5/get_for_creds.c krb5_crypto_destroy(context, crypto);
context 451 source4/heimdal/lib/krb5/get_for_creds.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 460 source4/heimdal/lib/krb5/get_for_creds.c krb5_free_creds (context, out_creds);
context 93 source4/heimdal/lib/krb5/get_host_realm.c dns_find_realm(krb5_context context,
context 104 source4/heimdal/lib/krb5/get_host_realm.c config_labels = krb5_config_get_strings(context, NULL, "libdefaults",
context 141 source4/heimdal/lib/krb5/get_host_realm.c config_find_realm(krb5_context context,
context 145 source4/heimdal/lib/krb5/get_host_realm.c char **tmp = krb5_config_get_strings (context, NULL,
context 164 source4/heimdal/lib/krb5/get_host_realm.c _krb5_get_host_realm_int (krb5_context context,
context 172 source4/heimdal/lib/krb5/get_host_realm.c dns_locate_enable = krb5_config_get_bool_default(context, NULL, TRUE,
context 175 source4/heimdal/lib/krb5/get_host_realm.c if(config_find_realm(context, p, realms) == 0) {
context 179 source4/heimdal/lib/krb5/get_host_realm.c if(dns_find_realm(context, q, realms) == 0)
context 186 source4/heimdal/lib/krb5/get_host_realm.c if(dns_find_realm(context, p, realms) == 0)
context 195 source4/heimdal/lib/krb5/get_host_realm.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 202 source4/heimdal/lib/krb5/get_host_realm.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 209 source4/heimdal/lib/krb5/get_host_realm.c krb5_set_error_message(context, KRB5_ERR_HOST_REALM_UNKNOWN,
context 221 source4/heimdal/lib/krb5/get_host_realm.c krb5_get_host_realm(krb5_context context,
context 244 source4/heimdal/lib/krb5/get_host_realm.c ret = _krb5_get_host_realm_int (context, host, use_dns, realms);
context 251 source4/heimdal/lib/krb5/get_host_realm.c ret = krb5_get_default_realms(context, realms);
context 253 source4/heimdal/lib/krb5/get_host_realm.c krb5_set_error_message(context, KRB5_ERR_HOST_REALM_UNKNOWN,
context 39 source4/heimdal/lib/krb5/get_in_tkt.c krb5_init_etype (krb5_context context,
context 50 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_get_default_in_tkt_etypes(context,
context 63 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 76 source4/heimdal/lib/krb5/get_in_tkt.c check_server_referral(krb5_context context,
context 111 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 117 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &session);
context 123 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_decrypt_EncryptedData(context, session,
context 127 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, session);
context 140 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 156 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 160 source4/heimdal/lib/krb5/get_in_tkt.c } else if (krb5_principal_compare(context, returned, requested) == 0) {
context 162 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 168 source4/heimdal/lib/krb5/get_in_tkt.c cmp = _krb5_principal_compare_PrincipalName(context,
context 173 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 180 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 189 source4/heimdal/lib/krb5/get_in_tkt.c if (krb5_principal_compare(context, requested, returned) == FALSE) {
context 190 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 205 source4/heimdal/lib/krb5/get_in_tkt.c check_client_referral(krb5_context context,
context 232 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret,
context 245 source4/heimdal/lib/krb5/get_in_tkt.c krb5_abortx(context, "internal asn.1 error");
context 247 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 254 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_verify_checksum(context, crypto, KRB5_KU_CANONICALIZED_NAMES,
context 257 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, crypto);
context 260 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret,
context 268 source4/heimdal/lib/krb5/get_in_tkt.c if (!_krb5_principal_compare_PrincipalName(context,
context 273 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5_PRINC_NOMATCH,
context 278 source4/heimdal/lib/krb5/get_in_tkt.c if (!_krb5_principal_compare_PrincipalName(context,
context 283 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5_PRINC_NOMATCH,
context 292 source4/heimdal/lib/krb5/get_in_tkt.c if (krb5_principal_compare(context, requested, mapped) == FALSE) {
context 293 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, KRB5KRB_AP_ERR_MODIFIED,
context 304 source4/heimdal/lib/krb5/get_in_tkt.c decrypt_tkt (krb5_context context,
context 315 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 319 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_decrypt_EncryptedData (context,
context 324 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, crypto);
context 329 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_decode_EncASRepPart(context,
context 335 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_decode_EncTGSRepPart(context,
context 347 source4/heimdal/lib/krb5/get_in_tkt.c _krb5_extract_ticket(krb5_context context,
context 370 source4/heimdal/lib/krb5/get_in_tkt.c ret = (*decrypt_proc)(context, key, key_usage, decryptarg, rep);
context 383 source4/heimdal/lib/krb5/get_in_tkt.c krb5_clear_error_message(context);
context 397 source4/heimdal/lib/krb5/get_in_tkt.c ret = _krb5_principalname2krb5_principal (context,
context 407 source4/heimdal/lib/krb5/get_in_tkt.c ret = check_client_referral(context, rep,
context 412 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_principal (context, tmp_principal);
context 416 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_principal (context, creds->client);
context 420 source4/heimdal/lib/krb5/get_in_tkt.c ret = _krb5_principalname2krb5_principal (context,
context 427 source4/heimdal/lib/krb5/get_in_tkt.c ret = check_server_referral(context,
context 434 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_principal (context, tmp_principal);
context 438 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_principal(context, creds->server);
context 443 source4/heimdal/lib/krb5/get_in_tkt.c const char *srealm = krb5_principal_get_realm(context, creds->server);
context 444 source4/heimdal/lib/krb5/get_in_tkt.c const char *crealm = krb5_principal_get_realm(context, creds->client);
context 450 source4/heimdal/lib/krb5/get_in_tkt.c krb5_clear_error_message(context);
context 459 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 465 source4/heimdal/lib/krb5/get_in_tkt.c krb5_timeofday (context, &sec_now);
context 467 source4/heimdal/lib/krb5/get_in_tkt.c && context->kdc_sec_offset == 0
context 468 source4/heimdal/lib/krb5/get_in_tkt.c && krb5_config_get_bool (context, NULL,
context 472 source4/heimdal/lib/krb5/get_in_tkt.c context->kdc_sec_offset = rep->enc_part.authtime - sec_now;
context 473 source4/heimdal/lib/krb5/get_in_tkt.c krb5_timeofday (context, &sec_now);
context 484 source4/heimdal/lib/krb5/get_in_tkt.c && abs(tmp_time - sec_now) > context->max_skew) {
context 486 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message (context, ret,
context 489 source4/heimdal/lib/krb5/get_in_tkt.c (int)context->max_skew);
context 495 source4/heimdal/lib/krb5/get_in_tkt.c krb5_clear_error_message (context);
context 509 source4/heimdal/lib/krb5/get_in_tkt.c krb5_clear_error_message (context);
context 520 source4/heimdal/lib/krb5/get_in_tkt.c krb5_clear_error_message (context);
context 528 source4/heimdal/lib/krb5/get_in_tkt.c krb5_copy_addresses (context, rep->enc_part.caddr, &creds->addresses);
context 530 source4/heimdal/lib/krb5/get_in_tkt.c krb5_copy_addresses (context, addrs, &creds->addresses);
context 546 source4/heimdal/lib/krb5/get_in_tkt.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 559 source4/heimdal/lib/krb5/get_in_tkt.c make_pa_enc_timestamp(krb5_context context, PA_DATA *pa,
context 572 source4/heimdal/lib/krb5/get_in_tkt.c krb5_us_timeofday (context, &p.patimestamp, &usec);
context 580 source4/heimdal/lib/krb5/get_in_tkt.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 581 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 586 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_encrypt_EncryptedData(context,
context 594 source4/heimdal/lib/krb5/get_in_tkt.c krb5_crypto_destroy(context, crypto);
context 603 source4/heimdal/lib/krb5/get_in_tkt.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 611 source4/heimdal/lib/krb5/get_in_tkt.c add_padata(krb5_context context,
context 628 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_get_pw_salt (context, client, &salt2);
context 632 source4/heimdal/lib/krb5/get_in_tkt.c enctypes = context->etypes;
context 639 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 647 source4/heimdal/lib/krb5/get_in_tkt.c ret = (*key_proc)(context, enctypes[i], *salt, keyseed, &key);
context 650 source4/heimdal/lib/krb5/get_in_tkt.c ret = make_pa_enc_timestamp (context, &md->val[md->len],
context 652 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_keyblock (context, key);
context 658 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_salt(context, salt2);
context 663 source4/heimdal/lib/krb5/get_in_tkt.c init_as_req (krb5_context context,
context 686 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 692 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 709 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 722 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 728 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_init_etype (context,
context 745 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 750 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_copy_addresses(context, addrs, a->req_body.addresses);
context 752 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_get_all_client_addrs (context, a->req_body.addresses);
context 770 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 792 source4/heimdal/lib/krb5/get_in_tkt.c ret = add_padata(context, a->padata, creds->client,
context 809 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 816 source4/heimdal/lib/krb5/get_in_tkt.c add_padata(context, a->padata, creds->client,
context 823 source4/heimdal/lib/krb5/get_in_tkt.c add_padata(context, a->padata, creds->client,
context 828 source4/heimdal/lib/krb5/get_in_tkt.c krb5_set_error_message (context, ret,
context 840 source4/heimdal/lib/krb5/get_in_tkt.c set_ptypes(krb5_context context,
context 864 source4/heimdal/lib/krb5/get_in_tkt.c krb5_decode_ETYPE_INFO(context,
context 882 source4/heimdal/lib/krb5/get_in_tkt.c krb5_get_in_cred(krb5_context context,
context 917 source4/heimdal/lib/krb5/get_in_tkt.c ret = init_as_req (context,
context 941 source4/heimdal/lib/krb5/get_in_tkt.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 943 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_sendto_kdc (context, &req, &creds->client->realm, &resp);
context 955 source4/heimdal/lib/krb5/get_in_tkt.c ret2 = krb5_rd_error(context, &resp, &error);
context 960 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_error_from_rd_error(context, &error, creds);
context 968 source4/heimdal/lib/krb5/get_in_tkt.c && set_ptypes(context, &error, &ptypes, &my_preauth)) {
context 971 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_error_contents(context, &error);
context 972 source4/heimdal/lib/krb5/get_in_tkt.c krb5_clear_error_message(context);
context 1003 source4/heimdal/lib/krb5/get_in_tkt.c ret = (*key_proc)(context, etype, salt, keyseed, &key);
context 1006 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_get_pw_salt (context, creds->client, &salt);
context 1010 source4/heimdal/lib/krb5/get_in_tkt.c ret = (*key_proc)(context, etype, salt, keyseed, &key);
context 1011 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_salt(context, salt);
context 1021 source4/heimdal/lib/krb5/get_in_tkt.c ret = _krb5_extract_ticket(context,
context 1034 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_keyblock_contents (context, key);
context 1041 source4/heimdal/lib/krb5/get_in_tkt.c krb5_free_kdc_rep (context, &rep);
context 1046 source4/heimdal/lib/krb5/get_in_tkt.c krb5_get_in_tkt(krb5_context context,
context 1061 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_get_in_cred (context,
context 1076 source4/heimdal/lib/krb5/get_in_tkt.c ret = krb5_cc_store_cred (context, ccache, creds);
context 39 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c krb5_keytab_key_proc (krb5_context context,
context 53 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c krb5_kt_default(context, &real_keytab);
context 57 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c ret = krb5_kt_get_entry (context, real_keytab, principal,
context 61 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c krb5_kt_close (context, real_keytab);
context 66 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c ret = krb5_copy_keyblock (context, &entry.keyblock, key);
context 67 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c krb5_kt_free_entry(context, &entry);
context 72 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c krb5_get_in_tkt_with_keytab (krb5_context context,
context 87 source4/heimdal/lib/krb5/get_in_tkt_with_keytab.c return krb5_get_in_tkt (context,
context 39 source4/heimdal/lib/krb5/get_port.c krb5_getportbyname (krb5_context context,
context 48 source4/heimdal/lib/krb5/get_port.c krb5_warnx(context, "%s/%s unknown service, using default port %d",
context 49 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_alloc(krb5_context context,
context 57 source4/heimdal/lib/krb5/init_creds.c krb5_set_error_message(context, ENOMEM,
context 64 source4/heimdal/lib/krb5/init_creds.c krb5_set_error_message(context, ENOMEM,
context 75 source4/heimdal/lib/krb5/init_creds.c _krb5_get_init_creds_opt_copy(krb5_context context,
context 84 source4/heimdal/lib/krb5/init_creds.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 92 source4/heimdal/lib/krb5/init_creds.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 114 source4/heimdal/lib/krb5/init_creds.c _krb5_get_init_creds_opt_set_krb5_error(krb5_context context,
context 137 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_free(krb5_context context,
context 154 source4/heimdal/lib/krb5/init_creds.c get_config_time (krb5_context context,
context 161 source4/heimdal/lib/krb5/init_creds.c ret = krb5_config_get_time (context, NULL,
context 168 source4/heimdal/lib/krb5/init_creds.c ret = krb5_config_get_time (context, NULL,
context 178 source4/heimdal/lib/krb5/init_creds.c get_config_bool (krb5_context context,
context 182 source4/heimdal/lib/krb5/init_creds.c return krb5_config_get_bool (context,
context 188 source4/heimdal/lib/krb5/init_creds.c || krb5_config_get_bool (context,
context 203 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_default_flags(krb5_context context,
context 211 source4/heimdal/lib/krb5/init_creds.c b = get_config_bool (context, realm, "forwardable");
context 212 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "forwardable", b, &b);
context 215 source4/heimdal/lib/krb5/init_creds.c b = get_config_bool (context, realm, "proxiable");
context 216 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "proxiable", b, &b);
context 219 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_time(context, appname, realm, "ticket_lifetime", 0, &t);
context 221 source4/heimdal/lib/krb5/init_creds.c t = get_config_time (context, realm, "ticket_lifetime", 0);
context 225 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_time(context, appname, realm, "renew_lifetime", 0, &t);
context 227 source4/heimdal/lib/krb5/init_creds.c t = get_config_time (context, realm, "renew_lifetime", 0);
context 231 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "no-addresses",
context 233 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_addressless (context, opt, b);
context 236 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "anonymous", FALSE, &b);
context 329 source4/heimdal/lib/krb5/init_creds.c require_ext_opt(krb5_context context,
context 334 source4/heimdal/lib/krb5/init_creds.c krb5_set_error_message(context, EINVAL,
context 342 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_pa_password(krb5_context context,
context 348 source4/heimdal/lib/krb5/init_creds.c ret = require_ext_opt(context, opt, "init_creds_opt_set_pa_password");
context 357 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_pac_request(krb5_context context,
context 362 source4/heimdal/lib/krb5/init_creds.c ret = require_ext_opt(context, opt, "init_creds_opt_set_pac_req");
context 372 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_get_error(krb5_context context,
context 380 source4/heimdal/lib/krb5/init_creds.c ret = require_ext_opt(context, opt, "init_creds_opt_get_error");
context 389 source4/heimdal/lib/krb5/init_creds.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 395 source4/heimdal/lib/krb5/init_creds.c krb5_clear_error_message(context);
context 401 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_addressless(krb5_context context,
context 406 source4/heimdal/lib/krb5/init_creds.c ret = require_ext_opt(context, opt, "init_creds_opt_set_pac_req");
context 417 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_canonicalize(krb5_context context,
context 422 source4/heimdal/lib/krb5/init_creds.c ret = require_ext_opt(context, opt, "init_creds_opt_set_canonicalize");
context 433 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_win2k(krb5_context context,
context 438 source4/heimdal/lib/krb5/init_creds.c ret = require_ext_opt(context, opt, "init_creds_opt_set_win2k");
context 62 source4/heimdal/lib/krb5/init_creds_pw.c default_s2k_func(krb5_context context, krb5_enctype type,
context 81 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_string_to_key_data_salt_opaque(context, type, password,
context 91 source4/heimdal/lib/krb5/init_creds_pw.c free_init_creds_ctx(krb5_context context, krb5_get_init_creds_ctx *ctx)
context 102 source4/heimdal/lib/krb5/init_creds_pw.c get_config_time (krb5_context context,
context 109 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_config_get_time (context, NULL,
context 116 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_config_get_time (context, NULL,
context 126 source4/heimdal/lib/krb5/init_creds_pw.c init_cred (krb5_context context,
context 138 source4/heimdal/lib/krb5/init_creds_pw.c krb5_timeofday (context, &now);
context 143 source4/heimdal/lib/krb5/init_creds_pw.c krb5_copy_principal(context, client, &cred->client);
context 145 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_default_principal (context,
context 151 source4/heimdal/lib/krb5/init_creds_pw.c client_realm = krb5_principal_get_realm (context, cred->client);
context 168 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_parse_name (context, in_tkt_service, &cred->server);
context 171 source4/heimdal/lib/krb5/init_creds_pw.c krb5_principal_set_realm (context, cred->server, client_realm);
context 173 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_make_principal(context, &cred->server,
context 182 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_cred_contents (context, cred);
context 191 source4/heimdal/lib/krb5/init_creds_pw.c report_expiration (krb5_context context,
context 200 source4/heimdal/lib/krb5/init_creds_pw.c (*prompter) (context, data, NULL, p, 0, NULL);
context 209 source4/heimdal/lib/krb5/init_creds_pw.c print_expire (krb5_context context,
context 221 source4/heimdal/lib/krb5/init_creds_pw.c krb5_timeofday (context, &sec);
context 223 source4/heimdal/lib/krb5/init_creds_pw.c t = sec + get_config_time (context,
context 232 source4/heimdal/lib/krb5/init_creds_pw.c report_expiration(context, prompter, data,
context 238 source4/heimdal/lib/krb5/init_creds_pw.c report_expiration(context, prompter, data,
context 250 source4/heimdal/lib/krb5/init_creds_pw.c report_expiration(context, prompter, data,
context 259 source4/heimdal/lib/krb5/init_creds_pw.c get_init_creds_common(krb5_context context,
context 301 source4/heimdal/lib/krb5/init_creds_pw.c ret = init_cred (context, &ctx->cred, client, start_time,
context 339 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 351 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 367 source4/heimdal/lib/krb5/init_creds_pw.c change_password (krb5_context context,
context 401 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_init_creds_password (context,
context 430 source4/heimdal/lib/krb5/init_creds_pw.c ret = (*prompter) (context, data, NULL, "Changing password",
context 444 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_set_password (context,
context 458 source4/heimdal/lib/krb5/init_creds_pw.c ret = (*prompter) (context, data, NULL, p, 0, NULL);
context 465 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret,
context 474 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_cred_contents (context, &cpw_cred);
context 479 source4/heimdal/lib/krb5/init_creds_pw.c krb5_keyblock_key_proc (krb5_context context,
context 485 source4/heimdal/lib/krb5/init_creds_pw.c return krb5_copy_keyblock (context, keyseed, key);
context 489 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_keytab(krb5_context context,
context 501 source4/heimdal/lib/krb5/init_creds_pw.c ret = get_init_creds_common(context, client, start_time,
context 509 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 515 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_in_cred (context,
context 532 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_cred_contents (context, &ctx.cred);
context 535 source4/heimdal/lib/krb5/init_creds_pw.c free_init_creds_ctx(context, &ctx);
context 544 source4/heimdal/lib/krb5/init_creds_pw.c init_creds_init_as_req (krb5_context context,
context 561 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 567 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 586 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 599 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 605 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_init_etype (context,
context 622 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 627 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_copy_addresses(context, addrs, a->req_body.addresses);
context 629 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_all_client_addrs (context, a->req_body.addresses);
context 658 source4/heimdal/lib/krb5/init_creds_pw.c free_paid(krb5_context context, struct pa_info_data *ppaid)
context 660 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_salt(context, ppaid->salt);
context 662 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_data(context, ppaid->s2kparams);
context 667 source4/heimdal/lib/krb5/init_creds_pw.c set_paid(struct pa_info_data *paid, krb5_context context,
context 676 source4/heimdal/lib/krb5/init_creds_pw.c krb5_clear_error_message(context);
context 685 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_copy_data(context, s2kparams, &paid->s2kparams);
context 687 source4/heimdal/lib/krb5/init_creds_pw.c krb5_clear_error_message(context);
context 688 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_salt(context, paid->salt);
context 698 source4/heimdal/lib/krb5/init_creds_pw.c pa_etype_info2(krb5_context context,
context 720 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_pw_salt(context, client, &salt);
context 727 source4/heimdal/lib/krb5/init_creds_pw.c ret = set_paid(paid, context, e.val[i].etype,
context 733 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_salt(context, salt);
context 747 source4/heimdal/lib/krb5/init_creds_pw.c pa_etype_info(krb5_context context,
context 770 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_pw_salt(context, client, &salt);
context 778 source4/heimdal/lib/krb5/init_creds_pw.c ret = set_paid(paid, context, e.val[i].etype,
context 784 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_salt(context, salt);
context 799 source4/heimdal/lib/krb5/init_creds_pw.c pa_pw_or_afs3_salt(krb5_context context,
context 808 source4/heimdal/lib/krb5/init_creds_pw.c ret = set_paid(paid, context,
context 849 source4/heimdal/lib/krb5/init_creds_pw.c process_pa_info(krb5_context context,
context 863 source4/heimdal/lib/krb5/init_creds_pw.c p = (*pa_prefs[i].salt_info)(context, client, asreq,
context 870 source4/heimdal/lib/krb5/init_creds_pw.c make_pa_enc_timestamp(krb5_context context, METHOD_DATA *md,
context 883 source4/heimdal/lib/krb5/init_creds_pw.c krb5_us_timeofday (context, &p.patimestamp, &usec);
context 891 source4/heimdal/lib/krb5/init_creds_pw.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 893 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 898 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_encrypt_EncryptedData(context,
context 906 source4/heimdal/lib/krb5/init_creds_pw.c krb5_crypto_destroy(context, crypto);
context 915 source4/heimdal/lib/krb5/init_creds_pw.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 917 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_padata_add(context, md, KRB5_PADATA_ENC_TIMESTAMP, buf, len);
context 924 source4/heimdal/lib/krb5/init_creds_pw.c add_enc_ts_padata(krb5_context context,
context 941 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_pw_salt (context, client, &salt2);
context 945 source4/heimdal/lib/krb5/init_creds_pw.c enctypes = context->etypes;
context 954 source4/heimdal/lib/krb5/init_creds_pw.c ret = (*key_proc)(context, enctypes[i], keyseed,
context 958 source4/heimdal/lib/krb5/init_creds_pw.c ret = make_pa_enc_timestamp (context, md, enctypes[i], key);
context 959 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_keyblock (context, key);
context 964 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_salt(context, salt2);
context 969 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_to_md_ts_enc(krb5_context context,
context 980 source4/heimdal/lib/krb5/init_creds_pw.c add_enc_ts_padata(context, md, client,
context 988 source4/heimdal/lib/krb5/init_creds_pw.c add_enc_ts_padata(context, md, client,
context 996 source4/heimdal/lib/krb5/init_creds_pw.c add_enc_ts_padata(context, md, client,
context 1005 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_to_key_plain(krb5_context context,
context 1015 source4/heimdal/lib/krb5/init_creds_pw.c ret = (*ctx->key_proc)(context, etype, ctx->password,
context 1022 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_to_md_pkinit(krb5_context context,
context 1031 source4/heimdal/lib/krb5/init_creds_pw.c return _krb5_pk_mk_padata(context,
context 1037 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, EINVAL,
context 1044 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_add_pac_request(krb5_context context,
context 1068 source4/heimdal/lib/krb5/init_creds_pw.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 1070 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_padata_add(context, md, KRB5_PADATA_PA_PAC_REQUEST, buf, len);
context 1082 source4/heimdal/lib/krb5/init_creds_pw.c process_pa_data_to_md(krb5_context context,
context 1095 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 1108 source4/heimdal/lib/krb5/init_creds_pw.c ret = pa_data_to_md_pkinit(context, a, creds->client, ctx, *out_md);
context 1118 source4/heimdal/lib/krb5/init_creds_pw.c ppaid = process_pa_info(context, creds->client, a, &paid, in_md);
context 1120 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_to_md_ts_enc(context, a, creds->client, ctx, ppaid, *out_md);
context 1122 source4/heimdal/lib/krb5/init_creds_pw.c free_paid(context, ppaid);
context 1125 source4/heimdal/lib/krb5/init_creds_pw.c pa_data_add_pac_request(context, ctx, *out_md);
context 1136 source4/heimdal/lib/krb5/init_creds_pw.c process_pa_data_to_key(krb5_context context,
context 1155 source4/heimdal/lib/krb5/init_creds_pw.c ppaid = process_pa_info(context, creds->client, a, &paid,
context 1159 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_pw_salt (context, creds->client, &paid.salt);
context 1183 source4/heimdal/lib/krb5/init_creds_pw.c ret = _krb5_pk_rd_pa_reply(context,
context 1194 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("no support for PKINIT compiled in", ""));
context 1197 source4/heimdal/lib/krb5/init_creds_pw.c ret = pa_data_to_key_plain(context, creds->client, ctx,
context 1201 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret, N_("No usable pa data type", ""));
context 1204 source4/heimdal/lib/krb5/init_creds_pw.c free_paid(context, &paid);
context 1209 source4/heimdal/lib/krb5/init_creds_pw.c init_cred_loop(krb5_context context,
context 1235 source4/heimdal/lib/krb5/init_creds_pw.c ret = init_creds_init_as_req(context, ctx->flags, creds,
context 1240 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_sendto_ctx_alloc(context, &stctx);
context 1272 source4/heimdal/lib/krb5/init_creds_pw.c ret = process_pa_data_to_md(context, creds, &ctx->as_req, ctx,
context 1286 source4/heimdal/lib/krb5/init_creds_pw.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 1288 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_sendto_context (context, stctx, &ctx->req_buffer,
context 1297 source4/heimdal/lib/krb5/init_creds_pw.c krb5_clear_error_message(context);
context 1303 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_rd_error(context, &resp, &error);
context 1310 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_error_from_rd_error(context, &error, creds);
context 1327 source4/heimdal/lib/krb5/init_creds_pw.c krb5_set_error_message(context, ret,
context 1332 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_error_contents(context, &error);
context 1336 source4/heimdal/lib/krb5/init_creds_pw.c _krb5_get_init_creds_opt_set_krb5_error(context,
context 1342 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_error_contents(context, &error);
context 1361 source4/heimdal/lib/krb5/init_creds_pw.c ret = process_pa_data_to_key(context, ctx, creds,
context 1366 source4/heimdal/lib/krb5/init_creds_pw.c ret = _krb5_extract_ticket(context,
context 1377 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_keyblock(context, key);
context 1381 source4/heimdal/lib/krb5/init_creds_pw.c krb5_sendto_ctx_free(context, stctx);
context 1389 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_kdc_rep (context, &rep);
context 1394 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds(krb5_context context,
context 1411 source4/heimdal/lib/krb5/init_creds_pw.c ret = get_init_creds_common(context, client, start_time,
context 1420 source4/heimdal/lib/krb5/init_creds_pw.c ret = init_cred_loop(context,
context 1439 source4/heimdal/lib/krb5/init_creds_pw.c krb5_clear_error_message (context);
context 1445 source4/heimdal/lib/krb5/init_creds_pw.c ret = change_password (context,
context 1463 source4/heimdal/lib/krb5/init_creds_pw.c print_expire (context,
context 1464 source4/heimdal/lib/krb5/init_creds_pw.c krb5_principal_get_realm (context, ctx.cred.client),
context 1471 source4/heimdal/lib/krb5/init_creds_pw.c free_init_creds_ctx(context, &ctx);
context 1472 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_kdc_rep (context, &kdc_reply);
context 1476 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_cred_contents (context, &ctx.cred);
context 1482 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_password(krb5_context context,
context 1497 source4/heimdal/lib/krb5/init_creds_pw.c const char *realm = krb5_principal_get_realm(context, client);
context 1498 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_init_creds_opt_alloc(context, &options);
context 1500 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_opt_set_default_flags(context,
context 1505 source4/heimdal/lib/krb5/init_creds_pw.c ret = _krb5_get_init_creds_opt_copy(context, in_options, &options);
context 1517 source4/heimdal/lib/krb5/init_creds_pw.c krb5_unparse_name (context, client, &p);
context 1527 source4/heimdal/lib/krb5/init_creds_pw.c ret = (*prompter) (context, data, NULL, NULL, 1, &prompt);
context 1531 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_opt_free(context, options);
context 1533 source4/heimdal/lib/krb5/init_creds_pw.c krb5_clear_error_message (context);
context 1540 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_init_creds_opt_set_pa_password(context, options,
context 1543 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_opt_free(context, options);
context 1549 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_init_creds(context, creds, client, prompter,
context 1551 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_opt_free(context, options);
context 1557 source4/heimdal/lib/krb5/init_creds_pw.c init_creds_keyblock_key_proc (krb5_context context,
context 1563 source4/heimdal/lib/krb5/init_creds_pw.c return krb5_copy_keyblock (context, keyseed, key);
context 1567 source4/heimdal/lib/krb5/init_creds_pw.c krb5_get_init_creds_keyblock(krb5_context context,
context 1578 source4/heimdal/lib/krb5/init_creds_pw.c ret = get_init_creds_common(context, client, start_time,
context 1583 source4/heimdal/lib/krb5/init_creds_pw.c ret = krb5_get_in_cred (context,
context 1599 source4/heimdal/lib/krb5/init_creds_pw.c krb5_free_cred_contents (context, &ctx.cred);
context 1602 source4/heimdal/lib/krb5/init_creds_pw.c free_init_creds_ctx(context, &ctx);
context 59 source4/heimdal/lib/krb5/kcm.c try_door(krb5_context context,
context 100 source4/heimdal/lib/krb5/kcm.c try_unix_socket(krb5_context context,
context 118 source4/heimdal/lib/krb5/kcm.c ret = _krb5_send_and_recv_tcp(fd, context->kdc_timeout,
context 125 source4/heimdal/lib/krb5/kcm.c kcm_send_request(krb5_context context,
context 139 source4/heimdal/lib/krb5/kcm.c krb5_clear_error_message(context);
context 145 source4/heimdal/lib/krb5/kcm.c for (i = 0; i < context->max_retries; i++) {
context 146 source4/heimdal/lib/krb5/kcm.c ret = try_door(context, k, &request_data, response_data);
context 149 source4/heimdal/lib/krb5/kcm.c ret = try_unix_socket(context, k, &request_data, response_data);
context 157 source4/heimdal/lib/krb5/kcm.c krb5_clear_error_message(context);
context 165 source4/heimdal/lib/krb5/kcm.c kcm_storage_request(krb5_context context,
context 176 source4/heimdal/lib/krb5/kcm.c krb5_set_error_message(context, KRB5_CC_NOMEM, N_("malloc: out of memory", ""));
context 194 source4/heimdal/lib/krb5/kcm.c krb5_set_error_message(context, ret,
context 203 source4/heimdal/lib/krb5/kcm.c kcm_alloc(krb5_context context, const char *name, krb5_ccache *id)
context 210 source4/heimdal/lib/krb5/kcm.c krb5_set_error_message(context, KRB5_CC_NOMEM, N_("malloc: out of memory", ""));
context 218 source4/heimdal/lib/krb5/kcm.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 225 source4/heimdal/lib/krb5/kcm.c path = krb5_config_get_string_default(context, NULL,
context 234 source4/heimdal/lib/krb5/kcm.c path = krb5_config_get_string_default(context, NULL,
context 248 source4/heimdal/lib/krb5/kcm.c kcm_call(krb5_context context,
context 262 source4/heimdal/lib/krb5/kcm.c ret = kcm_send_request(context, k, request, &response_data);
context 300 source4/heimdal/lib/krb5/kcm.c kcm_free(krb5_context context, krb5_ccache *id)
context 317 source4/heimdal/lib/krb5/kcm.c kcm_get_name(krb5_context context,
context 324 source4/heimdal/lib/krb5/kcm.c kcm_resolve(krb5_context context, krb5_ccache *id, const char *res)
context 326 source4/heimdal/lib/krb5/kcm.c return kcm_alloc(context, res, id);
context 336 source4/heimdal/lib/krb5/kcm.c kcm_gen_new(krb5_context context, krb5_ccache *id)
context 343 source4/heimdal/lib/krb5/kcm.c ret = kcm_alloc(context, NULL, id);
context 349 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_GEN_NEW, &request);
context 351 source4/heimdal/lib/krb5/kcm.c kcm_free(context, id);
context 355 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, &response, &response_data);
context 358 source4/heimdal/lib/krb5/kcm.c kcm_free(context, id);
context 371 source4/heimdal/lib/krb5/kcm.c kcm_free(context, id);
context 385 source4/heimdal/lib/krb5/kcm.c kcm_initialize(krb5_context context,
context 393 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_INITIALIZE, &request);
context 409 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 416 source4/heimdal/lib/krb5/kcm.c kcm_close(krb5_context context,
context 419 source4/heimdal/lib/krb5/kcm.c kcm_free(context, &id);
context 431 source4/heimdal/lib/krb5/kcm.c kcm_destroy(krb5_context context,
context 438 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_DESTROY, &request);
context 448 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 463 source4/heimdal/lib/krb5/kcm.c kcm_store_cred(krb5_context context,
context 471 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_STORE, &request);
context 487 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 504 source4/heimdal/lib/krb5/kcm.c kcm_retrieve(krb5_context context,
context 515 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_RETRIEVE, &request);
context 537 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, &response, &response_data);
context 562 source4/heimdal/lib/krb5/kcm.c kcm_get_principal(krb5_context context,
context 571 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_GET_PRINCIPAL, &request);
context 581 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, &response, &response_data);
context 607 source4/heimdal/lib/krb5/kcm.c kcm_get_first (krb5_context context,
context 617 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_GET_FIRST, &request);
context 627 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, &response, &response_data);
context 662 source4/heimdal/lib/krb5/kcm.c kcm_get_next (krb5_context context,
context 672 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_GET_NEXT, &request);
context 688 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, &response, &response_data);
context 714 source4/heimdal/lib/krb5/kcm.c kcm_end_get (krb5_context context,
context 722 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_END_GET, &request);
context 738 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 763 source4/heimdal/lib/krb5/kcm.c kcm_remove_cred(krb5_context context,
context 772 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_REMOVE_CRED, &request);
context 794 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 801 source4/heimdal/lib/krb5/kcm.c kcm_set_flags(krb5_context context,
context 809 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_SET_FLAGS, &request);
context 825 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 832 source4/heimdal/lib/krb5/kcm.c kcm_get_version(krb5_context context,
context 839 source4/heimdal/lib/krb5/kcm.c kcm_move(krb5_context context, krb5_ccache from, krb5_ccache to)
context 846 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_MOVE_CACHE, &request);
context 861 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, oldk, request, NULL, NULL);
context 868 source4/heimdal/lib/krb5/kcm.c kcm_default_name(krb5_context context, char **str)
context 870 source4/heimdal/lib/krb5/kcm.c return _krb5_expand_default_cc_name(context,
context 876 source4/heimdal/lib/krb5/kcm.c kcm_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
context 916 source4/heimdal/lib/krb5/kcm.c _krb5_kcm_is_running(krb5_context context)
context 923 source4/heimdal/lib/krb5/kcm.c ret = kcm_alloc(context, NULL, &id);
context 927 source4/heimdal/lib/krb5/kcm.c running = (_krb5_kcm_noop(context, id) == 0);
context 929 source4/heimdal/lib/krb5/kcm.c kcm_free(context, &id);
context 941 source4/heimdal/lib/krb5/kcm.c _krb5_kcm_noop(krb5_context context,
context 948 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_NOOP, &request);
context 952 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 968 source4/heimdal/lib/krb5/kcm.c _krb5_kcm_chmod(krb5_context context,
context 976 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_CHMOD, &request);
context 992 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 1009 source4/heimdal/lib/krb5/kcm.c _krb5_kcm_chown(krb5_context context,
context 1018 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_CHOWN, &request);
context 1040 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 1058 source4/heimdal/lib/krb5/kcm.c _krb5_kcm_get_initial_ticket(krb5_context context,
context 1067 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_GET_INITIAL_TICKET, &request);
context 1097 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 1115 source4/heimdal/lib/krb5/kcm.c _krb5_kcm_get_ticket(krb5_context context,
context 1125 source4/heimdal/lib/krb5/kcm.c ret = kcm_storage_request(context, KCM_OP_GET_TICKET, &request);
context 1153 source4/heimdal/lib/krb5/kcm.c ret = kcm_call(context, k, request, NULL, NULL);
context 46 source4/heimdal/lib/krb5/keyblock.c krb5_free_keyblock_contents(krb5_context context,
context 58 source4/heimdal/lib/krb5/keyblock.c krb5_free_keyblock(krb5_context context,
context 62 source4/heimdal/lib/krb5/keyblock.c krb5_free_keyblock_contents(context, keyblock);
context 68 source4/heimdal/lib/krb5/keyblock.c krb5_copy_keyblock_contents (krb5_context context,
context 76 source4/heimdal/lib/krb5/keyblock.c krb5_copy_keyblock (krb5_context context,
context 84 source4/heimdal/lib/krb5/keyblock.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 88 source4/heimdal/lib/krb5/keyblock.c return krb5_copy_keyblock_contents (context, inblock, k);
context 103 source4/heimdal/lib/krb5/keyblock.c krb5_keyblock_init(krb5_context context,
context 114 source4/heimdal/lib/krb5/keyblock.c ret = krb5_enctype_keysize(context, type, &len);
context 119 source4/heimdal/lib/krb5/keyblock.c krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
context 127 source4/heimdal/lib/krb5/keyblock.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 44 source4/heimdal/lib/krb5/keytab.c krb5_kt_register(krb5_context context,
context 50 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, KRB5_KT_BADNAME,
context 55 source4/heimdal/lib/krb5/keytab.c tmp = realloc(context->kt_types,
context 56 source4/heimdal/lib/krb5/keytab.c (context->num_kt_types + 1) * sizeof(*context->kt_types));
context 58 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 61 source4/heimdal/lib/krb5/keytab.c memcpy(&tmp[context->num_kt_types], ops,
context 62 source4/heimdal/lib/krb5/keytab.c sizeof(tmp[context->num_kt_types]));
context 63 source4/heimdal/lib/krb5/keytab.c context->kt_types = tmp;
context 64 source4/heimdal/lib/krb5/keytab.c context->num_kt_types++;
context 75 source4/heimdal/lib/krb5/keytab.c krb5_kt_resolve(krb5_context context,
context 96 source4/heimdal/lib/krb5/keytab.c for(i = 0; i < context->num_kt_types; i++) {
context 97 source4/heimdal/lib/krb5/keytab.c if(strncasecmp(type, context->kt_types[i].prefix, type_len) == 0)
context 100 source4/heimdal/lib/krb5/keytab.c if(i == context->num_kt_types) {
context 101 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, KRB5_KT_UNKNOWN_TYPE,
context 109 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 112 source4/heimdal/lib/krb5/keytab.c memcpy(k, &context->kt_types[i], sizeof(*k));
context 114 source4/heimdal/lib/krb5/keytab.c ret = (*k->resolve)(context, residual, k);
context 129 source4/heimdal/lib/krb5/keytab.c krb5_kt_default_name(krb5_context context, char *name, size_t namesize)
context 131 source4/heimdal/lib/krb5/keytab.c if (strlcpy (name, context->default_keytab, namesize) >= namesize) {
context 132 source4/heimdal/lib/krb5/keytab.c krb5_clear_error_message (context);
context 144 source4/heimdal/lib/krb5/keytab.c krb5_kt_default_modify_name(krb5_context context, char *name, size_t namesize)
context 147 source4/heimdal/lib/krb5/keytab.c if(context->default_keytab_modify == NULL) {
context 148 source4/heimdal/lib/krb5/keytab.c if(strncasecmp(context->default_keytab, "ANY:", 4) != 0)
context 149 source4/heimdal/lib/krb5/keytab.c kt = context->default_keytab;
context 151 source4/heimdal/lib/krb5/keytab.c size_t len = strcspn(context->default_keytab + 4, ",");
context 153 source4/heimdal/lib/krb5/keytab.c krb5_clear_error_message(context);
context 156 source4/heimdal/lib/krb5/keytab.c strlcpy(name, context->default_keytab + 4, namesize);
context 161 source4/heimdal/lib/krb5/keytab.c kt = context->default_keytab_modify;
context 163 source4/heimdal/lib/krb5/keytab.c krb5_clear_error_message (context);
context 175 source4/heimdal/lib/krb5/keytab.c krb5_kt_default(krb5_context context, krb5_keytab *id)
context 177 source4/heimdal/lib/krb5/keytab.c return krb5_kt_resolve (context, context->default_keytab, id);
context 187 source4/heimdal/lib/krb5/keytab.c krb5_kt_read_service_key(krb5_context context,
context 199 source4/heimdal/lib/krb5/keytab.c ret = krb5_kt_resolve (context, keyprocarg, &keytab);
context 201 source4/heimdal/lib/krb5/keytab.c ret = krb5_kt_default (context, &keytab);
context 206 source4/heimdal/lib/krb5/keytab.c ret = krb5_kt_get_entry (context, keytab, principal, vno, enctype, &entry);
context 207 source4/heimdal/lib/krb5/keytab.c krb5_kt_close (context, keytab);
context 210 source4/heimdal/lib/krb5/keytab.c ret = krb5_copy_keyblock (context, &entry.keyblock, key);
context 211 source4/heimdal/lib/krb5/keytab.c krb5_kt_free_entry(context, &entry);
context 221 source4/heimdal/lib/krb5/keytab.c krb5_kt_get_type(krb5_context context,
context 236 source4/heimdal/lib/krb5/keytab.c krb5_kt_get_name(krb5_context context,
context 241 source4/heimdal/lib/krb5/keytab.c return (*keytab->get_name)(context, keytab, name, namesize);
context 251 source4/heimdal/lib/krb5/keytab.c krb5_kt_get_full_name(krb5_context context,
context 261 source4/heimdal/lib/krb5/keytab.c ret = krb5_kt_get_type(context, keytab, type, sizeof(type));
context 265 source4/heimdal/lib/krb5/keytab.c ret = krb5_kt_get_name(context, keytab, name, sizeof(name));
context 270 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 284 source4/heimdal/lib/krb5/keytab.c krb5_kt_close(krb5_context context,
context 289 source4/heimdal/lib/krb5/keytab.c ret = (*id->close)(context, id);
context 302 source4/heimdal/lib/krb5/keytab.c krb5_kt_compare(krb5_context context,
context 309 source4/heimdal/lib/krb5/keytab.c !krb5_principal_compare(context, entry->principal, principal))
context 326 source4/heimdal/lib/krb5/keytab.c krb5_kt_get_entry(krb5_context context,
context 338 source4/heimdal/lib/krb5/keytab.c return (*id->get)(context, id, principal, kvno, enctype, entry);
context 340 source4/heimdal/lib/krb5/keytab.c ret = krb5_kt_start_seq_get (context, id, &cursor);
context 344 source4/heimdal/lib/krb5/keytab.c context->error_code = KRB5_KT_NOTFOUND;
context 349 source4/heimdal/lib/krb5/keytab.c while (krb5_kt_next_entry(context, id, &tmp, &cursor) == 0) {
context 350 source4/heimdal/lib/krb5/keytab.c if (krb5_kt_compare(context, &tmp, principal, 0, enctype)) {
context 355 source4/heimdal/lib/krb5/keytab.c krb5_kt_copy_entry_contents (context, &tmp, entry);
context 356 source4/heimdal/lib/krb5/keytab.c krb5_kt_free_entry (context, &tmp);
context 357 source4/heimdal/lib/krb5/keytab.c krb5_kt_end_seq_get(context, id, &cursor);
context 361 source4/heimdal/lib/krb5/keytab.c krb5_kt_free_entry (context, entry);
context 362 source4/heimdal/lib/krb5/keytab.c krb5_kt_copy_entry_contents (context, &tmp, entry);
context 365 source4/heimdal/lib/krb5/keytab.c krb5_kt_free_entry(context, &tmp);
context 367 source4/heimdal/lib/krb5/keytab.c krb5_kt_end_seq_get (context, id, &cursor);
context 374 source4/heimdal/lib/krb5/keytab.c krb5_unparse_name_fixed (context, principal, princ, sizeof(princ));
context 375 source4/heimdal/lib/krb5/keytab.c krb5_kt_get_full_name (context, id, &kt_name);
context 376 source4/heimdal/lib/krb5/keytab.c krb5_enctype_to_string(context, enctype, &enctype_str);
context 383 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message (context, KRB5_KT_NOTFOUND,
context 401 source4/heimdal/lib/krb5/keytab.c krb5_kt_copy_entry_contents(krb5_context context,
context 410 source4/heimdal/lib/krb5/keytab.c ret = krb5_copy_principal (context, in->principal, &out->principal);
context 413 source4/heimdal/lib/krb5/keytab.c ret = krb5_copy_keyblock_contents (context,
context 421 source4/heimdal/lib/krb5/keytab.c krb5_kt_free_entry (context, out);
context 430 source4/heimdal/lib/krb5/keytab.c krb5_kt_free_entry(krb5_context context,
context 433 source4/heimdal/lib/krb5/keytab.c krb5_free_principal (context, entry->principal);
context 434 source4/heimdal/lib/krb5/keytab.c krb5_free_keyblock_contents (context, &entry->keyblock);
context 445 source4/heimdal/lib/krb5/keytab.c krb5_kt_start_seq_get(krb5_context context,
context 450 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, HEIM_ERR_OPNOTSUPP,
context 456 source4/heimdal/lib/krb5/keytab.c return (*id->start_seq_get)(context, id, cursor);
context 466 source4/heimdal/lib/krb5/keytab.c krb5_kt_next_entry(krb5_context context,
context 472 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, HEIM_ERR_OPNOTSUPP,
context 478 source4/heimdal/lib/krb5/keytab.c return (*id->next_entry)(context, id, entry, cursor);
context 486 source4/heimdal/lib/krb5/keytab.c krb5_kt_end_seq_get(krb5_context context,
context 491 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, HEIM_ERR_OPNOTSUPP,
context 496 source4/heimdal/lib/krb5/keytab.c return (*id->end_seq_get)(context, id, cursor);
context 505 source4/heimdal/lib/krb5/keytab.c krb5_kt_add_entry(krb5_context context,
context 510 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, KRB5_KT_NOWRITE,
context 516 source4/heimdal/lib/krb5/keytab.c return (*id->add)(context, id,entry);
context 525 source4/heimdal/lib/krb5/keytab.c krb5_kt_remove_entry(krb5_context context,
context 530 source4/heimdal/lib/krb5/keytab.c krb5_set_error_message(context, KRB5_KT_NOWRITE,
context 535 source4/heimdal/lib/krb5/keytab.c return (*id->remove)(context, id, entry);
context 45 source4/heimdal/lib/krb5/keytab_any.c free_list (krb5_context context, struct any_data *a)
context 53 source4/heimdal/lib/krb5/keytab_any.c krb5_kt_close(context, a->kt);
context 59 source4/heimdal/lib/krb5/keytab_any.c any_resolve(krb5_context context, const char *name, krb5_keytab id)
context 76 source4/heimdal/lib/krb5/keytab_any.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 84 source4/heimdal/lib/krb5/keytab_any.c ret = krb5_kt_resolve (context, buf, &a->kt);
context 90 source4/heimdal/lib/krb5/keytab_any.c krb5_set_error_message(context, ENOENT, N_("empty ANY: keytab", ""));
context 96 source4/heimdal/lib/krb5/keytab_any.c free_list (context, a0);
context 101 source4/heimdal/lib/krb5/keytab_any.c any_get_name (krb5_context context,
context 112 source4/heimdal/lib/krb5/keytab_any.c any_close (krb5_context context,
context 117 source4/heimdal/lib/krb5/keytab_any.c free_list (context, a);
context 127 source4/heimdal/lib/krb5/keytab_any.c any_start_seq_get(krb5_context context,
context 137 source4/heimdal/lib/krb5/keytab_any.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 142 source4/heimdal/lib/krb5/keytab_any.c ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
context 149 source4/heimdal/lib/krb5/keytab_any.c krb5_clear_error_message (context);
context 156 source4/heimdal/lib/krb5/keytab_any.c any_next_entry (krb5_context context,
context 166 source4/heimdal/lib/krb5/keytab_any.c ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor);
context 172 source4/heimdal/lib/krb5/keytab_any.c ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor);
context 176 source4/heimdal/lib/krb5/keytab_any.c ret2 = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
context 181 source4/heimdal/lib/krb5/keytab_any.c krb5_clear_error_message (context);
context 188 source4/heimdal/lib/krb5/keytab_any.c any_end_seq_get(krb5_context context,
context 197 source4/heimdal/lib/krb5/keytab_any.c ret = krb5_kt_end_seq_get(context, ed->a->kt, &ed->cursor);
context 204 source4/heimdal/lib/krb5/keytab_any.c any_add_entry(krb5_context context,
context 211 source4/heimdal/lib/krb5/keytab_any.c ret = krb5_kt_add_entry(context, a->kt, entry);
context 213 source4/heimdal/lib/krb5/keytab_any.c krb5_set_error_message(context, ret,
context 224 source4/heimdal/lib/krb5/keytab_any.c any_remove_entry(krb5_context context,
context 232 source4/heimdal/lib/krb5/keytab_any.c ret = krb5_kt_remove_entry(context, a->kt, entry);
context 237 source4/heimdal/lib/krb5/keytab_any.c krb5_set_error_message(context, ret,
context 53 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_ret_data(krb5_context context,
context 65 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 75 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_ret_string(krb5_context context,
context 86 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 97 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_store_data(krb5_context context,
context 133 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_ret_keyblock(krb5_context context,
context 143 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 149 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_data(context, sp, &p->keyvalue);
context 151 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 158 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_store_keyblock(krb5_context context,
context 167 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 172 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_data(context, sp, p->keyvalue);
context 174 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 182 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_ret_principal(krb5_context context,
context 194 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ENOMEM,
context 201 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 211 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 217 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_string(context, sp, &p->realm);
context 219 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 227 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 232 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_string(context, sp, p->name.name_string.val + i);
context 234 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 248 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 258 source4/heimdal/lib/krb5/keytab_file.c krb5_free_principal(context, p);
context 263 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_store_principal(krb5_context context,
context 292 source4/heimdal/lib/krb5/keytab_file.c fkt_resolve(krb5_context context, const char *name, krb5_keytab id)
context 298 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 304 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 313 source4/heimdal/lib/krb5/keytab_file.c fkt_resolve_java14(krb5_context context, const char *name, krb5_keytab id)
context 317 source4/heimdal/lib/krb5/keytab_file.c ret = fkt_resolve(context, name, id);
context 326 source4/heimdal/lib/krb5/keytab_file.c fkt_close(krb5_context context, krb5_keytab id)
context 335 source4/heimdal/lib/krb5/keytab_file.c fkt_get_name(krb5_context context,
context 347 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(krb5_context context, krb5_storage *sp, int vno)
context 359 source4/heimdal/lib/krb5/keytab_file.c krb5_warnx(context,
context 366 source4/heimdal/lib/krb5/keytab_file.c fkt_start_seq_get_int(krb5_context context,
context 379 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 385 source4/heimdal/lib/krb5/keytab_file.c ret = _krb5_xlock(context, c->fd, exclusive, d->filename);
context 392 source4/heimdal/lib/krb5/keytab_file.c _krb5_xunlock(context, c->fd);
context 394 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ENOMEM,
context 402 source4/heimdal/lib/krb5/keytab_file.c _krb5_xunlock(context, c->fd);
context 404 source4/heimdal/lib/krb5/keytab_file.c krb5_clear_error_message(context);
context 409 source4/heimdal/lib/krb5/keytab_file.c _krb5_xunlock(context, c->fd);
context 411 source4/heimdal/lib/krb5/keytab_file.c krb5_clear_error_message (context);
context 417 source4/heimdal/lib/krb5/keytab_file.c _krb5_xunlock(context, c->fd);
context 419 source4/heimdal/lib/krb5/keytab_file.c krb5_clear_error_message(context);
context 423 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, c->sp, id->version);
context 428 source4/heimdal/lib/krb5/keytab_file.c fkt_start_seq_get(krb5_context context,
context 432 source4/heimdal/lib/krb5/keytab_file.c return fkt_start_seq_get_int(context, id, O_RDONLY | O_BINARY | O_CLOEXEC, 0, c);
context 436 source4/heimdal/lib/krb5/keytab_file.c fkt_next_entry_int(krb5_context context,
context 459 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_principal (context, d, cursor->sp, &entry->principal);
context 470 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_keyblock (context, d, cursor->sp, &entry->keyblock);
context 491 source4/heimdal/lib/krb5/keytab_file.c fkt_next_entry(krb5_context context,
context 496 source4/heimdal/lib/krb5/keytab_file.c return fkt_next_entry_int(context, id, entry, cursor, NULL, NULL);
context 500 source4/heimdal/lib/krb5/keytab_file.c fkt_end_seq_get(krb5_context context,
context 505 source4/heimdal/lib/krb5/keytab_file.c _krb5_xunlock(context, cursor->fd);
context 511 source4/heimdal/lib/krb5/keytab_file.c fkt_setup_keytab(krb5_context context,
context 525 source4/heimdal/lib/krb5/keytab_file.c fkt_add_entry(krb5_context context,
context 541 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 548 source4/heimdal/lib/krb5/keytab_file.c ret = _krb5_xlock(context, fd, 1, d->filename);
context 555 source4/heimdal/lib/krb5/keytab_file.c ret = fkt_setup_keytab(context, id, sp);
context 559 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, sp, id->version);
context 565 source4/heimdal/lib/krb5/keytab_file.c ret = _krb5_xlock(context, fd, 1, d->filename);
context 576 source4/heimdal/lib/krb5/keytab_file.c ret = fkt_setup_keytab(context, id, sp);
context 578 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 583 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, sp, id->version);
context 587 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 594 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 601 source4/heimdal/lib/krb5/keytab_file.c storage_set_flags(context, sp, id->version);
context 610 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 614 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_principal(context, emem, entry->principal);
context 616 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 625 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 634 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 641 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_keyblock (context, d, emem, &entry->keyblock);
context 649 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 661 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 687 source4/heimdal/lib/krb5/keytab_file.c krb5_set_error_message(context, ret,
context 696 source4/heimdal/lib/krb5/keytab_file.c _krb5_xunlock(context, fd);
context 702 source4/heimdal/lib/krb5/keytab_file.c fkt_remove_entry(krb5_context context,
context 712 source4/heimdal/lib/krb5/keytab_file.c ret = fkt_start_seq_get_int(context, id, O_RDWR | O_BINARY | O_CLOEXEC, 1, &cursor);
context 715 source4/heimdal/lib/krb5/keytab_file.c while(fkt_next_entry_int(context, id, &e, &cursor,
context 717 source4/heimdal/lib/krb5/keytab_file.c if(krb5_kt_compare(context, &e, entry->principal,
context 731 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_free_entry(context, &e);
context 733 source4/heimdal/lib/krb5/keytab_file.c krb5_kt_end_seq_get(context, id, &cursor);
context 736 source4/heimdal/lib/krb5/keytab_file.c krb5_clear_error_message (context);
context 68 source4/heimdal/lib/krb5/keytab_keyfile.c get_cell_and_realm (krb5_context context, struct akf_data *d)
context 77 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, ret,
context 85 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, EINVAL,
context 95 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ENOMEM,
context 106 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, EINVAL,
context 122 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ENOMEM,
context 134 source4/heimdal/lib/krb5/keytab_keyfile.c akf_resolve(krb5_context context, const char *name, krb5_keytab id)
context 140 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ENOMEM,
context 146 source4/heimdal/lib/krb5/keytab_keyfile.c ret = get_cell_and_realm (context, d);
context 156 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ENOMEM,
context 170 source4/heimdal/lib/krb5/keytab_keyfile.c akf_close(krb5_context context, krb5_keytab id)
context 185 source4/heimdal/lib/krb5/keytab_keyfile.c akf_get_name(krb5_context context,
context 201 source4/heimdal/lib/krb5/keytab_keyfile.c akf_start_seq_get(krb5_context context,
context 211 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ret,
context 222 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_clear_error_message (context);
context 232 source4/heimdal/lib/krb5/keytab_keyfile.c akf_next_entry(krb5_context context,
context 247 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_make_principal (context, &entry->principal,
context 254 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_free_principal (context, entry->principal);
context 264 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_free_principal (context, entry->principal);
context 265 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ENOMEM,
context 285 source4/heimdal/lib/krb5/keytab_keyfile.c akf_end_seq_get(krb5_context context,
context 295 source4/heimdal/lib/krb5/keytab_keyfile.c akf_add_entry(krb5_context context,
context 323 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ret,
context 335 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ENOMEM,
context 346 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ret,
context 371 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, ret,
context 377 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, ret,
context 393 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, ret,
context 402 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, ret,
context 409 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message (context, ret,
context 416 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ret,
context 427 source4/heimdal/lib/krb5/keytab_keyfile.c krb5_set_error_message(context, ret,
context 56 source4/heimdal/lib/krb5/keytab_memory.c mkt_resolve(krb5_context context, const char *name, krb5_keytab id)
context 67 source4/heimdal/lib/krb5/keytab_memory.c krb5_abortx(context, "Double close on memory keytab, "
context 78 source4/heimdal/lib/krb5/keytab_memory.c krb5_set_error_message(context, ENOMEM,
context 86 source4/heimdal/lib/krb5/keytab_memory.c krb5_set_error_message(context, ENOMEM,
context 101 source4/heimdal/lib/krb5/keytab_memory.c mkt_close(krb5_context context, krb5_keytab id)
context 108 source4/heimdal/lib/krb5/keytab_memory.c krb5_abortx(context,
context 125 source4/heimdal/lib/krb5/keytab_memory.c krb5_kt_free_entry(context, &d->entries[i]);
context 132 source4/heimdal/lib/krb5/keytab_memory.c mkt_get_name(krb5_context context,
context 143 source4/heimdal/lib/krb5/keytab_memory.c mkt_start_seq_get(krb5_context context,
context 153 source4/heimdal/lib/krb5/keytab_memory.c mkt_next_entry(krb5_context context,
context 161 source4/heimdal/lib/krb5/keytab_memory.c return krb5_kt_copy_entry_contents(context, &d->entries[c->fd++], entry);
context 165 source4/heimdal/lib/krb5/keytab_memory.c mkt_end_seq_get(krb5_context context,
context 173 source4/heimdal/lib/krb5/keytab_memory.c mkt_add_entry(krb5_context context,
context 181 source4/heimdal/lib/krb5/keytab_memory.c krb5_set_error_message(context, ENOMEM,
context 186 source4/heimdal/lib/krb5/keytab_memory.c return krb5_kt_copy_entry_contents(context, entry,
context 191 source4/heimdal/lib/krb5/keytab_memory.c mkt_remove_entry(krb5_context context,
context 200 source4/heimdal/lib/krb5/keytab_memory.c krb5_clear_error_message(context);
context 206 source4/heimdal/lib/krb5/keytab_memory.c if(krb5_kt_compare(context, e, entry->principal,
context 208 source4/heimdal/lib/krb5/keytab_memory.c krb5_kt_free_entry(context, e);
context 217 source4/heimdal/lib/krb5/keytab_memory.c krb5_clear_error_message (context);
context 59 source4/heimdal/lib/krb5/krbhst.c srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count,
context 75 source4/heimdal/lib/krb5/krbhst.c krb5_set_error_message(context, EINVAL,
context 82 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, "http", "tcp", 80));
context 84 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, service, proto, 88));
context 101 source4/heimdal/lib/krb5/krbhst.c krb5_set_error_message(context, ENOMEM,
context 188 source4/heimdal/lib/krb5/krbhst.c parse_hostspec(krb5_context context, struct krb5_krbhst_data *kd,
context 206 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, "http", "tcp", 80));
context 245 source4/heimdal/lib/krb5/krbhst.c _krb5_krbhost_info_move(krb5_context context,
context 253 source4/heimdal/lib/krb5/krbhst.c krb5_set_error_message(context, ENOMEM,
context 286 source4/heimdal/lib/krb5/krbhst.c append_host_string(krb5_context context, struct krb5_krbhst_data *kd,
context 291 source4/heimdal/lib/krb5/krbhst.c hi = parse_hostspec(context, kd, host, def_port, port);
context 304 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_format_string(krb5_context context, const krb5_krbhst_info *host,
context 345 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_get_addrinfo(krb5_context context, krb5_krbhst_info *host,
context 376 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(krb5_context context, struct krb5_krbhst_data *kd,
context 382 source4/heimdal/lib/krb5/krbhst.c if (srv_find_realm(context, &res, &count, kd->realm, "SRV", proto, service,
context 396 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(krb5_context context, struct krb5_krbhst_data *kd,
context 402 source4/heimdal/lib/krb5/krbhst.c hostlist = krb5_config_get_strings(context, NULL,
context 409 source4/heimdal/lib/krb5/krbhst.c append_host_string(context, kd, hostlist[i], kd->def_port, kd->port);
context 422 source4/heimdal/lib/krb5/krbhst.c fallback_get_hosts(krb5_context context, struct krb5_krbhst_data *kd,
context 522 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(krb5_context context,
context 529 source4/heimdal/lib/krb5/krbhst.c ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA,
context 542 source4/heimdal/lib/krb5/krbhst.c (*service->init)(context, &ctx);
context 546 source4/heimdal/lib/krb5/krbhst.c krb5_set_error_message(context, ret,
context 562 source4/heimdal/lib/krb5/krbhst.c kdc_get_next(krb5_context context,
context 569 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_kdc);
context 576 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "kdc");
context 585 source4/heimdal/lib/krb5/krbhst.c if(context->srv_lookup) {
context 587 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "udp", "kerberos");
context 594 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "kerberos");
context 600 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "http", "kerberos");
context 608 source4/heimdal/lib/krb5/krbhst.c ret = fallback_get_hosts(context, kd, "kerberos",
context 621 source4/heimdal/lib/krb5/krbhst.c admin_get_next(krb5_context context,
context 628 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_kadmin);
context 635 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "admin_server");
context 644 source4/heimdal/lib/krb5/krbhst.c if(context->srv_lookup) {
context 646 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "kerberos-adm");
context 655 source4/heimdal/lib/krb5/krbhst.c ret = fallback_get_hosts(context, kd, "kerberos",
context 669 source4/heimdal/lib/krb5/krbhst.c kpasswd_get_next(krb5_context context,
context 676 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_kpasswd);
context 683 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "kpasswd_server");
context 692 source4/heimdal/lib/krb5/krbhst.c if(context->srv_lookup) {
context 694 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "udp", "kpasswd");
context 700 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "kpasswd");
context 713 source4/heimdal/lib/krb5/krbhst.c ret = (*kd->get_next)(context, kd, host);
context 723 source4/heimdal/lib/krb5/krbhst.c krb524_get_next(krb5_context context,
context 728 source4/heimdal/lib/krb5/krbhst.c plugin_get_hosts(context, kd, locate_service_krb524);
context 735 source4/heimdal/lib/krb5/krbhst.c config_get_hosts(context, kd, "krb524_server");
context 744 source4/heimdal/lib/krb5/krbhst.c if(context->srv_lookup) {
context 746 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "udp", "krb524");
context 753 source4/heimdal/lib/krb5/krbhst.c srv_get_hosts(context, kd, "tcp", "krb524");
context 766 source4/heimdal/lib/krb5/krbhst.c return (*kd->get_next)(context, kd, host);
context 773 source4/heimdal/lib/krb5/krbhst.c common_init(krb5_context context,
context 802 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_init(krb5_context context,
context 807 source4/heimdal/lib/krb5/krbhst.c return krb5_krbhst_init_flags(context, realm, type, 0, handle);
context 811 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_init_flags(krb5_context context,
context 825 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, "kerberos", "udp", 88));
context 829 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, "kerberos-adm",
context 834 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, "kpasswd", "udp",
context 839 source4/heimdal/lib/krb5/krbhst.c def_port = ntohs(krb5_getportbyname (context, "krb524", "udp", 4444));
context 842 source4/heimdal/lib/krb5/krbhst.c krb5_set_error_message(context, ENOTTY,
context 846 source4/heimdal/lib/krb5/krbhst.c if((kd = common_init(context, realm, flags)) == NULL)
context 859 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_next(krb5_context context,
context 866 source4/heimdal/lib/krb5/krbhst.c return (*handle->get_next)(context, handle, host);
context 875 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_next_as_string(krb5_context context,
context 882 source4/heimdal/lib/krb5/krbhst.c ret = krb5_krbhst_next(context, handle, &host);
context 885 source4/heimdal/lib/krb5/krbhst.c return krb5_krbhst_format_string(context, host, hostname, hostlen);
context 890 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_reset(krb5_context context, krb5_krbhst_handle handle)
context 896 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_free(krb5_context context, krb5_krbhst_handle handle)
context 915 source4/heimdal/lib/krb5/krbhst.c gethostlist(krb5_context context, const char *realm,
context 924 source4/heimdal/lib/krb5/krbhst.c ret = krb5_krbhst_init(context, realm, type, &handle);
context 928 source4/heimdal/lib/krb5/krbhst.c while(krb5_krbhst_next(context, handle, &hostinfo) == 0)
context 931 source4/heimdal/lib/krb5/krbhst.c krb5_set_error_message(context, KRB5_KDC_UNREACH,
context 937 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_free(context, handle);
context 941 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_reset(context, handle);
context 943 source4/heimdal/lib/krb5/krbhst.c while(krb5_krbhst_next_as_string(context, handle,
context 946 source4/heimdal/lib/krb5/krbhst.c krb5_free_krbhst(context, *hostlist);
context 947 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_free(context, handle);
context 952 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_free(context, handle);
context 961 source4/heimdal/lib/krb5/krbhst.c krb5_get_krb_admin_hst (krb5_context context,
context 965 source4/heimdal/lib/krb5/krbhst.c return gethostlist(context, *realm, KRB5_KRBHST_ADMIN, hostlist);
context 973 source4/heimdal/lib/krb5/krbhst.c krb5_get_krb_changepw_hst (krb5_context context,
context 977 source4/heimdal/lib/krb5/krbhst.c return gethostlist(context, *realm, KRB5_KRBHST_CHANGEPW, hostlist);
context 985 source4/heimdal/lib/krb5/krbhst.c krb5_get_krb524hst (krb5_context context,
context 989 source4/heimdal/lib/krb5/krbhst.c return gethostlist(context, *realm, KRB5_KRBHST_KRB524, hostlist);
context 998 source4/heimdal/lib/krb5/krbhst.c krb5_get_krbhst (krb5_context context,
context 1002 source4/heimdal/lib/krb5/krbhst.c return gethostlist(context, *realm, KRB5_KRBHST_KDC, hostlist);
context 1010 source4/heimdal/lib/krb5/krbhst.c krb5_free_krbhst (krb5_context context,
context 118 source4/heimdal/lib/krb5/log.c krb5_initlog(krb5_context context,
context 124 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ENOMEM,
context 131 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ENOMEM,
context 140 source4/heimdal/lib/krb5/log.c krb5_addlog_func(krb5_context context,
context 150 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ENOMEM,
context 185 source4/heimdal/lib/krb5/log.c open_syslog(krb5_context context,
context 193 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ENOMEM,
context 206 source4/heimdal/lib/krb5/log.c return krb5_addlog_func(context, facility, min, max,
context 244 source4/heimdal/lib/krb5/log.c open_file(krb5_context context, krb5_log_facility *fac, int min, int max,
context 249 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ENOMEM,
context 258 source4/heimdal/lib/krb5/log.c return krb5_addlog_func(context, fac, min, max, log_file, close_file, fd);
context 264 source4/heimdal/lib/krb5/log.c krb5_addlog_dest(krb5_context context, krb5_log_facility *f, const char *orig)
context 285 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, HEIM_ERR_LOG_PARSE,
context 292 source4/heimdal/lib/krb5/log.c ret = open_file(context, f, min, max, NULL, NULL, stderr, 1);
context 294 source4/heimdal/lib/krb5/log.c ret = open_file(context, f, min, max, "/dev/console", "w", NULL, 0);
context 301 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ENOMEM,
context 310 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ret,
context 321 source4/heimdal/lib/krb5/log.c krb5_set_error_message(context, ret,
context 329 source4/heimdal/lib/krb5/log.c ret = open_file(context, f, min, max, fn, "a", file, keep_open);
context 331 source4/heimdal/lib/krb5/log.c ret = open_file(context, f, min, max, strdup(p + 7), "w", NULL, 0);
context 344 source4/heimdal/lib/krb5/log.c ret = open_syslog(context, f, min, max, severity, facility);
context 347 source4/heimdal/lib/krb5/log.c krb5_set_error_message (context, ret,
context 355 source4/heimdal/lib/krb5/log.c krb5_openlog(krb5_context context,
context 362 source4/heimdal/lib/krb5/log.c ret = krb5_initlog(context, program, fac);
context 366 source4/heimdal/lib/krb5/log.c p = krb5_config_get_strings(context, NULL, "logging", program, NULL);
context 368 source4/heimdal/lib/krb5/log.c p = krb5_config_get_strings(context, NULL, "logging", "default", NULL);
context 371 source4/heimdal/lib/krb5/log.c ret = krb5_addlog_dest(context, *fac, *q);
context 374 source4/heimdal/lib/krb5/log.c ret = krb5_addlog_dest(context, *fac, "SYSLOG");
context 379 source4/heimdal/lib/krb5/log.c krb5_closelog(krb5_context context,
context 398 source4/heimdal/lib/krb5/log.c krb5_vlog_msg(krb5_context context,
context 418 source4/heimdal/lib/krb5/log.c krb5_format_time(context, t, buf, sizeof(buf), TRUE);
context 437 source4/heimdal/lib/krb5/log.c krb5_vlog(krb5_context context,
context 444 source4/heimdal/lib/krb5/log.c return krb5_vlog_msg(context, fac, NULL, level, fmt, ap);
context 448 source4/heimdal/lib/krb5/log.c krb5_log_msg(krb5_context context,
context 460 source4/heimdal/lib/krb5/log.c ret = krb5_vlog_msg(context, fac, reply, level, fmt, ap);
context 467 source4/heimdal/lib/krb5/log.c krb5_log(krb5_context context,
context 478 source4/heimdal/lib/krb5/log.c ret = krb5_vlog(context, fac, level, fmt, ap);
context 59 source4/heimdal/lib/krb5/mcache.c mcc_get_name(krb5_context context,
context 105 source4/heimdal/lib/krb5/mcache.c mcc_resolve(krb5_context context, krb5_ccache *id, const char *res)
context 124 source4/heimdal/lib/krb5/mcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 137 source4/heimdal/lib/krb5/mcache.c mcc_gen_new(krb5_context context, krb5_ccache *id)
context 144 source4/heimdal/lib/krb5/mcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 156 source4/heimdal/lib/krb5/mcache.c mcc_initialize(krb5_context context,
context 163 source4/heimdal/lib/krb5/mcache.c return krb5_copy_principal (context,
context 182 source4/heimdal/lib/krb5/mcache.c mcc_close(krb5_context context,
context 191 source4/heimdal/lib/krb5/mcache.c mcc_destroy(krb5_context context,
context 198 source4/heimdal/lib/krb5/mcache.c krb5_abortx(context, "mcc_destroy: refcnt already 0");
context 212 source4/heimdal/lib/krb5/mcache.c krb5_free_principal (context, m->primary_principal);
context 221 source4/heimdal/lib/krb5/mcache.c krb5_free_cred_contents (context, &l->cred);
context 232 source4/heimdal/lib/krb5/mcache.c mcc_store_cred(krb5_context context,
context 245 source4/heimdal/lib/krb5/mcache.c krb5_set_error_message(context, KRB5_CC_NOMEM,
context 252 source4/heimdal/lib/krb5/mcache.c ret = krb5_copy_creds_contents (context, creds, &l->cred);
context 263 source4/heimdal/lib/krb5/mcache.c mcc_get_principal(krb5_context context,
context 271 source4/heimdal/lib/krb5/mcache.c return krb5_copy_principal (context,
context 277 source4/heimdal/lib/krb5/mcache.c mcc_get_first (krb5_context context,
context 291 source4/heimdal/lib/krb5/mcache.c mcc_get_next (krb5_context context,
context 305 source4/heimdal/lib/krb5/mcache.c return krb5_copy_creds_contents (context,
context 313 source4/heimdal/lib/krb5/mcache.c mcc_end_get (krb5_context context,
context 321 source4/heimdal/lib/krb5/mcache.c mcc_remove_cred(krb5_context context,
context 329 source4/heimdal/lib/krb5/mcache.c if(krb5_compare_creds(context, which, mcreds, &p->cred)) {
context 331 source4/heimdal/lib/krb5/mcache.c krb5_free_cred_contents(context, &p->cred);
context 341 source4/heimdal/lib/krb5/mcache.c mcc_set_flags(krb5_context context,
context 353 source4/heimdal/lib/krb5/mcache.c mcc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
context 359 source4/heimdal/lib/krb5/mcache.c krb5_set_error_message(context, ENOMEM,
context 375 source4/heimdal/lib/krb5/mcache.c mcc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
context 391 source4/heimdal/lib/krb5/mcache.c ret = _krb5_cc_allocate(context, &krb5_mcc_ops, id);
context 402 source4/heimdal/lib/krb5/mcache.c mcc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
context 414 source4/heimdal/lib/krb5/mcache.c mcc_move(krb5_context context, krb5_ccache from, krb5_ccache to)
context 443 source4/heimdal/lib/krb5/mcache.c mcc_destroy(context, from);
context 449 source4/heimdal/lib/krb5/mcache.c mcc_default_name(krb5_context context, char **str)
context 453 source4/heimdal/lib/krb5/mcache.c krb5_set_error_message(context, ENOMEM,
context 461 source4/heimdal/lib/krb5/mcache.c mcc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
context 39 source4/heimdal/lib/krb5/misc.c _krb5_s4u2self_to_checksumdata(krb5_context context,
context 51 source4/heimdal/lib/krb5/misc.c krb5_clear_error_message(context);
context 84 source4/heimdal/lib/krb5/misc.c krb5_clear_error_message(context);
context 44 source4/heimdal/lib/krb5/mit_glue.c krb5_c_make_checksum(krb5_context context,
context 54 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 58 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_create_checksum(context, crypto, usage, cksumtype,
context 60 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 66 source4/heimdal/lib/krb5/mit_glue.c krb5_c_verify_checksum(krb5_context context, const krb5_keyblock *key,
context 75 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_c_make_checksum(context, cksum->cksumtype,
context 85 source4/heimdal/lib/krb5/mit_glue.c krb5_free_checksum_contents(context, &data_cksum);
context 91 source4/heimdal/lib/krb5/mit_glue.c krb5_c_get_checksum(krb5_context context, const krb5_checksum *cksum,
context 114 source4/heimdal/lib/krb5/mit_glue.c krb5_c_set_checksum(krb5_context context, krb5_checksum *cksum,
context 122 source4/heimdal/lib/krb5/mit_glue.c krb5_free_checksum (krb5_context context, krb5_checksum *cksum)
context 124 source4/heimdal/lib/krb5/mit_glue.c krb5_checksum_free(context, cksum);
context 129 source4/heimdal/lib/krb5/mit_glue.c krb5_free_checksum_contents(krb5_context context, krb5_checksum *cksum)
context 131 source4/heimdal/lib/krb5/mit_glue.c krb5_checksum_free(context, cksum);
context 136 source4/heimdal/lib/krb5/mit_glue.c krb5_checksum_free(krb5_context context, krb5_checksum *cksum)
context 166 source4/heimdal/lib/krb5/mit_glue.c krb5_copy_checksum (krb5_context context,
context 177 source4/heimdal/lib/krb5/mit_glue.c krb5_c_checksum_length (krb5_context context, krb5_cksumtype cksumtype,
context 180 source4/heimdal/lib/krb5/mit_glue.c return krb5_checksumsize(context, cksumtype, length);
context 184 source4/heimdal/lib/krb5/mit_glue.c krb5_c_block_size(krb5_context context,
context 192 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_generate_random_keyblock(context, enctype, &key);
context 196 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, &key, 0, &crypto);
context 197 source4/heimdal/lib/krb5/mit_glue.c krb5_free_keyblock_contents(context, &key);
context 200 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_getblocksize(context, crypto, blocksize);
context 201 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 207 source4/heimdal/lib/krb5/mit_glue.c krb5_c_decrypt(krb5_context context,
context 217 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, &key, input->enctype, &crypto);
context 224 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
context 226 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 231 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 236 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_decrypt_ivec(context, crypto, usage,
context 241 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 247 source4/heimdal/lib/krb5/mit_glue.c krb5_c_encrypt(krb5_context context,
context 257 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 264 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
context 266 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 271 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 276 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_encrypt_ivec(context, crypto, usage,
context 281 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_getenctype(context, crypto, &output->enctype);
context 283 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 289 source4/heimdal/lib/krb5/mit_glue.c krb5_c_encrypt_length(krb5_context context,
context 298 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_generate_random_keyblock(context, enctype, &key);
context 302 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, &key, 0, &crypto);
context 303 source4/heimdal/lib/krb5/mit_glue.c krb5_free_keyblock_contents(context, &key);
context 307 source4/heimdal/lib/krb5/mit_glue.c *length = krb5_get_wrapped_length(context, crypto, inputlen);
context 308 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 314 source4/heimdal/lib/krb5/mit_glue.c krb5_c_enctype_compare(krb5_context context,
context 319 source4/heimdal/lib/krb5/mit_glue.c *similar = krb5_enctypes_compatible_keys(context, e1, e2);
context 324 source4/heimdal/lib/krb5/mit_glue.c krb5_c_make_random_key(krb5_context context,
context 328 source4/heimdal/lib/krb5/mit_glue.c return krb5_generate_random_keyblock(context, enctype, random_key);
context 332 source4/heimdal/lib/krb5/mit_glue.c krb5_c_keylengths(krb5_context context,
context 339 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_enctype_keybits(context, enctype, ilen);
context 343 source4/heimdal/lib/krb5/mit_glue.c return krb5_enctype_keysize(context, enctype, keylen);
context 347 source4/heimdal/lib/krb5/mit_glue.c krb5_c_prf_length(krb5_context context,
context 351 source4/heimdal/lib/krb5/mit_glue.c return krb5_crypto_prf_length(context, type, length);
context 355 source4/heimdal/lib/krb5/mit_glue.c krb5_c_prf(krb5_context context,
context 363 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 367 source4/heimdal/lib/krb5/mit_glue.c ret = krb5_crypto_prf(context, crypto, input, output);
context 368 source4/heimdal/lib/krb5/mit_glue.c krb5_crypto_destroy(context, crypto);
context 39 source4/heimdal/lib/krb5/mk_error.c krb5_mk_error(krb5_context context,
context 55 source4/heimdal/lib/krb5/mk_error.c krb5_us_timeofday (context, &sec, &usec);
context 67 source4/heimdal/lib/krb5/mk_error.c e_text = krb5_get_err_text(context, error_code);
context 90 source4/heimdal/lib/krb5/mk_error.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 40 source4/heimdal/lib/krb5/mk_priv.c krb5_mk_priv(krb5_context context,
context 72 source4/heimdal/lib/krb5/mk_priv.c krb5_us_timeofday (context, &rdata.timestamp, &rdata.usec);
context 105 source4/heimdal/lib/krb5/mk_priv.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 112 source4/heimdal/lib/krb5/mk_priv.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 117 source4/heimdal/lib/krb5/mk_priv.c ret = krb5_encrypt (context,
context 123 source4/heimdal/lib/krb5/mk_priv.c krb5_crypto_destroy(context, crypto);
context 135 source4/heimdal/lib/krb5/mk_priv.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 141 source4/heimdal/lib/krb5/mk_priv.c krb5_set_error_message(context, ENOMEM,
context 39 source4/heimdal/lib/krb5/mk_rep.c krb5_mk_rep(krb5_context context,
context 60 source4/heimdal/lib/krb5/mk_rep.c ret = krb5_auth_con_generatelocalsubkey(context,
context 68 source4/heimdal/lib/krb5/mk_rep.c ret = krb5_copy_keyblock(context, auth_context->local_subkey,
context 72 source4/heimdal/lib/krb5/mk_rep.c krb5_set_error_message(context, ENOMEM,
context 80 source4/heimdal/lib/krb5/mk_rep.c krb5_generate_seq_number (context,
context 85 source4/heimdal/lib/krb5/mk_rep.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 101 source4/heimdal/lib/krb5/mk_rep.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 102 source4/heimdal/lib/krb5/mk_rep.c ret = krb5_crypto_init(context, auth_context->keyblock,
context 108 source4/heimdal/lib/krb5/mk_rep.c ret = krb5_encrypt (context,
context 114 source4/heimdal/lib/krb5/mk_rep.c krb5_crypto_destroy(context, crypto);
context 121 source4/heimdal/lib/krb5/mk_rep.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 39 source4/heimdal/lib/krb5/mk_req.c krb5_mk_req_exact(krb5_context context,
context 52 source4/heimdal/lib/krb5/mk_req.c ret = krb5_cc_get_principal(context, ccache, &this_cred.client);
context 57 source4/heimdal/lib/krb5/mk_req.c ret = krb5_copy_principal (context, server, &this_cred.server);
context 59 source4/heimdal/lib/krb5/mk_req.c krb5_free_cred_contents (context, &this_cred);
context 67 source4/heimdal/lib/krb5/mk_req.c ret = krb5_get_credentials (context, 0, ccache, &this_cred, &cred);
context 68 source4/heimdal/lib/krb5/mk_req.c krb5_free_cred_contents(context, &this_cred);
context 72 source4/heimdal/lib/krb5/mk_req.c ret = krb5_mk_req_extended (context,
context 78 source4/heimdal/lib/krb5/mk_req.c krb5_free_creds(context, cred);
context 83 source4/heimdal/lib/krb5/mk_req.c krb5_mk_req(krb5_context context,
context 97 source4/heimdal/lib/krb5/mk_req.c ret = krb5_expand_hostname_realms (context, hostname,
context 102 source4/heimdal/lib/krb5/mk_req.c ret = krb5_build_principal (context, &server,
context 109 source4/heimdal/lib/krb5/mk_req.c krb5_free_host_realm (context, realms);
context 112 source4/heimdal/lib/krb5/mk_req.c ret = krb5_mk_req_exact (context, auth_context, ap_req_options,
context 114 source4/heimdal/lib/krb5/mk_req.c krb5_free_principal (context, server);
context 39 source4/heimdal/lib/krb5/mk_req_ext.c _krb5_mk_req_internal(krb5_context context,
context 56 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_auth_con_init(context, auth_context);
context 61 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_auth_con_init(context, &ac);
context 66 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_auth_con_generatelocalsubkey(context,
context 73 source4/heimdal/lib/krb5/mk_req_ext.c krb5_free_keyblock(context, ac->keyblock);
context 74 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_copy_keyblock(context, &in_creds->session, &ac->keyblock);
context 86 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_create_checksum(context,
context 98 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_create_checksum(context,
context 108 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_crypto_init(context, ac->keyblock, 0, &crypto);
context 111 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_create_checksum(context,
context 118 source4/heimdal/lib/krb5/mk_req_ext.c krb5_crypto_destroy(context, crypto);
context 128 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_build_authenticator (context,
context 141 source4/heimdal/lib/krb5/mk_req_ext.c ret = krb5_build_ap_req (context, ac->keyblock->keytype,
context 145 source4/heimdal/lib/krb5/mk_req_ext.c krb5_auth_con_free(context, ac);
context 150 source4/heimdal/lib/krb5/mk_req_ext.c krb5_mk_req_extended(krb5_context context,
context 157 source4/heimdal/lib/krb5/mk_req_ext.c return _krb5_mk_req_internal (context,
context 73 source4/heimdal/lib/krb5/pac.c krb5_clear_error_message(context); \
context 85 source4/heimdal/lib/krb5/pac.c krb5_pac_parse(krb5_context context, const void *ptr, size_t len,
context 96 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 103 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 112 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("PAC have too few buffer", ""));
context 117 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 127 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 149 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 155 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 161 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 167 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 175 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("PAC length off end", ""));
context 183 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 191 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 199 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret,
context 230 source4/heimdal/lib/krb5/pac.c krb5_pac_init(krb5_context context, krb5_pac *pac)
context 237 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 244 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 252 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 262 source4/heimdal/lib/krb5/pac.c krb5_pac_add_buffer(krb5_context context, krb5_pac p,
context 275 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 293 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "integer overrun");
context 302 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 344 source4/heimdal/lib/krb5/pac.c krb5_pac_get_buffer(krb5_context context, krb5_pac p,
context 359 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 364 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOENT, "No PAC buffer of type %lu was found",
context 374 source4/heimdal/lib/krb5/pac.c krb5_pac_get_types(krb5_context context,
context 384 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 399 source4/heimdal/lib/krb5/pac.c krb5_pac_free(krb5_context context, krb5_pac pac)
context 411 source4/heimdal/lib/krb5/pac.c verify_checksum(krb5_context context,
context 428 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 440 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 446 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, "PAC checksum missing checksum");
context 450 source4/heimdal/lib/krb5/pac.c if (!krb5_checksum_is_keyed(context, cksum.cksumtype)) {
context 452 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, "Checksum type %d not keyed",
context 457 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 461 source4/heimdal/lib/krb5/pac.c ret = krb5_verify_checksum(context, crypto, KRB5_KU_OTHER_CKSUM,
context 464 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
context 475 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
context 480 source4/heimdal/lib/krb5/pac.c create_checksum(krb5_context context,
context 489 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 493 source4/heimdal/lib/krb5/pac.c ret = krb5_create_checksum(context, crypto, KRB5_KU_OTHER_CKSUM, 0,
context 495 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
context 500 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "pac checksum wrong length");
context 527 source4/heimdal/lib/krb5/pac.c verify_logonname(krb5_context context,
context 543 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 558 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "PAC timestamp mismatch");
context 565 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "PAC logon name length missing");
context 572 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 578 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "Failed to read PAC logon name");
context 590 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 597 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, "Failed to convert string to UCS-2");
context 603 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, "Failed to count length of UCS-2 string");
context 610 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 616 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, "Failed to convert to UTF-8");
context 620 source4/heimdal/lib/krb5/pac.c ret = krb5_parse_name_flags(context, s, KRB5_PRINCIPAL_PARSE_NO_REALM, &p2);
context 625 source4/heimdal/lib/krb5/pac.c if (krb5_principal_compare_any_realm(context, principal, p2) != TRUE) {
context 627 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, "PAC logon name mismatch");
context 629 source4/heimdal/lib/krb5/pac.c krb5_free_principal(context, p2);
context 640 source4/heimdal/lib/krb5/pac.c build_logon_name(krb5_context context,
context 657 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 665 source4/heimdal/lib/krb5/pac.c ret = krb5_unparse_name_flags(context, principal,
context 725 source4/heimdal/lib/krb5/pac.c krb5_pac_verify(krb5_context context,
context 735 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "PAC missing server checksum");
context 739 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "PAC missing kdc checksum");
context 743 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "PAC missing logon name");
context 747 source4/heimdal/lib/krb5/pac.c ret = verify_logonname(context,
context 762 source4/heimdal/lib/krb5/pac.c ret = krb5_copy_data(context, &pac->data, ©);
context 779 source4/heimdal/lib/krb5/pac.c ret = verify_checksum(context,
context 785 source4/heimdal/lib/krb5/pac.c krb5_free_data(context, copy);
context 791 source4/heimdal/lib/krb5/pac.c ret = verify_checksum(context,
context 810 source4/heimdal/lib/krb5/pac.c fill_zeros(krb5_context context, krb5_storage *sp, size_t len)
context 821 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 830 source4/heimdal/lib/krb5/pac.c pac_checksum(krb5_context context,
context 839 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 843 source4/heimdal/lib/krb5/pac.c ret = krb5_crypto_get_checksum_type(context, crypto, &cktype);
context 844 source4/heimdal/lib/krb5/pac.c krb5_crypto_destroy(context, crypto);
context 848 source4/heimdal/lib/krb5/pac.c if (krb5_checksum_is_keyed(context, cktype) == FALSE) {
context 849 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, EINVAL, "PAC checksum type is not keyed");
context 853 source4/heimdal/lib/krb5/pac.c ret = krb5_checksumsize(context, cktype, cksumsize);
context 863 source4/heimdal/lib/krb5/pac.c _krb5_pac_sign(krb5_context context,
context 894 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 917 source4/heimdal/lib/krb5/pac.c ret = build_logon_name(context, authtime, principal, &logon);
context 922 source4/heimdal/lib/krb5/pac.c ret = pac_checksum(context, server_key, &server_cksumtype, &server_size);
context 925 source4/heimdal/lib/krb5/pac.c ret = pac_checksum(context, priv_key, &priv_cksumtype, &priv_size);
context 932 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 940 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 961 source4/heimdal/lib/krb5/pac.c CHECK(ret, fill_zeros(context, spdata, server_size), out);
context 966 source4/heimdal/lib/krb5/pac.c CHECK(ret, fill_zeros(context, spdata, priv_size), out);
context 980 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 999 source4/heimdal/lib/krb5/pac.c CHECK(ret, fill_zeros(context, spdata, e - end), out);
context 1011 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 1018 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 1025 source4/heimdal/lib/krb5/pac.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 1031 source4/heimdal/lib/krb5/pac.c ret = create_checksum(context, server_key,
context 1039 source4/heimdal/lib/krb5/pac.c ret = create_checksum(context, priv_key,
context 48 source4/heimdal/lib/krb5/padata.c krb5_padata_add(krb5_context context, METHOD_DATA *md,
context 55 source4/heimdal/lib/krb5/padata.c krb5_set_error_message(context, ENOMEM,
context 76 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(krb5_context context,
context 97 source4/heimdal/lib/krb5/pkinit.c BN_to_integer(krb5_context context, BIGNUM *bn, heim_integer *integer)
context 102 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 111 source4/heimdal/lib/krb5/pkinit.c integer_to_BN(krb5_context context, const char *field, const heim_integer *f)
context 117 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 136 source4/heimdal/lib/krb5/pkinit.c find_cert(krb5_context context, struct krb5_pk_identity *id,
context 153 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 161 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 169 source4/heimdal/lib/krb5/pkinit.c create_signature(krb5_context context,
context 182 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 190 source4/heimdal/lib/krb5/pkinit.c ret = find_cert(context, id, q, &cert);
context 208 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 217 source4/heimdal/lib/krb5/pkinit.c cert2epi(hx509_context context, void *ctx, hx509_cert c)
context 310 source4/heimdal/lib/krb5/pkinit.c build_edi(krb5_context context,
context 319 source4/heimdal/lib/krb5/pkinit.c build_auth_pack(krb5_context context,
context 333 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 337 source4/heimdal/lib/krb5/pkinit.c krb5_us_timeofday(context, &sec, &usec);
context 345 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 347 source4/heimdal/lib/krb5/pkinit.c ret = krb5_create_checksum(context,
context 360 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 380 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 385 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 389 source4/heimdal/lib/krb5/pkinit.c ret = krb5_copy_data(context, a->clientDHNonce,
context 405 source4/heimdal/lib/krb5/pkinit.c ret = BN_to_integer(context, dh->p, &dp.p);
context 410 source4/heimdal/lib/krb5/pkinit.c ret = BN_to_integer(context, dh->g, &dp.g);
context 415 source4/heimdal/lib/krb5/pkinit.c ret = BN_to_integer(context, dh->q, &dp.q);
context 438 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "Internal ASN1 encoder error");
context 440 source4/heimdal/lib/krb5/pkinit.c ret = BN_to_integer(context, dh->pub_key, &dh_pub_key);
context 450 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "asn1 internal error");
context 472 source4/heimdal/lib/krb5/pkinit.c _krb5_pk_mk_ContentInfo(krb5_context context,
context 494 source4/heimdal/lib/krb5/pkinit.c pk_mk_padata(krb5_context context,
context 522 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 528 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 532 source4/heimdal/lib/krb5/pkinit.c krb5_us_timeofday(context, &sec, &usec);
context 541 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 547 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "internal ASN1 encoder error");
context 555 source4/heimdal/lib/krb5/pkinit.c ret = build_auth_pack(context, nonce, ctx, ctx->dh, req_body, &ap);
context 564 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 570 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "internal ASN1 encoder error");
context 574 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "internal pkinit error");
context 576 source4/heimdal/lib/krb5/pkinit.c ret = create_signature(context, oid, &buf, ctx->id,
context 585 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 616 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 621 source4/heimdal/lib/krb5/pkinit.c ret = build_edi(context, ctx->id->hx509ctx,
context 624 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 639 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "internal pkinit error");
context 641 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret, "PA-PK-AS-REQ %d", (int)ret);
context 645 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "Internal ASN1 encoder error");
context 647 source4/heimdal/lib/krb5/pkinit.c ret = krb5_padata_add(context, md, pa_type, buf.data, buf.length);
context 652 source4/heimdal/lib/krb5/pkinit.c krb5_padata_add(context, md, KRB5_PADATA_PK_AS_09_BINDING, NULL, 0);
context 662 source4/heimdal/lib/krb5/pkinit.c _krb5_pk_mk_padata(krb5_context context,
context 671 source4/heimdal/lib/krb5/pkinit.c win2k_compat = krb5_config_get_bool_default(context, NULL,
context 680 source4/heimdal/lib/krb5/pkinit.c krb5_config_get_bool_default(context, NULL,
context 691 source4/heimdal/lib/krb5/pkinit.c krb5_config_get_bool_default(context, NULL,
context 698 source4/heimdal/lib/krb5/pkinit.c krb5_config_get_bool_default(context, NULL,
context 706 source4/heimdal/lib/krb5/pkinit.c krb5_config_get_bool_default(context, NULL,
context 714 source4/heimdal/lib/krb5/pkinit.c krb5_config_get_bool_default(context, NULL,
context 721 source4/heimdal/lib/krb5/pkinit.c return pk_mk_padata(context, ctx, req_body, nonce, md);
context 725 source4/heimdal/lib/krb5/pkinit.c _krb5_pk_verify_sign(krb5_context context,
context 748 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 755 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 762 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 781 source4/heimdal/lib/krb5/pkinit.c get_reply_key_win(krb5_context context,
context 795 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 802 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 811 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 819 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 829 source4/heimdal/lib/krb5/pkinit.c get_reply_key(krb5_context context,
context 843 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 857 source4/heimdal/lib/krb5/pkinit.c ret = krb5_crypto_init(context, &key_pack.replyKey, 0, &crypto);
context 863 source4/heimdal/lib/krb5/pkinit.c ret = krb5_verify_checksum(context, crypto, 6,
context 866 source4/heimdal/lib/krb5/pkinit.c krb5_crypto_destroy(context, crypto);
context 876 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 884 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 895 source4/heimdal/lib/krb5/pkinit.c pk_verify_host(krb5_context context,
context 907 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 921 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 937 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 951 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 973 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 981 source4/heimdal/lib/krb5/pkinit.c pk_rd_pa_reply_enckey(krb5_context context,
context 1000 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1015 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, ctx->id->hx509ctx, ret,
context 1047 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1058 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1064 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_pk_verify_sign(context,
context 1075 source4/heimdal/lib/krb5/pkinit.c ret = pk_verify_host(context, realm, hi, ctx, host);
context 1084 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret, "PKINIT: reply key, wrong oid");
context 1090 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret, "PKINIT: reply key, wrong oid");
context 1098 source4/heimdal/lib/krb5/pkinit.c ret = get_reply_key(context, &content, req_buffer, key);
context 1100 source4/heimdal/lib/krb5/pkinit.c ret = get_reply_key_win(context, &content, nonce, key);
context 1103 source4/heimdal/lib/krb5/pkinit.c ret = get_reply_key(context, &content, req_buffer, key);
context 1121 source4/heimdal/lib/krb5/pkinit.c pk_rd_pa_reply_dh(krb5_context context,
context 1148 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1153 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_pk_verify_sign(context,
context 1164 source4/heimdal/lib/krb5/pkinit.c ret = pk_verify_host(context, realm, hi, ctx, host);
context 1170 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1181 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1189 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1197 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1204 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1212 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1228 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1234 source4/heimdal/lib/krb5/pkinit.c kdc_dh_pubkey = integer_to_BN(context, "DHPublicKey", &k);
context 1250 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 1259 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1267 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1272 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_pk_octetstring2key(context,
context 1278 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1303 source4/heimdal/lib/krb5/pkinit.c _krb5_pk_rd_pa_reply(krb5_context context,
context 1324 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1334 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1348 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1357 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1364 source4/heimdal/lib/krb5/pkinit.c ret = pk_rd_pa_reply_dh(context, &data, &oid, realm, ctx, etype, hi,
context 1370 source4/heimdal/lib/krb5/pkinit.c ret = pk_rd_pa_reply_enckey(context, PKINIT_27, &data, &oid, realm,
context 1374 source4/heimdal/lib/krb5/pkinit.c krb5_abortx(context, "pk-init as-rep case not possible to happen");
context 1387 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1400 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1406 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 1417 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1422 source4/heimdal/lib/krb5/pkinit.c ret = pk_rd_pa_reply_enckey(context, PKINIT_WIN2K, &data, &oid, realm,
context 1432 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1440 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1448 source4/heimdal/lib/krb5/pkinit.c krb5_context context;
context 1479 source4/heimdal/lib/krb5/pkinit.c ret = (*p->prompter)(p->context, p->prompter_data, NULL, NULL, 1, &prompt);
context 1497 source4/heimdal/lib/krb5/pkinit.c _krb5_pk_load_id(krb5_context context,
context 1515 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, HEIM_PKINIT_NO_VALID_CA,
context 1521 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, HEIM_PKINIT_NO_PRIVATE_KEY,
context 1530 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 1544 source4/heimdal/lib/krb5/pkinit.c p.context = context;
context 1555 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1562 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1570 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1579 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1590 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1600 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1611 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(context, id->hx509ctx, ret,
context 1637 source4/heimdal/lib/krb5/pkinit.c select_dh_group(krb5_context context, DH *dh, unsigned long bits,
context 1653 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1662 source4/heimdal/lib/krb5/pkinit.c dh->p = integer_to_BN(context, "p", &m->p);
context 1665 source4/heimdal/lib/krb5/pkinit.c dh->g = integer_to_BN(context, "g", &m->g);
context 1668 source4/heimdal/lib/krb5/pkinit.c dh->q = integer_to_BN(context, "q", &m->q);
context 1680 source4/heimdal/lib/krb5/pkinit.c pk_copy_error(krb5_context context,
context 1693 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 1699 source4/heimdal/lib/krb5/pkinit.c krb5_clear_error_message(context);
context 1703 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, hxret, "%s: %s", f, s);
context 1709 source4/heimdal/lib/krb5/pkinit.c parse_integer(krb5_context context, char **p, const char *file, int lineno,
context 1716 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 1723 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1734 source4/heimdal/lib/krb5/pkinit.c _krb5_parse_moduli_line(krb5_context context,
context 1748 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 1761 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1769 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret, N_("malloc: out of memeory", ""));
context 1775 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1783 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ret,
context 1789 source4/heimdal/lib/krb5/pkinit.c ret = parse_integer(context, &p, file, lineno, "p", &m1->p);
context 1792 source4/heimdal/lib/krb5/pkinit.c ret = parse_integer(context, &p, file, lineno, "g", &m1->g);
context 1795 source4/heimdal/lib/krb5/pkinit.c ret = parse_integer(context, &p, file, lineno, "q", &m1->q);
context 1880 source4/heimdal/lib/krb5/pkinit.c _krb5_parse_moduli(krb5_context context, const char *file,
context 1894 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 1900 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_parse_moduli_line(context, "builtin", 1, buf, &m[0]);
context 1908 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_parse_moduli_line(context, "builtin", 1, buf, &m[1]);
context 1935 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 1943 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_parse_moduli_line(context, file, lineno, buf, &element);
context 1960 source4/heimdal/lib/krb5/pkinit.c _krb5_dh_group_ok(krb5_context context, unsigned long bits,
context 1976 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context,
context 1989 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context,
context 2030 source4/heimdal/lib/krb5/pkinit.c krb5_get_init_creds_opt_set_pkinit(krb5_context context,
context 2047 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 2055 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 2069 source4/heimdal/lib/krb5/pkinit.c pool = krb5_config_get_strings(context, NULL,
context 2075 source4/heimdal/lib/krb5/pkinit.c pki_revoke = krb5_config_get_strings(context, NULL,
context 2081 source4/heimdal/lib/krb5/pkinit.c krb5_appdefault_string(context, "kinit",
context 2082 source4/heimdal/lib/krb5/pkinit.c krb5_principal_get_realm(context, principal),
context 2087 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_pk_load_id(context,
context 2106 source4/heimdal/lib/krb5/pkinit.c moduli_file = krb5_config_get_string(context, NULL,
context 2112 source4/heimdal/lib/krb5/pkinit.c krb5_config_get_int_default(context, NULL, 0,
context 2117 source4/heimdal/lib/krb5/pkinit.c ret = _krb5_parse_moduli(context, moduli_file,
context 2127 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 2132 source4/heimdal/lib/krb5/pkinit.c ret = select_dh_group(context, opt->opt_private->pk_init_ctx->dh,
context 2142 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, ENOMEM,
context 2150 source4/heimdal/lib/krb5/pkinit.c krb5_set_error_message(context, EINVAL,
context 82 source4/heimdal/lib/krb5/plugin.c loadlib(krb5_context context,
context 90 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 102 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ENOMEM, "Failed to load %s: %s",
context 112 source4/heimdal/lib/krb5/plugin.c krb5_clear_error_message(context);
context 133 source4/heimdal/lib/krb5/plugin.c krb5_plugin_register(krb5_context context,
context 147 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 154 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
context 168 source4/heimdal/lib/krb5/plugin.c _krb5_plugin_find(krb5_context context,
context 194 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 206 source4/heimdal/lib/krb5/plugin.c dirs = krb5_config_get_strings(context, NULL, "libdefaults",
context 224 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ret, "malloc: out of memory");
context 227 source4/heimdal/lib/krb5/plugin.c ret = loadlib(context, type, name, path, &e);
context 242 source4/heimdal/lib/krb5/plugin.c krb5_set_error_message(context, ENOENT, "Did not find a plugin for %s", name);
context 84 source4/heimdal/lib/krb5/principal.c krb5_free_principal(krb5_context context,
context 94 source4/heimdal/lib/krb5/principal.c krb5_principal_set_type(krb5_context context,
context 102 source4/heimdal/lib/krb5/principal.c krb5_principal_get_type(krb5_context context,
context 109 source4/heimdal/lib/krb5/principal.c krb5_principal_get_realm(krb5_context context,
context 116 source4/heimdal/lib/krb5/principal.c krb5_principal_get_comp_string(krb5_context context,
context 135 source4/heimdal/lib/krb5/principal.c krb5_principal_get_num_comp(krb5_context context,
context 142 source4/heimdal/lib/krb5/principal.c krb5_parse_name_flags(krb5_context context,
context 168 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_ERR_NO_SERVICE,
context 183 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_PARSE_MALFORMED,
context 196 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 205 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 223 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 233 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 240 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 255 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 264 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 272 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 281 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 288 source4/heimdal/lib/krb5/principal.c ret = krb5_get_default_realm (context, &realm);
context 296 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 307 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 331 source4/heimdal/lib/krb5/principal.c krb5_parse_name(krb5_context context,
context 335 source4/heimdal/lib/krb5/principal.c return krb5_parse_name_flags(context, name, 0, principal);
context 365 source4/heimdal/lib/krb5/principal.c unparse_name_fixed(krb5_context context,
context 378 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ERANGE,
context 389 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ERANGE,
context 398 source4/heimdal/lib/krb5/principal.c ret = krb5_get_default_realm(context, &r);
context 409 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ERANGE,
context 419 source4/heimdal/lib/krb5/principal.c krb5_unparse_name_fixed(krb5_context context,
context 424 source4/heimdal/lib/krb5/principal.c return unparse_name_fixed(context, principal, name, len, 0);
context 428 source4/heimdal/lib/krb5/principal.c krb5_unparse_name_fixed_short(krb5_context context,
context 433 source4/heimdal/lib/krb5/principal.c return unparse_name_fixed(context, principal, name, len,
context 438 source4/heimdal/lib/krb5/principal.c krb5_unparse_name_fixed_flags(krb5_context context,
context 444 source4/heimdal/lib/krb5/principal.c return unparse_name_fixed(context, principal, name, len, flags);
context 448 source4/heimdal/lib/krb5/principal.c unparse_name(krb5_context context,
context 477 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 481 source4/heimdal/lib/krb5/principal.c ret = unparse_name_fixed(context, principal, *name, len, flags);
context 490 source4/heimdal/lib/krb5/principal.c krb5_unparse_name(krb5_context context,
context 494 source4/heimdal/lib/krb5/principal.c return unparse_name(context, principal, name, 0);
context 498 source4/heimdal/lib/krb5/principal.c krb5_unparse_name_flags(krb5_context context,
context 503 source4/heimdal/lib/krb5/principal.c return unparse_name(context, principal, name, flags);
context 507 source4/heimdal/lib/krb5/principal.c krb5_unparse_name_short(krb5_context context,
context 511 source4/heimdal/lib/krb5/principal.c return unparse_name(context, principal, name, KRB5_PRINCIPAL_UNPARSE_SHORT);
context 517 source4/heimdal/lib/krb5/principal.c krb5_unparse_name_ext(krb5_context context,
context 522 source4/heimdal/lib/krb5/principal.c krb5_abortx(context, "unimplemented krb5_unparse_name_ext called");
context 528 source4/heimdal/lib/krb5/principal.c krb5_princ_realm(krb5_context context,
context 536 source4/heimdal/lib/krb5/principal.c krb5_princ_set_realm(krb5_context context,
context 544 source4/heimdal/lib/krb5/principal.c krb5_principal_set_realm(krb5_context context,
context 553 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 562 source4/heimdal/lib/krb5/principal.c krb5_build_principal(krb5_context context,
context 571 source4/heimdal/lib/krb5/principal.c ret = krb5_build_principal_va(context, principal, rlen, realm, ap);
context 577 source4/heimdal/lib/krb5/principal.c append_component(krb5_context context, krb5_principal p,
context 586 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 593 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 604 source4/heimdal/lib/krb5/principal.c va_ext_princ(krb5_context context, krb5_principal p, va_list ap)
context 613 source4/heimdal/lib/krb5/principal.c append_component(context, p, s, len);
context 618 source4/heimdal/lib/krb5/principal.c va_princ(krb5_context context, krb5_principal p, va_list ap)
context 625 source4/heimdal/lib/krb5/principal.c append_component(context, p, s, strlen(s));
context 631 source4/heimdal/lib/krb5/principal.c build_principal(krb5_context context,
context 642 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 651 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 656 source4/heimdal/lib/krb5/principal.c (*func)(context, p, ap);
context 662 source4/heimdal/lib/krb5/principal.c krb5_make_principal(krb5_context context,
context 671 source4/heimdal/lib/krb5/principal.c ret = krb5_get_default_realm(context, &r);
context 677 source4/heimdal/lib/krb5/principal.c ret = krb5_build_principal_va(context, principal, strlen(realm), realm, ap);
context 685 source4/heimdal/lib/krb5/principal.c krb5_build_principal_va(krb5_context context,
context 691 source4/heimdal/lib/krb5/principal.c return build_principal(context, principal, rlen, realm, va_princ, ap);
context 695 source4/heimdal/lib/krb5/principal.c krb5_build_principal_va_ext(krb5_context context,
context 701 source4/heimdal/lib/krb5/principal.c return build_principal(context, principal, rlen, realm, va_ext_princ, ap);
context 706 source4/heimdal/lib/krb5/principal.c krb5_build_principal_ext(krb5_context context,
context 715 source4/heimdal/lib/krb5/principal.c ret = krb5_build_principal_va_ext(context, principal, rlen, realm, ap);
context 722 source4/heimdal/lib/krb5/principal.c krb5_copy_principal(krb5_context context,
context 728 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 734 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 747 source4/heimdal/lib/krb5/principal.c krb5_principal_compare_any_realm(krb5_context context,
context 762 source4/heimdal/lib/krb5/principal.c _krb5_principal_compare_PrincipalName(krb5_context context,
context 782 source4/heimdal/lib/krb5/principal.c krb5_principal_compare(krb5_context context,
context 786 source4/heimdal/lib/krb5/principal.c if(!krb5_realm_compare(context, princ1, princ2))
context 788 source4/heimdal/lib/krb5/principal.c return krb5_principal_compare_any_realm(context, princ1, princ2);
context 796 source4/heimdal/lib/krb5/principal.c krb5_realm_compare(krb5_context context,
context 808 source4/heimdal/lib/krb5/principal.c krb5_principal_match(krb5_context context,
context 845 source4/heimdal/lib/krb5/principal.c get_name_conversion(krb5_context context, const char *realm, const char *name)
context 850 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL, "realms", realm,
context 853 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL, "libdefaults",
context 859 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL,
context 868 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL,
context 889 source4/heimdal/lib/krb5/principal.c krb5_425_conv_principal_ext2(krb5_context context,
context 919 source4/heimdal/lib/krb5/principal.c p = get_name_conversion(context, realm, name);
context 923 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL, "realms", realm,
context 927 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, &pr, realm, name, instance, NULL);
context 928 source4/heimdal/lib/krb5/principal.c if(func == NULL || (*func)(context, funcctx, pr)){
context 932 source4/heimdal/lib/krb5/principal.c krb5_free_principal(context, pr);
context 934 source4/heimdal/lib/krb5/principal.c krb5_clear_error_message (context);
context 980 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ENOMEM,
context 985 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, &pr, realm, name, inst,
context 989 source4/heimdal/lib/krb5/principal.c if(func == NULL || (*func)(context, funcctx, pr)){
context 993 source4/heimdal/lib/krb5/principal.c krb5_free_principal(context, pr);
context 1000 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, &pr, realm, name, host, NULL);
context 1001 source4/heimdal/lib/krb5/principal.c if((*func)(context, funcctx, pr)){
context 1005 source4/heimdal/lib/krb5/principal.c krb5_free_principal(context, pr);
context 1023 source4/heimdal/lib/krb5/principal.c domains = krb5_config_get_strings(context, NULL, "realms", realm,
context 1027 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, &pr, realm, name, host, NULL);
context 1028 source4/heimdal/lib/krb5/principal.c if(func == NULL || (*func)(context, funcctx, pr)){
context 1033 source4/heimdal/lib/krb5/principal.c krb5_free_principal(context, pr);
context 1039 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL, "realms", realm,
context 1043 source4/heimdal/lib/krb5/principal.c krb5_clear_error_message (context);
context 1051 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, &pr, realm, name, host, NULL);
context 1052 source4/heimdal/lib/krb5/principal.c if(func == NULL || (*func)(context, funcctx, pr)){
context 1056 source4/heimdal/lib/krb5/principal.c krb5_free_principal(context, pr);
context 1057 source4/heimdal/lib/krb5/principal.c krb5_clear_error_message (context);
context 1060 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL,
context 1068 source4/heimdal/lib/krb5/principal.c p = krb5_config_get_string(context, NULL,
context 1077 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, &pr, realm, name, instance, NULL);
context 1078 source4/heimdal/lib/krb5/principal.c if(func == NULL || (*func)(context, funcctx, pr)){
context 1082 source4/heimdal/lib/krb5/principal.c krb5_free_principal(context, pr);
context 1083 source4/heimdal/lib/krb5/principal.c krb5_clear_error_message (context);
context 1095 source4/heimdal/lib/krb5/principal.c krb5_425_conv_principal_ext(krb5_context context,
context 1103 source4/heimdal/lib/krb5/principal.c return krb5_425_conv_principal_ext2(context,
context 1116 source4/heimdal/lib/krb5/principal.c krb5_425_conv_principal(krb5_context context,
context 1122 source4/heimdal/lib/krb5/principal.c krb5_boolean resolve = krb5_config_get_bool(context,
context 1128 source4/heimdal/lib/krb5/principal.c return krb5_425_conv_principal_ext(context, name, instance, realm,
context 1149 source4/heimdal/lib/krb5/principal.c name_convert(krb5_context context, const char *name, const char *realm,
context 1153 source4/heimdal/lib/krb5/principal.c l = krb5_config_get_list (context,
context 1162 source4/heimdal/lib/krb5/principal.c l = krb5_config_get_list (context,
context 1170 source4/heimdal/lib/krb5/principal.c l = krb5_config_get_list (context,
context 1179 source4/heimdal/lib/krb5/principal.c l = krb5_config_get_list (context,
context 1209 source4/heimdal/lib/krb5/principal.c krb5_524_conv_principal(krb5_context context,
context 1232 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_PARSE_MALFORMED,
context 1241 source4/heimdal/lib/krb5/principal.c int t = name_convert(context, n, r, &tmp);
context 1259 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_PARSE_MALFORMED,
context 1264 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_PARSE_MALFORMED,
context 1269 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_PARSE_MALFORMED,
context 1293 source4/heimdal/lib/krb5/principal.c krb5_sname_to_principal (krb5_context context,
context 1304 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_SNAME_UNSUPP_NAMETYPE,
context 1313 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, ret,
context 1323 source4/heimdal/lib/krb5/principal.c ret = krb5_expand_hostname_realms (context, hostname,
context 1330 source4/heimdal/lib/krb5/principal.c ret = krb5_get_host_realm(context, hostname, &realms);
context 1335 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, ret_princ, realms[0], sname,
context 1339 source4/heimdal/lib/krb5/principal.c krb5_free_host_realm(context, realms);
context 1363 source4/heimdal/lib/krb5/principal.c krb5_parse_nametype(krb5_context context, const char *str, int32_t *nametype)
context 1373 source4/heimdal/lib/krb5/principal.c krb5_set_error_message(context, KRB5_PARSE_MALFORMED,
context 48 source4/heimdal/lib/krb5/prog_setup.c krb5_program_setup(krb5_context *context, int argc, char **argv,
context 59 source4/heimdal/lib/krb5/prog_setup.c ret = krb5_init_context(context);
context 39 source4/heimdal/lib/krb5/prompter_posix.c krb5_prompter_posix (krb5_context context,
context 39 source4/heimdal/lib/krb5/rd_cred.c compare_addrs(krb5_context context,
context 47 source4/heimdal/lib/krb5/rd_cred.c if(krb5_address_compare (context, a, b))
context 52 source4/heimdal/lib/krb5/rd_cred.c krb5_set_error_message(context, KRB5KRB_AP_ERR_BADADDR,
context 58 source4/heimdal/lib/krb5/rd_cred.c krb5_rd_cred(krb5_context context,
context 84 source4/heimdal/lib/krb5/rd_cred.c krb5_clear_error_message(context);
context 90 source4/heimdal/lib/krb5/rd_cred.c krb5_clear_error_message (context);
context 96 source4/heimdal/lib/krb5/rd_cred.c krb5_clear_error_message (context);
context 113 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_crypto_init(context, auth_context->remote_subkey,
context 118 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_decrypt_EncryptedData(context,
context 124 source4/heimdal/lib/krb5/rd_cred.c krb5_crypto_destroy(context, crypto);
context 134 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_crypto_init(context, auth_context->keyblock,
context 140 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_decrypt_EncryptedData(context,
context 146 source4/heimdal/lib/krb5/rd_cred.c krb5_crypto_destroy(context, crypto);
context 152 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_decode_EncKrbCredPart (context,
context 169 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_make_addrport (context, &a,
context 176 source4/heimdal/lib/krb5/rd_cred.c ret = compare_addrs(context, a, enc_krb_cred_part.s_address,
context 179 source4/heimdal/lib/krb5/rd_cred.c krb5_free_address(context, a);
context 192 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_make_addrport (context, &a,
context 198 source4/heimdal/lib/krb5/rd_cred.c ret = compare_addrs(context, a, enc_krb_cred_part.r_address,
context 201 source4/heimdal/lib/krb5/rd_cred.c krb5_free_address(context, a);
context 206 source4/heimdal/lib/krb5/rd_cred.c ret = compare_addrs(context, auth_context->local_address,
context 219 source4/heimdal/lib/krb5/rd_cred.c krb5_timeofday (context, &sec);
context 224 source4/heimdal/lib/krb5/rd_cred.c > context->max_skew) {
context 225 source4/heimdal/lib/krb5/rd_cred.c krb5_clear_error_message (context);
context 251 source4/heimdal/lib/krb5/rd_cred.c krb5_set_error_message(context, ret,
context 263 source4/heimdal/lib/krb5/rd_cred.c krb5_set_error_message(context, ret,
context 275 source4/heimdal/lib/krb5/rd_cred.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 278 source4/heimdal/lib/krb5/rd_cred.c _krb5_principalname2krb5_principal (context,
context 293 source4/heimdal/lib/krb5/rd_cred.c _krb5_principalname2krb5_principal (context,
context 298 source4/heimdal/lib/krb5/rd_cred.c krb5_copy_addresses (context,
context 317 source4/heimdal/lib/krb5/rd_cred.c krb5_free_creds(context, (*ret_creds)[i]);
context 325 source4/heimdal/lib/krb5/rd_cred.c krb5_rd_cred2 (krb5_context context,
context 334 source4/heimdal/lib/krb5/rd_cred.c ret = krb5_rd_cred(context, auth_context, in_data, &creds, NULL);
context 341 source4/heimdal/lib/krb5/rd_cred.c krb5_cc_store_cred(context, ccache, creds[i]);
context 342 source4/heimdal/lib/krb5/rd_cred.c krb5_free_creds(context, creds[i]);
context 39 source4/heimdal/lib/krb5/rd_error.c krb5_rd_error(krb5_context context,
context 49 source4/heimdal/lib/krb5/rd_error.c krb5_clear_error_message(context);
context 57 source4/heimdal/lib/krb5/rd_error.c krb5_free_error_contents (krb5_context context,
context 65 source4/heimdal/lib/krb5/rd_error.c krb5_free_error (krb5_context context,
context 68 source4/heimdal/lib/krb5/rd_error.c krb5_free_error_contents (context, error);
context 73 source4/heimdal/lib/krb5/rd_error.c krb5_error_from_rd_error(krb5_context context,
context 81 source4/heimdal/lib/krb5/rd_error.c krb5_set_error_message(context, ret, "%s", *error->e_text);
context 86 source4/heimdal/lib/krb5/rd_error.c krb5_unparse_name_fixed(context, creds->client,
context 88 source4/heimdal/lib/krb5/rd_error.c krb5_unparse_name_fixed(context, creds->server,
context 94 source4/heimdal/lib/krb5/rd_error.c krb5_set_error_message(context, ret,
context 101 source4/heimdal/lib/krb5/rd_error.c krb5_set_error_message(context, ret,
context 108 source4/heimdal/lib/krb5/rd_error.c krb5_set_error_message(context, ret,
context 115 source4/heimdal/lib/krb5/rd_error.c krb5_set_error_message(context, ret,
context 122 source4/heimdal/lib/krb5/rd_error.c krb5_clear_error_message(context);
context 39 source4/heimdal/lib/krb5/rd_priv.c krb5_rd_priv(krb5_context context,
context 59 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 70 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 74 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 79 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 91 source4/heimdal/lib/krb5/rd_priv.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 94 source4/heimdal/lib/krb5/rd_priv.c ret = krb5_decrypt_EncryptedData(context,
context 99 source4/heimdal/lib/krb5/rd_priv.c krb5_crypto_destroy(context, crypto);
context 106 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 114 source4/heimdal/lib/krb5/rd_priv.c && !krb5_address_compare (context,
context 117 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 126 source4/heimdal/lib/krb5/rd_priv.c && !krb5_address_compare (context,
context 129 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 138 source4/heimdal/lib/krb5/rd_priv.c krb5_timeofday (context, &sec);
context 141 source4/heimdal/lib/krb5/rd_priv.c abs(*part.timestamp - sec) > context->max_skew) {
context 142 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 159 source4/heimdal/lib/krb5/rd_priv.c krb5_clear_error_message (context);
context 39 source4/heimdal/lib/krb5/rd_rep.c krb5_rd_rep(krb5_context context,
context 58 source4/heimdal/lib/krb5/rd_rep.c krb5_clear_error_message (context);
context 63 source4/heimdal/lib/krb5/rd_rep.c krb5_clear_error_message (context);
context 67 source4/heimdal/lib/krb5/rd_rep.c ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
context 70 source4/heimdal/lib/krb5/rd_rep.c ret = krb5_decrypt_EncryptedData (context,
context 75 source4/heimdal/lib/krb5/rd_rep.c krb5_crypto_destroy(context, crypto);
context 82 source4/heimdal/lib/krb5/rd_rep.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 85 source4/heimdal/lib/krb5/rd_rep.c ret = krb5_decode_EncAPRepPart(context,
context 97 source4/heimdal/lib/krb5/rd_rep.c krb5_free_ap_rep_enc_part(context, *repl);
context 100 source4/heimdal/lib/krb5/rd_rep.c krb5_clear_error_message (context);
context 105 source4/heimdal/lib/krb5/rd_rep.c krb5_auth_con_setremoteseqnumber(context, auth_context,
context 108 source4/heimdal/lib/krb5/rd_rep.c krb5_auth_con_setremotesubkey(context, auth_context, (*repl)->subkey);
context 117 source4/heimdal/lib/krb5/rd_rep.c krb5_free_ap_rep_enc_part (krb5_context context,
context 39 source4/heimdal/lib/krb5/rd_req.c decrypt_tkt_enc_part (krb5_context context,
context 49 source4/heimdal/lib/krb5/rd_req.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 52 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decrypt_EncryptedData (context,
context 57 source4/heimdal/lib/krb5/rd_req.c krb5_crypto_destroy(context, crypto);
context 61 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decode_EncTicketPart(context, plain.data, plain.length,
context 68 source4/heimdal/lib/krb5/rd_req.c decrypt_authenticator (krb5_context context,
context 79 source4/heimdal/lib/krb5/rd_req.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 82 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decrypt_EncryptedData (context,
context 89 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decrypt_EncryptedData (context,
context 94 source4/heimdal/lib/krb5/rd_req.c krb5_crypto_destroy(context, crypto);
context 98 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decode_Authenticator(context, plain.data, plain.length,
context 105 source4/heimdal/lib/krb5/rd_req.c krb5_decode_ap_req(krb5_context context,
context 116 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 121 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 126 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 133 source4/heimdal/lib/krb5/rd_req.c check_transited(krb5_context context, Ticket *ticket, EncTicketPart *enc)
context 153 source4/heimdal/lib/krb5/rd_req.c ret = krb5_domain_x500_decode(context, enc->transited.contents,
context 159 source4/heimdal/lib/krb5/rd_req.c ret = krb5_check_transited(context, enc->crealm,
context 167 source4/heimdal/lib/krb5/rd_req.c find_etypelist(krb5_context context,
context 212 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message(context);
context 220 source4/heimdal/lib/krb5/rd_req.c krb5_decrypt_ticket(krb5_context context,
context 228 source4/heimdal/lib/krb5/rd_req.c ret = decrypt_tkt_enc_part (context, key, &ticket->enc_part, &t);
context 236 source4/heimdal/lib/krb5/rd_req.c krb5_timeofday (context, &now);
context 239 source4/heimdal/lib/krb5/rd_req.c if(start - now > context->max_skew
context 243 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 246 source4/heimdal/lib/krb5/rd_req.c if(now - t.endtime > context->max_skew) {
context 248 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 253 source4/heimdal/lib/krb5/rd_req.c ret = check_transited(context, ticket, &t);
context 269 source4/heimdal/lib/krb5/rd_req.c krb5_verify_authenticator_checksum(krb5_context context,
context 279 source4/heimdal/lib/krb5/rd_req.c ret = krb5_auth_con_getauthenticator (context,
context 285 source4/heimdal/lib/krb5/rd_req.c krb5_free_authenticator(context, &authenticator);
context 288 source4/heimdal/lib/krb5/rd_req.c ret = krb5_auth_con_getkey(context, ac, &key);
context 290 source4/heimdal/lib/krb5/rd_req.c krb5_free_authenticator(context, &authenticator);
context 293 source4/heimdal/lib/krb5/rd_req.c ret = krb5_crypto_init(context, key, 0, &crypto);
context 296 source4/heimdal/lib/krb5/rd_req.c ret = krb5_verify_checksum (context,
context 302 source4/heimdal/lib/krb5/rd_req.c krb5_crypto_destroy(context, crypto);
context 304 source4/heimdal/lib/krb5/rd_req.c krb5_free_authenticator(context, &authenticator);
context 305 source4/heimdal/lib/krb5/rd_req.c krb5_free_keyblock(context, key);
context 311 source4/heimdal/lib/krb5/rd_req.c krb5_verify_ap_req(krb5_context context,
context 320 source4/heimdal/lib/krb5/rd_req.c return krb5_verify_ap_req2 (context,
context 332 source4/heimdal/lib/krb5/rd_req.c krb5_verify_ap_req2(krb5_context context,
context 353 source4/heimdal/lib/krb5/rd_req.c ret = krb5_auth_con_init (context, &ac);
context 361 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 366 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decrypt_ticket(context, &ap_req->ticket,
context 370 source4/heimdal/lib/krb5/rd_req.c krb5_free_keyblock(context, ac->keyblock);
context 373 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decrypt_ticket(context, &ap_req->ticket,
context 381 source4/heimdal/lib/krb5/rd_req.c ret = _krb5_principalname2krb5_principal(context,
context 386 source4/heimdal/lib/krb5/rd_req.c ret = _krb5_principalname2krb5_principal(context,
context 392 source4/heimdal/lib/krb5/rd_req.c ret = decrypt_authenticator (context,
context 404 source4/heimdal/lib/krb5/rd_req.c _krb5_principalname2krb5_principal(context,
context 408 source4/heimdal/lib/krb5/rd_req.c _krb5_principalname2krb5_principal(context,
context 412 source4/heimdal/lib/krb5/rd_req.c res = krb5_principal_compare (context, p1, p2);
context 413 source4/heimdal/lib/krb5/rd_req.c krb5_free_principal (context, p1);
context 414 source4/heimdal/lib/krb5/rd_req.c krb5_free_principal (context, p2);
context 417 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 426 source4/heimdal/lib/krb5/rd_req.c && !krb5_address_search (context,
context 430 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 438 source4/heimdal/lib/krb5/rd_req.c krb5_timeofday (context, &now);
context 440 source4/heimdal/lib/krb5/rd_req.c if (abs(ac->authenticator->ctime - now) > context->max_skew) {
context 442 source4/heimdal/lib/krb5/rd_req.c krb5_clear_error_message (context);
context 448 source4/heimdal/lib/krb5/rd_req.c krb5_auth_con_setremoteseqnumber(context, ac,
context 454 source4/heimdal/lib/krb5/rd_req.c ret = krb5_auth_con_setremotesubkey(context, ac,
context 460 source4/heimdal/lib/krb5/rd_req.c ret = find_etypelist(context, ac, &etypes);
context 470 source4/heimdal/lib/krb5/rd_req.c if (krb5_enctype_valid(context, etypes.val[i]) == 0) {
context 478 source4/heimdal/lib/krb5/rd_req.c ret = krb5_copy_keyblock(context, &t->ticket.key, &ac->keyblock);
context 494 source4/heimdal/lib/krb5/rd_req.c krb5_free_ticket (context, t);
context 499 source4/heimdal/lib/krb5/rd_req.c krb5_auth_con_free (context, ac);
context 504 source4/heimdal/lib/krb5/rd_req.c krb5_free_ticket (context, t);
context 506 source4/heimdal/lib/krb5/rd_req.c krb5_auth_con_free (context, ac);
context 531 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_ctx_alloc(krb5_context context, krb5_rd_req_in_ctx *ctx)
context 535 source4/heimdal/lib/krb5/rd_req.c krb5_set_error_message(context, ENOMEM,
context 539 source4/heimdal/lib/krb5/rd_req.c (*ctx)->check_pac = (context->flags & KRB5_CTX_F_CHECK_PAC) ? 1 : 0;
context 544 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_set_keytab(krb5_context context,
context 565 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_set_pac_check(krb5_context context,
context 575 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_set_keyblock(krb5_context context,
context 584 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_get_ap_req_options(krb5_context context,
context 593 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_get_ticket(krb5_context context,
context 597 source4/heimdal/lib/krb5/rd_req.c return krb5_copy_ticket(context, out->ticket, ticket);
context 601 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_get_keyblock(krb5_context context,
context 605 source4/heimdal/lib/krb5/rd_req.c return krb5_copy_keyblock(context, out->keyblock, keyblock);
context 609 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_ctx_free(krb5_context context, krb5_rd_req_in_ctx ctx)
context 615 source4/heimdal/lib/krb5/rd_req.c _krb5_rd_req_out_ctx_alloc(krb5_context context, krb5_rd_req_out_ctx *ctx)
context 619 source4/heimdal/lib/krb5/rd_req.c krb5_set_error_message(context, ENOMEM,
context 627 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_ctx_free(krb5_context context, krb5_rd_req_out_ctx ctx)
context 629 source4/heimdal/lib/krb5/rd_req.c krb5_free_keyblock(context, ctx->keyblock);
context 638 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req(krb5_context context,
context 650 source4/heimdal/lib/krb5/rd_req.c ret = krb5_rd_req_in_ctx_alloc(context, &in);
context 654 source4/heimdal/lib/krb5/rd_req.c ret = krb5_rd_req_in_set_keytab(context, in, keytab);
context 656 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_ctx_free(context, in);
context 660 source4/heimdal/lib/krb5/rd_req.c ret = krb5_rd_req_ctx(context, auth_context, inbuf, server, in, &out);
context 661 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_ctx_free(context, in);
context 668 source4/heimdal/lib/krb5/rd_req.c ret = krb5_copy_ticket(context, out->ticket, ticket);
context 674 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_ctx_free(context, out);
context 683 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_with_keyblock(krb5_context context,
context 695 source4/heimdal/lib/krb5/rd_req.c ret = krb5_rd_req_in_ctx_alloc(context, &in);
context 699 source4/heimdal/lib/krb5/rd_req.c ret = krb5_rd_req_in_set_keyblock(context, in, keyblock);
context 701 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_ctx_free(context, in);
context 705 source4/heimdal/lib/krb5/rd_req.c ret = krb5_rd_req_ctx(context, auth_context, inbuf, server, in, &out);
context 706 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_in_ctx_free(context, in);
context 713 source4/heimdal/lib/krb5/rd_req.c ret = krb5_copy_ticket(context, out->ticket, ticket);
context 719 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_ctx_free(context, out);
context 728 source4/heimdal/lib/krb5/rd_req.c get_key_from_keytab(krb5_context context,
context 741 source4/heimdal/lib/krb5/rd_req.c krb5_kt_default(context, &real_keytab);
context 750 source4/heimdal/lib/krb5/rd_req.c ret = krb5_kt_get_entry (context,
context 758 source4/heimdal/lib/krb5/rd_req.c ret = krb5_copy_keyblock(context, &entry.keyblock, out_key);
context 759 source4/heimdal/lib/krb5/rd_req.c krb5_kt_free_entry (context, &entry);
context 762 source4/heimdal/lib/krb5/rd_req.c krb5_kt_close(context, real_keytab);
context 772 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_ctx(krb5_context context,
context 784 source4/heimdal/lib/krb5/rd_req.c ret = _krb5_rd_req_out_ctx_alloc(context, &o);
context 789 source4/heimdal/lib/krb5/rd_req.c ret = krb5_auth_con_init(context, auth_context);
context 794 source4/heimdal/lib/krb5/rd_req.c ret = krb5_decode_ap_req(context, inbuf, &ap_req);
context 799 source4/heimdal/lib/krb5/rd_req.c ret = _krb5_principalname2krb5_principal(context,
context 810 source4/heimdal/lib/krb5/rd_req.c krb5_set_error_message(context, ret,
context 817 source4/heimdal/lib/krb5/rd_req.c ret = krb5_copy_keyblock(context,
context 823 source4/heimdal/lib/krb5/rd_req.c ret = krb5_copy_keyblock(context,
context 834 source4/heimdal/lib/krb5/rd_req.c ret = get_key_from_keytab(context,
context 844 source4/heimdal/lib/krb5/rd_req.c ret = krb5_verify_ap_req2(context,
context 862 source4/heimdal/lib/krb5/rd_req.c ret = krb5_ticket_get_authorization_data_type(context,
context 867 source4/heimdal/lib/krb5/rd_req.c ret = krb5_pac_parse(context, data.data, data.length, &pac);
context 872 source4/heimdal/lib/krb5/rd_req.c ret = krb5_pac_verify(context,
context 878 source4/heimdal/lib/krb5/rd_req.c krb5_pac_free(context, pac);
context 886 source4/heimdal/lib/krb5/rd_req.c krb5_rd_req_out_ctx_free(context, o);
context 892 source4/heimdal/lib/krb5/rd_req.c krb5_free_principal(context, service);
context 44 source4/heimdal/lib/krb5/replay.c krb5_rc_resolve(krb5_context context,
context 50 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, KRB5_RC_MALLOC,
context 58 source4/heimdal/lib/krb5/replay.c krb5_rc_resolve_type(krb5_context context,
context 64 source4/heimdal/lib/krb5/replay.c krb5_set_error_message (context, KRB5_RC_TYPE_NOTFOUND,
context 71 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, KRB5_RC_MALLOC,
context 79 source4/heimdal/lib/krb5/replay.c krb5_rc_resolve_full(krb5_context context,
context 88 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, KRB5_RC_TYPE_NOTFOUND,
context 93 source4/heimdal/lib/krb5/replay.c ret = krb5_rc_resolve_type(context, id, "FILE");
context 96 source4/heimdal/lib/krb5/replay.c ret = krb5_rc_resolve(context, *id, string_name + 5);
context 98 source4/heimdal/lib/krb5/replay.c krb5_rc_close(context, *id);
context 105 source4/heimdal/lib/krb5/replay.c krb5_rc_default_name(krb5_context context)
context 111 source4/heimdal/lib/krb5/replay.c krb5_rc_default_type(krb5_context context)
context 117 source4/heimdal/lib/krb5/replay.c krb5_rc_default(krb5_context context,
context 120 source4/heimdal/lib/krb5/replay.c return krb5_rc_resolve_full(context, id, krb5_rc_default_name(context));
context 129 source4/heimdal/lib/krb5/replay.c krb5_rc_initialize(krb5_context context,
context 139 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, ret, "open(%s): %s", id->name,
context 150 source4/heimdal/lib/krb5/replay.c krb5_rc_recover(krb5_context context,
context 157 source4/heimdal/lib/krb5/replay.c krb5_rc_destroy(krb5_context context,
context 164 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, ret, "remove(%s): %s", id->name,
context 168 source4/heimdal/lib/krb5/replay.c return krb5_rc_close(context, id);
context 172 source4/heimdal/lib/krb5/replay.c krb5_rc_close(krb5_context context,
context 197 source4/heimdal/lib/krb5/replay.c krb5_rc_store(krb5_context context,
context 211 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, ret, "open(%s): %s", id->name,
context 223 source4/heimdal/lib/krb5/replay.c krb5_clear_error_message (context);
context 230 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, ret, "%s: %s",
context 237 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, KRB5_RC_IO_UNKNOWN,
context 248 source4/heimdal/lib/krb5/replay.c krb5_rc_expunge(krb5_context context,
context 255 source4/heimdal/lib/krb5/replay.c krb5_rc_get_lifespan(krb5_context context,
context 268 source4/heimdal/lib/krb5/replay.c krb5_clear_error_message (context);
context 273 source4/heimdal/lib/krb5/replay.c krb5_rc_get_name(krb5_context context,
context 280 source4/heimdal/lib/krb5/replay.c krb5_rc_get_type(krb5_context context,
context 287 source4/heimdal/lib/krb5/replay.c krb5_get_server_rcache(krb5_context context,
context 298 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, ENOMEM,
context 310 source4/heimdal/lib/krb5/replay.c krb5_set_error_message(context, ENOMEM,
context 315 source4/heimdal/lib/krb5/replay.c ret = krb5_rc_resolve_full(context, &rcache, name);
context 257 source4/heimdal/lib/krb5/send_to_kdc.c send_via_proxy (krb5_context context,
context 262 source4/heimdal/lib/krb5/send_to_kdc.c char *proxy2 = strdup(context->http_proxy);
context 312 source4/heimdal/lib/krb5/send_to_kdc.c ret = send_and_recv_http(s, context->kdc_timeout,
context 322 source4/heimdal/lib/krb5/send_to_kdc.c send_via_plugin(krb5_context context,
context 331 source4/heimdal/lib/krb5/send_to_kdc.c ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA, KRB5_PLUGIN_SEND_TO_KDC, &list);
context 343 source4/heimdal/lib/krb5/send_to_kdc.c (*service->init)(context, &ctx);
context 344 source4/heimdal/lib/krb5/send_to_kdc.c ret = (*service->send_to_kdc)(context, ctx, hi,
context 350 source4/heimdal/lib/krb5/send_to_kdc.c krb5_set_error_message(context, ret,
context 367 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto (krb5_context context,
context 378 source4/heimdal/lib/krb5/send_to_kdc.c for (i = 0; i < context->max_retries; ++i) {
context 381 source4/heimdal/lib/krb5/send_to_kdc.c while (krb5_krbhst_next(context, handle, &hi) == 0) {
context 384 source4/heimdal/lib/krb5/send_to_kdc.c if (context->send_to_kdc) {
context 385 source4/heimdal/lib/krb5/send_to_kdc.c struct send_to_kdc *s = context->send_to_kdc;
context 387 source4/heimdal/lib/krb5/send_to_kdc.c ret = (*s->func)(context, s->data,
context 388 source4/heimdal/lib/krb5/send_to_kdc.c hi, context->kdc_timeout, send_data, receive);
context 394 source4/heimdal/lib/krb5/send_to_kdc.c ret = send_via_plugin(context, hi, context->kdc_timeout,
context 401 source4/heimdal/lib/krb5/send_to_kdc.c if(hi->proto == KRB5_KRBHST_HTTP && context->http_proxy) {
context 402 source4/heimdal/lib/krb5/send_to_kdc.c if (send_via_proxy (context, hi, send_data, receive) == 0) {
context 409 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_krbhst_get_addrinfo(context, hi, &ai);
context 424 source4/heimdal/lib/krb5/send_to_kdc.c ret = send_and_recv_http(fd, context->kdc_timeout,
context 428 source4/heimdal/lib/krb5/send_to_kdc.c ret = send_and_recv_tcp (fd, context->kdc_timeout,
context 432 source4/heimdal/lib/krb5/send_to_kdc.c ret = send_and_recv_udp (fd, context->kdc_timeout,
context 441 source4/heimdal/lib/krb5/send_to_kdc.c krb5_krbhst_reset(context, handle);
context 443 source4/heimdal/lib/krb5/send_to_kdc.c krb5_clear_error_message (context);
context 450 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_kdc(krb5_context context,
context 455 source4/heimdal/lib/krb5/send_to_kdc.c return krb5_sendto_kdc_flags(context, send_data, realm, receive, 0);
context 459 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_kdc_flags(krb5_context context,
context 468 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_sendto_ctx_alloc(context, &ctx);
context 474 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_sendto_context(context, ctx, send_data, *realm, receive);
context 475 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_ctx_free(context, ctx);
context 480 source4/heimdal/lib/krb5/send_to_kdc.c krb5_set_send_to_kdc_func(krb5_context context,
context 484 source4/heimdal/lib/krb5/send_to_kdc.c free(context->send_to_kdc);
context 486 source4/heimdal/lib/krb5/send_to_kdc.c context->send_to_kdc = NULL;
context 490 source4/heimdal/lib/krb5/send_to_kdc.c context->send_to_kdc = malloc(sizeof(*context->send_to_kdc));
context 491 source4/heimdal/lib/krb5/send_to_kdc.c if (context->send_to_kdc == NULL) {
context 492 source4/heimdal/lib/krb5/send_to_kdc.c krb5_set_error_message(context, ENOMEM,
context 497 source4/heimdal/lib/krb5/send_to_kdc.c context->send_to_kdc->func = func;
context 498 source4/heimdal/lib/krb5/send_to_kdc.c context->send_to_kdc->data = data;
context 503 source4/heimdal/lib/krb5/send_to_kdc.c _krb5_copy_send_to_kdc_func(krb5_context context, krb5_context to)
context 505 source4/heimdal/lib/krb5/send_to_kdc.c if (context->send_to_kdc)
context 507 source4/heimdal/lib/krb5/send_to_kdc.c context->send_to_kdc->func,
context 508 source4/heimdal/lib/krb5/send_to_kdc.c context->send_to_kdc->data);
context 523 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_ctx_alloc(krb5_context context, krb5_sendto_ctx *ctx)
context 527 source4/heimdal/lib/krb5/send_to_kdc.c krb5_set_error_message(context, ENOMEM,
context 563 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_ctx_free(krb5_context context, krb5_sendto_ctx ctx)
context 570 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_context(krb5_context context,
context 585 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_sendto_ctx_alloc(context, &ctx);
context 592 source4/heimdal/lib/krb5/send_to_kdc.c if ((ctx->flags & KRB5_KRBHST_FLAGS_MASTER) || context->use_admin_kdc)
context 598 source4/heimdal/lib/krb5/send_to_kdc.c if (send_data->length > context->large_msg_size)
context 609 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_krbhst_init_flags(context, realm, type,
context 613 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_ctx_free(context, ctx);
context 618 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_sendto(context, send_data, handle, receive);
context 622 source4/heimdal/lib/krb5/send_to_kdc.c ret = (*ctx->func)(context, ctx, ctx->data, receive, &action);
context 627 source4/heimdal/lib/krb5/send_to_kdc.c krb5_krbhst_free(context, handle);
context 632 source4/heimdal/lib/krb5/send_to_kdc.c krb5_krbhst_free(context, handle);
context 634 source4/heimdal/lib/krb5/send_to_kdc.c krb5_set_error_message(context, ret,
context 640 source4/heimdal/lib/krb5/send_to_kdc.c krb5_sendto_ctx_free(context, ctx);
context 645 source4/heimdal/lib/krb5/send_to_kdc.c _krb5_kdc_retry(krb5_context context, krb5_sendto_ctx ctx, void *data,
context 651 source4/heimdal/lib/krb5/send_to_kdc.c if(krb5_rd_error(context, reply, &error))
context 654 source4/heimdal/lib/krb5/send_to_kdc.c ret = krb5_error_from_rd_error(context, &error, NULL);
context 655 source4/heimdal/lib/krb5/send_to_kdc.c krb5_free_error_contents(context, &error);
context 44 source4/heimdal/lib/krb5/set_default_realm.c string_to_list (krb5_context context, const char *s, krb5_realm **list)
context 49 source4/heimdal/lib/krb5/set_default_realm.c krb5_set_error_message(context, ENOMEM,
context 56 source4/heimdal/lib/krb5/set_default_realm.c krb5_set_error_message(context, ENOMEM,
context 71 source4/heimdal/lib/krb5/set_default_realm.c krb5_set_default_realm(krb5_context context,
context 78 source4/heimdal/lib/krb5/set_default_realm.c realms = krb5_config_get_strings (context, NULL,
context 83 source4/heimdal/lib/krb5/set_default_realm.c ret = krb5_get_host_realm(context, NULL, &realms);
context 85 source4/heimdal/lib/krb5/set_default_realm.c ret = string_to_list (context, realm, &realms);
context 89 source4/heimdal/lib/krb5/set_default_realm.c krb5_free_host_realm (context, context->default_realms);
context 90 source4/heimdal/lib/krb5/set_default_realm.c context->default_realms = realms;
context 866 source4/heimdal/lib/krb5/store.c krb5_free_cred_contents(context, creds); /* XXX */
context 1031 source4/heimdal/lib/krb5/store.c krb5_free_cred_contents(context, creds); /* XXX */
context 39 source4/heimdal/lib/krb5/ticket.c krb5_free_ticket(krb5_context context,
context 43 source4/heimdal/lib/krb5/ticket.c krb5_free_principal(context, ticket->client);
context 44 source4/heimdal/lib/krb5/ticket.c krb5_free_principal(context, ticket->server);
context 50 source4/heimdal/lib/krb5/ticket.c krb5_copy_ticket(krb5_context context,
context 60 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ENOMEM,
context 68 source4/heimdal/lib/krb5/ticket.c ret = krb5_copy_principal(context, from->client, &tmp->client);
context 74 source4/heimdal/lib/krb5/ticket.c ret = krb5_copy_principal(context, from->server, &tmp->server);
context 76 source4/heimdal/lib/krb5/ticket.c krb5_free_principal(context, tmp->client);
context 86 source4/heimdal/lib/krb5/ticket.c krb5_ticket_get_client(krb5_context context,
context 90 source4/heimdal/lib/krb5/ticket.c return krb5_copy_principal(context, ticket->client, client);
context 94 source4/heimdal/lib/krb5/ticket.c krb5_ticket_get_server(krb5_context context,
context 98 source4/heimdal/lib/krb5/ticket.c return krb5_copy_principal(context, ticket->server, server);
context 102 source4/heimdal/lib/krb5/ticket.c krb5_ticket_get_endtime(krb5_context context,
context 119 source4/heimdal/lib/krb5/ticket.c krb5_ticket_get_flags(krb5_context context,
context 126 source4/heimdal/lib/krb5/ticket.c find_type_in_ad(krb5_context context,
context 140 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ret,
context 156 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ret,
context 171 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ret,
context 177 source4/heimdal/lib/krb5/ticket.c ret = find_type_in_ad(context, type, data, found, FALSE,
context 193 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ret,
context 208 source4/heimdal/lib/krb5/ticket.c krb5_clear_error_message(context);
context 212 source4/heimdal/lib/krb5/ticket.c krb5_abortx(context, "internal error in ASN.1 encoder");
context 214 source4/heimdal/lib/krb5/ticket.c ret = krb5_c_verify_checksum(context, sessionkey, 19, &buf,
context 222 source4/heimdal/lib/krb5/ticket.c krb5_clear_error_message(context);
context 228 source4/heimdal/lib/krb5/ticket.c ret = find_type_in_ad(context, type, data, found, failp, sessionkey,
context 240 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ret,
context 249 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ret,
context 273 source4/heimdal/lib/krb5/ticket.c krb5_ticket_get_authorization_data_type(krb5_context context,
context 286 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ENOENT,
context 291 source4/heimdal/lib/krb5/ticket.c ret = find_type_in_ad(context, type, data, &found, TRUE,
context 296 source4/heimdal/lib/krb5/ticket.c krb5_set_error_message(context, ENOENT,
context 53 source4/heimdal/lib/krb5/time.c krb5_set_real_time (krb5_context context,
context 61 source4/heimdal/lib/krb5/time.c context->kdc_sec_offset = sec - tv.tv_sec;
context 68 source4/heimdal/lib/krb5/time.c context->kdc_usec_offset = usec - tv.tv_usec;
context 70 source4/heimdal/lib/krb5/time.c if (context->kdc_usec_offset < 0) {
context 71 source4/heimdal/lib/krb5/time.c context->kdc_sec_offset--;
context 72 source4/heimdal/lib/krb5/time.c context->kdc_usec_offset += 1000000;
context 75 source4/heimdal/lib/krb5/time.c context->kdc_usec_offset = tv.tv_usec;
context 85 source4/heimdal/lib/krb5/time.c krb5_timeofday (krb5_context context,
context 88 source4/heimdal/lib/krb5/time.c *timeret = time(NULL) + context->kdc_sec_offset;
context 97 source4/heimdal/lib/krb5/time.c krb5_us_timeofday (krb5_context context,
context 105 source4/heimdal/lib/krb5/time.c *sec = tv.tv_sec + context->kdc_sec_offset;
context 111 source4/heimdal/lib/krb5/time.c krb5_format_time(krb5_context context, time_t t,
context 115 source4/heimdal/lib/krb5/time.c if(context->log_utc)
context 120 source4/heimdal/lib/krb5/time.c strftime(s, len, include_time ? context->time_fmt : context->date_fmt, tm) == 0)
context 64 source4/heimdal/lib/krb5/transited.c make_path(krb5_context context, struct tr_realm *r,
context 83 source4/heimdal/lib/krb5/transited.c krb5_clear_error_message (context);
context 91 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 100 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 117 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 126 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 135 source4/heimdal/lib/krb5/transited.c krb5_clear_error_message (context);
context 144 source4/heimdal/lib/krb5/transited.c make_paths(krb5_context context,
context 163 source4/heimdal/lib/krb5/transited.c ret = make_path(context, r, prev_realm, next_realm);
context 175 source4/heimdal/lib/krb5/transited.c expand_realms(krb5_context context,
context 193 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 208 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 273 source4/heimdal/lib/krb5/transited.c decode_realms(krb5_context context,
context 295 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 304 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 315 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 324 source4/heimdal/lib/krb5/transited.c krb5_set_error_message(context, ENOMEM,
context 335 source4/heimdal/lib/krb5/transited.c krb5_domain_x500_decode(krb5_context context,
context 350 source4/heimdal/lib/krb5/transited.c ret = decode_realms(context, tr.data, tr.length, &r);
context 355 source4/heimdal/lib/krb5/transited.c ret = expand_realms(context, r, client_realm);
context 359 source4/heimdal/lib/krb5/transited.c ret = make_paths(context, r, client_realm, server_realm);
context 430 source4/heimdal/lib/krb5/transited.c krb5_check_transited(krb5_context context,
context 444 source4/heimdal/lib/krb5/transited.c tr_realms = krb5_config_get_strings(context, NULL,
context 456 source4/heimdal/lib/krb5/transited.c krb5_set_error_message (context, KRB5KRB_AP_ERR_ILL_CR_TKT,
context 470 source4/heimdal/lib/krb5/transited.c krb5_check_transited_realms(krb5_context context,
context 477 source4/heimdal/lib/krb5/transited.c char **bad_realms = krb5_config_get_strings(context, NULL,
context 489 source4/heimdal/lib/krb5/transited.c krb5_set_error_message (context, ret,
context 141 source4/heimdal/lib/krb5/v4_glue.c write_v4_cc(krb5_context context, const char *tkfile,
context 152 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 161 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 171 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 186 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, KRB5_FCC_PERM,
context 198 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, KRB5_FCC_PERM,
context 221 source4/heimdal/lib/krb5/v4_glue.c krb5_free_data_contents(context, &data);
context 235 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_tf_setup(krb5_context context,
context 250 source4/heimdal/lib/krb5/v4_glue.c krb5_clear_error_message(context);
context 278 source4/heimdal/lib/krb5/v4_glue.c ret = write_v4_cc(context, tkfile, sp, append);
context 291 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_dest_tkt(krb5_context context, const char *tkfile)
context 298 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 306 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 321 source4/heimdal/lib/krb5/v4_glue.c decrypt_etext(krb5_context context, const krb5_keyblock *key,
context 327 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_crypto_init(context, key, ETYPE_DES_PCBC_NONE, &crypto);
context 331 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_decrypt(context, crypto, 0, cdata->data, cdata->length, data);
context 332 source4/heimdal/lib/krb5/v4_glue.c krb5_crypto_destroy(context, crypto);
context 345 source4/heimdal/lib/krb5/v4_glue.c storage_to_etext(krb5_context context,
context 370 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_crypto_init(context, key, ETYPE_DES_PCBC_NONE, &crypto);
context 376 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_encrypt(context, crypto, 0, data.data, data.length, enc_data);
context 379 source4/heimdal/lib/krb5/v4_glue.c krb5_crypto_destroy(context, crypto);
context 408 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_create_ticket(krb5_context context,
context 429 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 451 source4/heimdal/lib/krb5/v4_glue.c ret = storage_to_etext(context, sp, key, enc_data);
context 456 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 467 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_create_ciph(krb5_context context,
context 486 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 511 source4/heimdal/lib/krb5/v4_glue.c ret = storage_to_etext(context, sp, key, enc_data);
context 516 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 527 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_create_auth_reply(krb5_context context,
context 545 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 569 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 580 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_cr_err_reply(krb5_context context,
context 601 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 621 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, "Failed to encode kerberos 4 error");
context 647 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_decomp_ticket(krb5_context context,
context 667 source4/heimdal/lib/krb5/v4_glue.c RCHECK(ret, decrypt_etext(context, key, enc_ticket, &ticket), error);
context 672 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ENOMEM, "alloc: out of memory");
context 702 source4/heimdal/lib/krb5/v4_glue.c ret = krb5_keyblock_init(context, ETYPE_DES_PCBC_NONE,
context 730 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_free_auth_data(context, ad);
context 731 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, "Failed to decode v4 ticket");
context 741 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_rd_req(krb5_context context,
context 780 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
context 788 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("Failed reading v4 pvno", ""));
context 794 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("Failed v4 pvno not 4", ""));
context 800 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("Failed readin v4 type", ""));
context 809 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 823 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("Failed reading v4 ticket", ""));
context 828 source4/heimdal/lib/krb5/v4_glue.c ret = _krb5_krb_decomp_ticket(context, &ticket, key, local_realm,
context 838 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 846 source4/heimdal/lib/krb5/v4_glue.c ret = decrypt_etext(context, &ad->session, &eaut, &aut);
context 853 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
context 874 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("v4 principal mismatch", ""));
context 880 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 889 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("v4 clock skew", ""));
context 899 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret,
context 906 source4/heimdal/lib/krb5/v4_glue.c krb5_set_error_message(context, ret, N_("v4 ticket expired", ""));
context 931 source4/heimdal/lib/krb5/v4_glue.c krb5_clear_error_message(context);
context 941 source4/heimdal/lib/krb5/v4_glue.c _krb5_krb_free_auth_data(krb5_context context, struct _krb5_krb_auth_data *ad)
context 949 source4/heimdal/lib/krb5/v4_glue.c krb5_free_keyblock_contents(context, &ad->session);
context 39 source4/heimdal/lib/krb5/warn.c static krb5_error_code _warnerr(krb5_context context, int do_errtext,
context 44 source4/heimdal/lib/krb5/warn.c _warnerr(krb5_context context, int do_errtext,
context 63 source4/heimdal/lib/krb5/warn.c if(context && do_errtext){
context 68 source4/heimdal/lib/krb5/warn.c err_str = krb5_get_error_message(context, code);
context 72 source4/heimdal/lib/krb5/warn.c err_msg = krb5_get_err_text(context, code);
context 80 source4/heimdal/lib/krb5/warn.c if(context && context->warn_dest)
context 81 source4/heimdal/lib/krb5/warn.c krb5_log(context, context->warn_dest, level, xfmt, args[0], args[1]);
context 85 source4/heimdal/lib/krb5/warn.c krb5_free_error_message(context, err_str);
context 93 source4/heimdal/lib/krb5/warn.c ret = _warnerr(context, ETEXT, CODE, LEVEL, fmt, ap); \
context 100 source4/heimdal/lib/krb5/warn.c krb5_vwarn(krb5_context context, krb5_error_code code,
context 104 source4/heimdal/lib/krb5/warn.c return _warnerr(context, 1, code, 1, fmt, ap);
context 109 source4/heimdal/lib/krb5/warn.c krb5_warn(krb5_context context, krb5_error_code code, const char *fmt, ...)
context 117 source4/heimdal/lib/krb5/warn.c krb5_vwarnx(krb5_context context, const char *fmt, va_list ap)
context 120 source4/heimdal/lib/krb5/warn.c return _warnerr(context, 0, 0, 1, fmt, ap);
context 124 source4/heimdal/lib/krb5/warn.c krb5_warnx(krb5_context context, const char *fmt, ...)
context 132 source4/heimdal/lib/krb5/warn.c krb5_verr(krb5_context context, int eval, krb5_error_code code,
context 136 source4/heimdal/lib/krb5/warn.c _warnerr(context, 1, code, 0, fmt, ap);
context 142 source4/heimdal/lib/krb5/warn.c krb5_err(krb5_context context, int eval, krb5_error_code code,
context 151 source4/heimdal/lib/krb5/warn.c krb5_verrx(krb5_context context, int eval, const char *fmt, va_list ap)
context 154 source4/heimdal/lib/krb5/warn.c _warnerr(context, 0, 0, 0, fmt, ap);
context 159 source4/heimdal/lib/krb5/warn.c krb5_errx(krb5_context context, int eval, const char *fmt, ...)
context 167 source4/heimdal/lib/krb5/warn.c krb5_vabort(krb5_context context, krb5_error_code code,
context 171 source4/heimdal/lib/krb5/warn.c _warnerr(context, 1, code, 0, fmt, ap);
context 177 source4/heimdal/lib/krb5/warn.c krb5_abort(krb5_context context, krb5_error_code code, const char *fmt, ...)
context 185 source4/heimdal/lib/krb5/warn.c krb5_vabortx(krb5_context context, const char *fmt, va_list ap)
context 188 source4/heimdal/lib/krb5/warn.c _warnerr(context, 0, 0, 0, fmt, ap);
context 193 source4/heimdal/lib/krb5/warn.c krb5_abortx(krb5_context context, const char *fmt, ...)
context 201 source4/heimdal/lib/krb5/warn.c krb5_set_warn_dest(krb5_context context, krb5_log_facility *fac)
context 203 source4/heimdal/lib/krb5/warn.c context->warn_dest = fac;
context 208 source4/heimdal/lib/krb5/warn.c krb5_get_warn_dest(krb5_context context)
context 210 source4/heimdal/lib/krb5/warn.c return context->warn_dest;
context 101 source4/heimdal/lib/ntlm/heimntlm.h uint32_t context[2]; /**< */
context 14 source4/heimdal_build/kafs.h krb5_error_code krb5_afslog (krb5_context context,
context 101 source4/kdc/hdb-samba4.c static HDBFlags uf2HDBFlags(krb5_context context, int userAccountControl, enum hdb_ldb_ent_type ent_type)
context 196 source4/kdc/hdb-samba4.c static void hdb_ldb_free_entry(krb5_context context, hdb_entry_ex *entry_ex)
context 201 source4/kdc/hdb-samba4.c static krb5_error_code LDB_message2entry_keys(krb5_context context,
context 290 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_message2entry_keys: could not parse package_PrimaryKerberosBlob");
context 291 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_message2entry_keys: could not parse package_PrimaryKerberosBlob");
context 297 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_message2entry_keys: Primary:Kerberos-Newer-Keys not version 4");
context 298 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_message2entry_keys: Primary:Kerberos-Newer-Keys not version 4");
context 304 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_message2entry_keys: could not parse Primary:Kerberos not version 3");
context 305 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_message2entry_keys: could not parse Primary:Kerberos not version 3");
context 340 source4/kdc/hdb-samba4.c ret = krb5_keyblock_init(context,
context 398 source4/kdc/hdb-samba4.c ret = krb5_keyblock_init(context,
context 459 source4/kdc/hdb-samba4.c ret = krb5_keyblock_init(context,
context 492 source4/kdc/hdb-samba4.c static krb5_error_code LDB_message2entry(krb5_context context, HDB *db,
context 529 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "talloc_strdup: out of memory");
context 556 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_message2entry: no samAccountName present");
context 561 source4/kdc/hdb-samba4.c krb5_make_principal(context, &entry_ex->entry.principal, realm, samAccountName, NULL);
context 566 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 580 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 583 source4/kdc/hdb-samba4.c free(*krb5_princ_realm(context, entry_ex->entry.principal));
context 584 source4/kdc/hdb-samba4.c krb5_princ_set_realm(context, entry_ex->entry.principal, &strdup_realm);
context 587 source4/kdc/hdb-samba4.c entry_ex->entry.flags = uf2HDBFlags(context, userAccountControl, ent_type);
context 609 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "malloc: out of memory");
context 658 source4/kdc/hdb-samba4.c ret = LDB_message2entry_keys(context, p->iconv_convenience, p, msg, userAccountControl, entry_ex);
context 666 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 673 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 689 source4/kdc/hdb-samba4.c hdb_free_entry(context, entry_ex);
context 700 source4/kdc/hdb-samba4.c static krb5_error_code LDB_trust_message2entry(krb5_context context, HDB *db,
context 806 source4/kdc/hdb-samba4.c ret = krb5_keyblock_init(context,
context 819 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 833 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 836 source4/kdc/hdb-samba4.c free(*krb5_princ_realm(context, entry_ex->entry.principal));
context 837 source4/kdc/hdb-samba4.c krb5_princ_set_realm(context, entry_ex->entry.principal, &strdup_realm);
context 855 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 862 source4/kdc/hdb-samba4.c krb5_clear_error_string(context);
context 878 source4/kdc/hdb-samba4.c hdb_free_entry(context, entry_ex);
context 887 source4/kdc/hdb-samba4.c static krb5_error_code LDB_lookup_principal(krb5_context context, struct ldb_context *ldb_ctx,
context 904 source4/kdc/hdb-samba4.c ret = krb5_unparse_name_flags(context, principal, KRB5_PRINCIPAL_UNPARSE_NO_REALM, &short_princ);
context 907 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_lookup_principal: could not parse principal");
context 908 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_lookup_principal: could not parse principal");
context 915 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_lookup_principal: talloc_strdup() failed!");
context 936 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "talloc_asprintf: out of memory");
context 956 source4/kdc/hdb-samba4.c static krb5_error_code LDB_lookup_trust(krb5_context context, struct ldb_context *ldb_ctx,
context 970 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "talloc_asprintf: out of memory");
context 991 source4/kdc/hdb-samba4.c static krb5_error_code LDB_lookup_realm(krb5_context context, struct ldb_context *ldb_ctx,
context 1025 source4/kdc/hdb-samba4.c static krb5_error_code LDB_open(krb5_context context, HDB *db, int flags, mode_t mode)
context 1028 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_open: use of a master key incompatible with LDB\n");
context 1029 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_open: use of a master key incompatible with LDB\n");
context 1036 source4/kdc/hdb-samba4.c static krb5_error_code LDB_close(krb5_context context, HDB *db)
context 1041 source4/kdc/hdb-samba4.c static krb5_error_code LDB_lock(krb5_context context, HDB *db, int operation)
context 1046 source4/kdc/hdb-samba4.c static krb5_error_code LDB_unlock(krb5_context context, HDB *db)
context 1051 source4/kdc/hdb-samba4.c static krb5_error_code LDB_rename(krb5_context context, HDB *db, const char *new_name)
context 1056 source4/kdc/hdb-samba4.c static krb5_error_code LDB_fetch_client(krb5_context context, HDB *db,
context 1067 source4/kdc/hdb-samba4.c ret = krb5_unparse_name(context, principal, &principal_string);
context 1085 source4/kdc/hdb-samba4.c ret = LDB_message2entry(context, db, mem_ctx,
context 1091 source4/kdc/hdb-samba4.c static krb5_error_code LDB_fetch_krbtgt(krb5_context context, HDB *db,
context 1113 source4/kdc/hdb-samba4.c if ((LDB_lookup_realm(context, (struct ldb_context *)db->hdb_db,
context 1115 source4/kdc/hdb-samba4.c && (LDB_lookup_realm(context, (struct ldb_context *)db->hdb_db,
context 1126 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "strupper_talloc: out of memory");
context 1130 source4/kdc/hdb-samba4.c ret = krb5_copy_principal(context, principal, &alloc_principal);
context 1139 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_fetch: strdup() failed!");
context 1145 source4/kdc/hdb-samba4.c ret = LDB_lookup_principal(context, (struct ldb_context *)db->hdb_db,
context 1150 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_fetch: could not find principal in DB");
context 1151 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_fetch: could not find principal in DB");
context 1155 source4/kdc/hdb-samba4.c ret = LDB_message2entry(context, db, mem_ctx,
context 1159 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_fetch: self krbtgt message2entry failed");
context 1183 source4/kdc/hdb-samba4.c ret = LDB_lookup_trust(context, (struct ldb_context *)db->hdb_db,
context 1188 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_fetch: could not find principal in DB");
context 1189 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_fetch: could not find principal in DB");
context 1193 source4/kdc/hdb-samba4.c ret = LDB_trust_message2entry(context, db, lp_ctx, mem_ctx,
context 1197 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_fetch: trust_message2entry failed");
context 1208 source4/kdc/hdb-samba4.c static krb5_error_code LDB_fetch_server(krb5_context context, HDB *db,
context 1226 source4/kdc/hdb-samba4.c ret = krb5_unparse_name_flags(context, principal,
context 1264 source4/kdc/hdb-samba4.c realm = krb5_principal_get_realm(context, principal);
context 1266 source4/kdc/hdb-samba4.c ret = LDB_lookup_realm(context, (struct ldb_context *)db->hdb_db,
context 1274 source4/kdc/hdb-samba4.c ret = LDB_lookup_principal(context, (struct ldb_context *)db->hdb_db,
context 1283 source4/kdc/hdb-samba4.c ret = LDB_message2entry(context, db, mem_ctx,
context 1287 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_fetch: message2entry failed");
context 1293 source4/kdc/hdb-samba4.c static krb5_error_code LDB_fetch(krb5_context context, HDB *db,
context 1303 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_fetch: talloc_named() failed!");
context 1308 source4/kdc/hdb-samba4.c ret = LDB_fetch_client(context, db, mem_ctx, principal, flags, entry_ex);
context 1313 source4/kdc/hdb-samba4.c ret = LDB_fetch_krbtgt(context, db, mem_ctx, principal, flags, entry_ex);
context 1317 source4/kdc/hdb-samba4.c ret = LDB_fetch_server(context, db, mem_ctx, principal, flags, entry_ex);
context 1321 source4/kdc/hdb-samba4.c ret = LDB_fetch_krbtgt(context, db, mem_ctx, principal, flags, entry_ex);
context 1330 source4/kdc/hdb-samba4.c static krb5_error_code LDB_store(krb5_context context, HDB *db, unsigned flags, hdb_entry_ex *entry)
context 1335 source4/kdc/hdb-samba4.c static krb5_error_code LDB_remove(krb5_context context, HDB *db, krb5_const_principal principal)
context 1348 source4/kdc/hdb-samba4.c static krb5_error_code LDB_seq(krb5_context context, HDB *db, unsigned flags, hdb_entry_ex *entry)
context 1363 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_seq: talloc_named() failed!");
context 1368 source4/kdc/hdb-samba4.c ret = LDB_message2entry(context, db, mem_ctx,
context 1386 source4/kdc/hdb-samba4.c static krb5_error_code LDB_firstkey(krb5_context context, HDB *db, unsigned flags,
context 1406 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "talloc: out of memory");
context 1419 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "LDB_firstkey: talloc_named() failed!");
context 1423 source4/kdc/hdb-samba4.c ret = krb5_get_default_realm(context, &realm);
context 1429 source4/kdc/hdb-samba4.c ret = LDB_lookup_realm(context, (struct ldb_context *)db->hdb_db,
context 1436 source4/kdc/hdb-samba4.c krb5_warnx(context, "LDB_firstkey: could not find realm\n");
context 1459 source4/kdc/hdb-samba4.c ret = LDB_seq(context, db, flags, entry);
context 1470 source4/kdc/hdb-samba4.c static krb5_error_code LDB_nextkey(krb5_context context, HDB *db, unsigned flags,
context 1473 source4/kdc/hdb-samba4.c return LDB_seq(context, db, flags, entry);
context 1476 source4/kdc/hdb-samba4.c static krb5_error_code LDB_destroy(krb5_context context, HDB *db)
context 1490 source4/kdc/hdb-samba4.c krb5_context context, struct HDB **db, const char *arg)
context 1496 source4/kdc/hdb-samba4.c krb5_set_error_string(context, "malloc: out of memory");
context 1547 source4/kdc/hdb-samba4.c krb5_error_code hdb_samba4_create(krb5_context context, struct HDB **db, const char *arg)
context 1552 source4/kdc/hdb-samba4.c context, db, arg);
context 255 source4/kdc/kpasswdd.c krb5_context context = kdc->smb_krb5_context->krb5_context;
context 324 source4/kdc/kpasswdd.c if (krb5_unparse_name(context, principal, &set_password_on_princ) != 0) {
context 325 source4/kdc/kpasswdd.c krb5_free_principal(context, principal);
context 332 source4/kdc/kpasswdd.c krb5_free_principal(context, principal);
context 36 source4/kdc/pac-glue.c krb5_error_code samba_kdc_plugin_init(krb5_context context, void **ptr)
context 47 source4/kdc/pac-glue.c static krb5_error_code make_pac(krb5_context context,
context 90 source4/kdc/pac-glue.c ret = krb5_pac_init(context, pac);
context 96 source4/kdc/pac-glue.c ret = krb5_pac_add_buffer(context, *pac, PAC_TYPE_LOGON_INFO, &pac_data);
context 107 source4/kdc/pac-glue.c krb5_context context,
context 142 source4/kdc/pac-glue.c ret = make_pac(context, mem_ctx, p->iconv_convenience, server_info, pac);
context 150 source4/kdc/pac-glue.c krb5_error_code samba_kdc_reget_pac(void *priv, krb5_context context,
context 178 source4/kdc/pac-glue.c *pac, context, &server_info_out);
context 181 source4/kdc/pac-glue.c krb5_pac_free(context, *pac);
context 188 source4/kdc/pac-glue.c ret = make_pac(context, mem_ctx, p->iconv_convenience, server_info_out, pac);
context 232 source4/kdc/pac-glue.c krb5_context context, hdb_entry_ex *entry_ex,
context 248 source4/kdc/pac-glue.c ret = krb5_unparse_name(context, entry_ex->entry.principal, &name);
context 26 source4/lib/events/tevent_s4.c static void ev_wrap_debug(void *context, enum tevent_debug_level level,
context 29 source4/lib/events/tevent_s4.c static void ev_wrap_debug(void *context, enum tevent_debug_level level,
context 54 source4/lib/ldb/common/ldb.c static void ldb_tevent_debug(void *context, enum tevent_debug_level level,
context 57 source4/lib/ldb/common/ldb.c static void ldb_tevent_debug(void *context, enum tevent_debug_level level,
context 60 source4/lib/ldb/common/ldb.c struct ldb_context *ldb = talloc_get_type(context, struct ldb_context);
context 633 source4/lib/ldb/common/ldb.c res = talloc_get_type(req->context, struct ldb_result);
context 719 source4/lib/ldb/common/ldb.c void *context,
context 750 source4/lib/ldb/common/ldb.c req->context = context;
context 773 source4/lib/ldb/common/ldb.c void *context,
context 788 source4/lib/ldb/common/ldb.c context, callback, parent);
context 800 source4/lib/ldb/common/ldb.c void *context,
context 817 source4/lib/ldb/common/ldb.c req->context = context;
context 838 source4/lib/ldb/common/ldb.c void *context,
context 855 source4/lib/ldb/common/ldb.c req->context = context;
context 876 source4/lib/ldb/common/ldb.c void *context,
context 893 source4/lib/ldb/common/ldb.c req->context = context;
context 915 source4/lib/ldb/common/ldb.c void *context,
context 933 source4/lib/ldb/common/ldb.c req->context = context;
context 954 source4/lib/ldb/common/ldb.c res = talloc_get_type(req->context, struct ldb_result);
context 984 source4/lib/ldb/common/ldb.c void *context,
context 1002 source4/lib/ldb/common/ldb.c req->context = context;
context 40 source4/lib/ldb/common/ldb_debug.c void (*debug)(void *context, enum ldb_debug_level level,
context 42 source4/lib/ldb/common/ldb_debug.c void *context)
context 45 source4/lib/ldb/common/ldb_debug.c ldb->debug_ops.context = context;
context 52 source4/lib/ldb/common/ldb_debug.c static void ldb_debug_stderr(void *context, enum ldb_debug_level level,
context 54 source4/lib/ldb/common/ldb_debug.c static void ldb_debug_stderr(void *context, enum ldb_debug_level level,
context 81 source4/lib/ldb/common/ldb_debug.c ldb->debug_ops.debug(ldb->debug_ops.context, level, fmt, ap);
context 43 source4/lib/ldb/common/ldb_utf8.c void *context,
context 46 source4/lib/ldb/common/ldb_utf8.c if (context)
context 47 source4/lib/ldb/common/ldb_utf8.c ldb->utf8_fns.context = context;
context 56 source4/lib/ldb/common/ldb_utf8.c char *ldb_casefold_default(void *context, void *mem_ctx, const char *s, size_t n)
context 77 source4/lib/ldb/common/ldb_utf8.c return ldb->utf8_fns.casefold(ldb->utf8_fns.context, mem_ctx, s, n);
context 199 source4/lib/ldb/include/ldb.h void (*debug)(void *context, enum ldb_debug_level level,
context 201 source4/lib/ldb/include/ldb.h void *context;
context 209 source4/lib/ldb/include/ldb.h void *context;
context 210 source4/lib/ldb/include/ldb.h char *(*casefold)(void *context, TALLOC_CTX *mem_ctx, const char *s, size_t n);
context 785 source4/lib/ldb/include/ldb.h void *context;
context 948 source4/lib/ldb/include/ldb.h void *context,
context 960 source4/lib/ldb/include/ldb.h void *context,
context 984 source4/lib/ldb/include/ldb.h void *context,
context 1008 source4/lib/ldb/include/ldb.h void *context,
context 1032 source4/lib/ldb/include/ldb.h void *context,
context 1058 source4/lib/ldb/include/ldb.h void *context,
context 1218 source4/lib/ldb/include/ldb.h void *context,
context 1738 source4/lib/ldb/include/ldb.h void (*debug)(void *context, enum ldb_debug_level level,
context 1740 source4/lib/ldb/include/ldb.h void *context);
context 1746 source4/lib/ldb/include/ldb.h void *context,
context 151 source4/lib/ldb/include/ldb_private.h char *ldb_casefold_default(void *context, void *mem_ctx, const char *s, size_t n);
context 428 source4/lib/ldb/ldb_ildap/ldb_ildap.c if (!req->callback || !req->context) {
context 211 source4/lib/ldb/ldb_ldap/ldb_ldap.c if (!req->callback || !req->context) {
context 105 source4/lib/ldb/ldb_map/ldb_map.c return data->context;
context 870 source4/lib/ldb/ldb_map/ldb_map.c struct ldb_request *map_search_base_req(struct map_context *ac, struct ldb_dn *dn, const char * const *attrs, const struct ldb_parse_tree *tree, void *context, ldb_map_callback_t callback)
context 892 source4/lib/ldb/ldb_map/ldb_map.c context, callback,
context 905 source4/lib/ldb/ldb_map/ldb_map.c void *context,
context 939 source4/lib/ldb/ldb_map/ldb_map.c context, callback,
context 1112 source4/lib/ldb/ldb_map/ldb_map.c data->context = talloc_zero(data, struct ldb_map_context);
context 1113 source4/lib/ldb/ldb_map/ldb_map.c if (!data->context) {
context 1119 source4/lib/ldb/ldb_map/ldb_map.c ret = map_init_dns(module, data->context, name);
context 1125 source4/lib/ldb/ldb_map/ldb_map.c data->context->add_objectclass = add_objectclass;
context 1128 source4/lib/ldb/ldb_map/ldb_map.c ret = map_init_maps(module, data->context, attrs, ocls, wildcard_attributes);
context 150 source4/lib/ldb/ldb_map/ldb_map.h struct ldb_map_context *context;
context 205 source4/lib/ldb/ldb_map/ldb_map_inbound.c ac = talloc_get_type(req->context, struct map_context);
context 296 source4/lib/ldb/ldb_map/ldb_map_inbound.c ac = talloc_get_type(req->context, struct map_context);
context 330 source4/lib/ldb/ldb_map/ldb_map_inbound.c ac = talloc_get_type(req->context, struct map_context);
context 781 source4/lib/ldb/ldb_map/ldb_map_inbound.c ac = talloc_get_type(req->context, struct map_context);
context 1202 source4/lib/ldb/ldb_map/ldb_map_outbound.c ac = talloc_get_type(req->context, struct map_context);
context 1301 source4/lib/ldb/ldb_map/ldb_map_outbound.c ac = talloc_get_type(req->context, struct map_context);
context 74 source4/lib/ldb/ldb_map/ldb_map_private.h void *context,
context 79 source4/lib/ldb/ldb_map/ldb_map_private.h void *context,
context 128 source4/lib/ldb/modules/asq.c ac = talloc_get_type(req->context, struct asq_context);
context 169 source4/lib/ldb/modules/asq.c ac = talloc_get_type(req->context, struct asq_context);
context 195 source4/lib/ldb/modules/operational.c ac = talloc_get_type(req->context, struct operational_context);
context 232 source4/lib/ldb/modules/paged_results.c ac = talloc_get_type(req->context, struct paged_context);
context 62 source4/lib/ldb/modules/paged_searches.c ac = talloc_get_type(req->context, struct ps_context);
context 151 source4/lib/ldb/modules/paged_searches.c ac = talloc_get_type(req->context, struct ps_context);
context 300 source4/lib/ldb/modules/paged_searches.c data = talloc_get_type(req->context, struct private_data);
context 68 source4/lib/ldb/modules/rdn_name.c ac = talloc_get_type(req->context, struct rename_context);
context 187 source4/lib/ldb/modules/rdn_name.c ac = talloc_get_type(req->context, struct rename_context);
context 219 source4/lib/ldb/modules/rdn_name.c ac = talloc_get_type(req->context, struct rename_context);
context 191 source4/lib/ldb/modules/sort.c ac = talloc_get_type(req->context, struct sort_context);
context 365 source4/lib/ldb/pyldb.c static void py_ldb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(3, 0);
context 366 source4/lib/ldb/pyldb.c static void py_ldb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap)
context 368 source4/lib/ldb/pyldb.c PyObject *fn = (PyObject *)context;
context 143 source4/lib/ldb/tools/ldbsearch.c sctx = talloc_get_type(req->context, struct search_context);
context 41 source4/lib/ldb_wrap.c static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
context 44 source4/lib/ldb_wrap.c static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
context 32 source4/lib/ldb_wrap.h char *wrap_casefold(void *context, void *mem_ctx, const char *s, size_t n);
context 96 source4/lib/registry/interface.c if (parent->context->ops->open_key == NULL) {
context 101 source4/lib/registry/interface.c return parent->context->ops->open_key(mem_ctx, parent, name, result);
context 115 source4/lib/registry/interface.c if (key->context->ops->enum_value == NULL)
context 118 source4/lib/registry/interface.c return key->context->ops->enum_value(mem_ctx, key, idx, name,
context 138 source4/lib/registry/interface.c if (key->context->ops->get_key_info == NULL)
context 141 source4/lib/registry/interface.c return key->context->ops->get_key_info(mem_ctx,
context 160 source4/lib/registry/interface.c if (key->context->ops->enum_key == NULL)
context 163 source4/lib/registry/interface.c return key->context->ops->enum_key(mem_ctx, key, idx, name,
context 179 source4/lib/registry/interface.c if (key->context->ops->get_value == NULL)
context 182 source4/lib/registry/interface.c return key->context->ops->get_value(mem_ctx, key, name, type, data);
context 193 source4/lib/registry/interface.c if (parent->context->ops->delete_key == NULL)
context 196 source4/lib/registry/interface.c return parent->context->ops->delete_key(parent, name);
context 211 source4/lib/registry/interface.c if (parent->context->ops->create_key == NULL) {
context 213 source4/lib/registry/interface.c parent->context->ops->name));
context 217 source4/lib/registry/interface.c return parent->context->ops->create_key(mem_ctx, parent, name,
context 231 source4/lib/registry/interface.c if (key->context->ops->set_value == NULL) {
context 233 source4/lib/registry/interface.c key->context->ops->name));
context 237 source4/lib/registry/interface.c return key->context->ops->set_value(key, value, type, data);
context 251 source4/lib/registry/interface.c if (key->context->ops->get_sec_desc == NULL)
context 254 source4/lib/registry/interface.c return key->context->ops->get_sec_desc(ctx, key, secdesc);
context 265 source4/lib/registry/interface.c if (key->context->ops->delete_value == NULL)
context 268 source4/lib/registry/interface.c return key->context->ops->delete_value(key, valname);
context 279 source4/lib/registry/interface.c if (key->context->ops->flush_key == NULL)
context 282 source4/lib/registry/interface.c return key->context->ops->flush_key(key);
context 291 source4/lib/registry/interface.c if (key->context->ops->set_sec_desc == NULL)
context 294 source4/lib/registry/interface.c return key->context->ops->set_sec_desc(key, security);
context 61 source4/lib/registry/local.c local_key->global.context = talloc_reference(local_key, ctx);
context 118 source4/lib/registry/local.c *result = reg_import_hive_key(local_parent->global.context, curkey,
context 203 source4/lib/registry/local.c *key = reg_import_hive_key(local_parent->global.context, hivekey,
context 260 source4/lib/registry/registry.h struct registry_context *context;
context 44 source4/lib/registry/rpc.c struct registry_context context;
context 120 source4/lib/registry/rpc.c mykeydata->key.context = ctx;
context 163 source4/lib/registry/rpc.c mykeydata->key.context = parentkeydata->key.context;
context 524 source4/lib/registry/tools/regshell.c ctx->registry = ctx->current->context;
context 68 source4/ntvfs/common/brlock_tdb.c struct lock_context context;
context 187 source4/ntvfs/common/brlock_tdb.c if (brl_tdb_same_context(&lck1->context, &lck2->context) &&
context 216 source4/ntvfs/common/brlock_tdb.c if (brl_tdb_same_context(&lck1->context, &lck2->context) &&
context 269 source4/ntvfs/common/brlock_tdb.c if (cluster_id_equal(&lock->context.server, &brlh->last_lock.context.server) &&
context 270 source4/ntvfs/common/brlock_tdb.c lock->context.ctx == brlh->last_lock.context.ctx &&
context 327 source4/ntvfs/common/brlock_tdb.c lock.context.smbpid = smbpid;
context 328 source4/ntvfs/common/brlock_tdb.c lock.context.server = brl->server;
context 329 source4/ntvfs/common/brlock_tdb.c lock.context.ctx = brl;
context 331 source4/ntvfs/common/brlock_tdb.c lock.context.ctx = brl;
context 411 source4/ntvfs/common/brlock_tdb.c messaging_send_ptr(brl->messaging_ctx, locks[i].context.server,
context 446 source4/ntvfs/common/brlock_tdb.c struct lock_context context;
context 462 source4/ntvfs/common/brlock_tdb.c context.smbpid = smbpid;
context 463 source4/ntvfs/common/brlock_tdb.c context.server = brl->server;
context 464 source4/ntvfs/common/brlock_tdb.c context.ctx = brl;
context 472 source4/ntvfs/common/brlock_tdb.c if (brl_tdb_same_context(&lock->context, &context) &&
context 484 source4/ntvfs/common/brlock_tdb.c if (brl_tdb_same_context(&lock->context, &context) &&
context 571 source4/ntvfs/common/brlock_tdb.c cluster_id_equal(&lock->context.server, &brl->server)) {
context 628 source4/ntvfs/common/brlock_tdb.c lock.context.smbpid = smbpid;
context 629 source4/ntvfs/common/brlock_tdb.c lock.context.server = brl->server;
context 630 source4/ntvfs/common/brlock_tdb.c lock.context.ctx = brl;
context 683 source4/ntvfs/common/brlock_tdb.c if (lock->context.ctx == brl &&
context 684 source4/ntvfs/common/brlock_tdb.c cluster_id_equal(&lock->context.server, &brl->server) &&
context 593 source4/rpc_server/dcerpc_server.c struct dcesrv_connection_context *context = talloc(call->conn,
context 595 source4/rpc_server/dcerpc_server.c if (context == NULL) {
context 598 source4/rpc_server/dcerpc_server.c context->conn = call->conn;
context 599 source4/rpc_server/dcerpc_server.c context->iface = iface;
context 600 source4/rpc_server/dcerpc_server.c context->context_id = context_id;
context 605 source4/rpc_server/dcerpc_server.c context->assoc_group_id = SAMBA_ASSOC_GROUP;
context 606 source4/rpc_server/dcerpc_server.c context->private_data = NULL;
context 607 source4/rpc_server/dcerpc_server.c context->handles = NULL;
context 608 source4/rpc_server/dcerpc_server.c DLIST_ADD(call->conn->contexts, context);
context 609 source4/rpc_server/dcerpc_server.c call->context = context;
context 610 source4/rpc_server/dcerpc_server.c talloc_set_destructor(context, dcesrv_connection_context_destructor);
context 619 source4/rpc_server/dcerpc_server.c context->iface = NULL;
context 620 source4/rpc_server/dcerpc_server.c talloc_free(call->context);
context 621 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 638 source4/rpc_server/dcerpc_server.c talloc_free(call->context);
context 639 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 658 source4/rpc_server/dcerpc_server.c if (call->context) {
context 659 source4/rpc_server/dcerpc_server.c pkt.u.bind_ack.assoc_group_id = call->context->assoc_group_id;
context 674 source4/rpc_server/dcerpc_server.c talloc_free(call->context);
context 675 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 685 source4/rpc_server/dcerpc_server.c talloc_free(call->context);
context 686 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 692 source4/rpc_server/dcerpc_server.c talloc_free(call->context);
context 693 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 699 source4/rpc_server/dcerpc_server.c talloc_free(call->context);
context 700 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 737 source4/rpc_server/dcerpc_server.c struct dcesrv_connection_context *context;
context 762 source4/rpc_server/dcerpc_server.c context = talloc(call->conn, struct dcesrv_connection_context);
context 763 source4/rpc_server/dcerpc_server.c if (context == NULL) {
context 766 source4/rpc_server/dcerpc_server.c context->conn = call->conn;
context 767 source4/rpc_server/dcerpc_server.c context->iface = iface;
context 768 source4/rpc_server/dcerpc_server.c context->context_id = context_id;
context 769 source4/rpc_server/dcerpc_server.c context->assoc_group_id = SAMBA_ASSOC_GROUP;
context 770 source4/rpc_server/dcerpc_server.c context->private_data = NULL;
context 771 source4/rpc_server/dcerpc_server.c context->handles = NULL;
context 772 source4/rpc_server/dcerpc_server.c DLIST_ADD(call->conn->contexts, context);
context 773 source4/rpc_server/dcerpc_server.c call->context = context;
context 774 source4/rpc_server/dcerpc_server.c talloc_set_destructor(context, dcesrv_connection_context_destructor);
context 779 source4/rpc_server/dcerpc_server.c context->iface = NULL;
context 780 source4/rpc_server/dcerpc_server.c talloc_free(context);
context 781 source4/rpc_server/dcerpc_server.c call->context = NULL;
context 811 source4/rpc_server/dcerpc_server.c call->context = dcesrv_find_context(call->conn, context_id);
context 812 source4/rpc_server/dcerpc_server.c if (!call->context) {
context 824 source4/rpc_server/dcerpc_server.c call->pkt.u.alter.assoc_group_id != call->context->assoc_group_id) {
context 839 source4/rpc_server/dcerpc_server.c pkt.u.alter_resp.assoc_group_id = call->context->assoc_group_id;
context 890 source4/rpc_server/dcerpc_server.c struct dcesrv_connection_context *context;
context 898 source4/rpc_server/dcerpc_server.c context = dcesrv_find_context(call->conn, call->pkt.u.request.context_id);
context 899 source4/rpc_server/dcerpc_server.c if (context == NULL) {
context 909 source4/rpc_server/dcerpc_server.c call->context = context;
context 917 source4/rpc_server/dcerpc_server.c status = context->iface->ndr_pull(call, call, pull, &call->r);
context 929 source4/rpc_server/dcerpc_server.c status = context->iface->dispatch(call, call, call->r);
context 932 source4/rpc_server/dcerpc_server.c context->iface->name,
context 954 source4/rpc_server/dcerpc_server.c struct dcesrv_connection_context *context = call->context;
context 958 source4/rpc_server/dcerpc_server.c status = context->iface->reply(call, call, call->r);
context 976 source4/rpc_server/dcerpc_server.c status = context->iface->ndr_push(call, call, push, call->r);
context 83 source4/rpc_server/dcerpc_server.h struct dcesrv_connection_context *context;
context 139 source4/rpc_server/dcerpc_server.h struct dcesrv_connection_context *context;
context 324 source4/rpc_server/dcerpc_server.h struct dcesrv_handle *dcesrv_handle_new(struct dcesrv_connection_context *context,
context 328 source4/rpc_server/dcerpc_server.h struct dcesrv_connection_context *context,
context 357 source4/rpc_server/dcerpc_server.h (h) = dcesrv_handle_fetch(dce_call->context, (inhandle), DCESRV_HANDLE_ANY); \
context 367 source4/rpc_server/dcerpc_server.h (h) = dcesrv_handle_fetch(dce_call->context, (inhandle), t); \
context 192 source4/rpc_server/drsuapi/dcesrv_drsuapi.c handle = dcesrv_handle_new(dce_call->context, DRSUAPI_BIND_HANDLE);
context 31 source4/rpc_server/handles.c DLIST_REMOVE(h->context->handles, h);
context 39 source4/rpc_server/handles.c _PUBLIC_ struct dcesrv_handle *dcesrv_handle_new(struct dcesrv_connection_context *context,
context 44 source4/rpc_server/handles.c h = talloc(context, struct dcesrv_handle);
context 49 source4/rpc_server/handles.c h->context = context;
context 54 source4/rpc_server/handles.c DLIST_ADD(context->handles, h);
context 66 source4/rpc_server/handles.c struct dcesrv_connection_context *context,
context 73 source4/rpc_server/handles.c return dcesrv_handle_new(context, handle_type);
context 76 source4/rpc_server/handles.c for (h=context->handles; h; h=h->next) {
context 582 source4/rpc_server/lsa/dcesrv_lsa.c ah = dcesrv_handle_new(dce_call->context, LSA_HANDLE_ACCOUNT);
context 1017 source4/rpc_server/lsa/dcesrv_lsa.c handle = dcesrv_handle_new(dce_call->context, LSA_HANDLE_TRUSTED_DOMAIN);
context 1151 source4/rpc_server/lsa/dcesrv_lsa.c handle = dcesrv_handle_new(dce_call->context, LSA_HANDLE_TRUSTED_DOMAIN);
context 1217 source4/rpc_server/lsa/dcesrv_lsa.c handle = dcesrv_handle_new(dce_call->context, LSA_HANDLE_TRUSTED_DOMAIN);
context 1703 source4/rpc_server/lsa/dcesrv_lsa.c ah = dcesrv_handle_new(dce_call->context, LSA_HANDLE_ACCOUNT);
context 2258 source4/rpc_server/lsa/dcesrv_lsa.c handle = dcesrv_handle_new(dce_call->context, LSA_HANDLE_SECRET);
context 2373 source4/rpc_server/lsa/dcesrv_lsa.c handle = dcesrv_handle_new(dce_call->context, LSA_HANDLE_SECRET);
context 213 source4/rpc_server/lsa/lsa_init.c handle = dcesrv_handle_new(dce_call->context, LSA_HANDLE_POLICY);
context 51 source4/rpc_server/netlogon/dcerpc_netlogon.c (struct server_pipe_state *)dce_call->context->private_data;
context 59 source4/rpc_server/netlogon/dcerpc_netlogon.c dce_call->context->private_data = NULL;
context 62 source4/rpc_server/netlogon/dcerpc_netlogon.c pipe_state = talloc(dce_call->context, struct server_pipe_state);
context 72 source4/rpc_server/netlogon/dcerpc_netlogon.c dce_call->context->private_data = pipe_state;
context 81 source4/rpc_server/netlogon/dcerpc_netlogon.c (struct server_pipe_state *)dce_call->context->private_data;
context 56 source4/rpc_server/remote/dcesrv_remote.c dce_call->context->private_data = priv;
context 117 source4/rpc_server/remote/dcesrv_remote.c static void remote_op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
context 119 source4/rpc_server/remote/dcesrv_remote.c struct dcesrv_remote_private *priv = (struct dcesrv_remote_private *)context->private_data;
context 129 source4/rpc_server/remote/dcesrv_remote.c const struct ndr_interface_table *table = (const struct ndr_interface_table *)dce_call->context->iface->private_data;
context 159 source4/rpc_server/remote/dcesrv_remote.c struct dcesrv_remote_private *priv = dce_call->context->private_data;
context 161 source4/rpc_server/remote/dcesrv_remote.c const struct ndr_interface_table *table = dce_call->context->iface->private_data;
context 194 source4/rpc_server/remote/dcesrv_remote.c const struct ndr_interface_table *table = dce_call->context->iface->private_data;
context 180 source4/rpc_server/samr/dcesrv_samr.c handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_CONNECT);
context 500 source4/rpc_server/samr/dcesrv_samr.c h_domain = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_DOMAIN);
context 1120 source4/rpc_server/samr/dcesrv_samr.c g_handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_GROUP);
context 1464 source4/rpc_server/samr/dcesrv_samr.c u_handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_USER);
context 1684 source4/rpc_server/samr/dcesrv_samr.c a_handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_ALIAS);
context 2106 source4/rpc_server/samr/dcesrv_samr.c g_handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_GROUP);
context 2579 source4/rpc_server/samr/dcesrv_samr.c g_handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_ALIAS);
context 2964 source4/rpc_server/samr/dcesrv_samr.c u_handle = dcesrv_handle_new(dce_call->context, SAMR_HANDLE_USER);
context 219 source4/rpc_server/spoolss/dcesrv_spoolss.c status = ntptr_init_context(dce_call->context, dce_call->conn->event_ctx, dce_call->conn->dce_ctx->lp_ctx,
context 223 source4/rpc_server/spoolss/dcesrv_spoolss.c dce_call->context->private_data = ntptr;
context 236 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 372 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 405 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 457 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 824 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 847 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 1082 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = dcesrv_handle_new(dce_call->context, SPOOLSS_NOTIFY);
context 1257 source4/rpc_server/spoolss/dcesrv_spoolss.c struct ntptr_context *ntptr = talloc_get_type(dce_call->context->private_data, struct ntptr_context);
context 1294 source4/rpc_server/spoolss/dcesrv_spoolss.c h = dcesrv_handle_new(dce_call->context, handle->type);
context 35 source4/rpc_server/unixinfo/dcesrv_unixinfo.c wbc_ctx = wbc_init(dce_call->context, dce_call->msg_ctx,
context 39 source4/rpc_server/unixinfo/dcesrv_unixinfo.c dce_call->context->private_data = wbc_ctx;
context 52 source4/rpc_server/unixinfo/dcesrv_unixinfo.c dce_call->context->private_data,
context 85 source4/rpc_server/unixinfo/dcesrv_unixinfo.c dce_call->context->private_data,
context 127 source4/rpc_server/unixinfo/dcesrv_unixinfo.c dce_call->context->private_data,
context 160 source4/rpc_server/unixinfo/dcesrv_unixinfo.c dce_call->context->private_data,
context 40 source4/rpc_server/winreg/rpc_winreg.c err = reg_open_samba(dce_call->context,
context 49 source4/rpc_server/winreg/rpc_winreg.c dce_call->context->private_data = ctx;
context 60 source4/rpc_server/winreg/rpc_winreg.c struct registry_context *ctx = dce_call->context->private_data;
context 64 source4/rpc_server/winreg/rpc_winreg.c h = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY);
context 124 source4/rpc_server/winreg/rpc_winreg.c newh = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY);
context 409 source4/rpc_server/winreg/rpc_winreg.c newh = talloc_reference(dce_call->context, h);
context 412 source4/rpc_server/winreg/rpc_winreg.c newh = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY);
context 92 source4/torture/ldap/schema.c actx = talloc_get_type(req->context, struct test_schema_ctx);
context 41 source4/torture/rpc/spoolss_notify.c static void spoolss__op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
context 329 source4/torture/smbtorture.c static void simple_test_result(struct torture_context *context,
context 338 source4/torture/smbtorture.c printf("TEST %s FAILED! - %s\n", context->active_test->name, reason);
context 341 source4/torture/smbtorture.c printf("ERROR IN TEST %s! - %s\n", context->active_test->name, reason);
context 344 source4/torture/smbtorture.c printf("SKIP: %s - %s\n", context->active_test->name, reason);
context 386 source4/torture/smbtorture.c static void quiet_test_result(struct torture_context *context,