Lines Matching defs:kret

1352     krb5_error_code	kret, retval;
1493 kret = 0;
1519 if ((kret = krb5_lock_file(util_context,
1524 progname, ofile, error_message(kret));
1532 if (f && !(kret)) {
1570 if ((kret = krb5_db_iterate(util_context,
1577 progname, dump->name, error_message(kret));
1583 (kret = krb5_db_iter_policy( util_context, "*", dump->dump_policy,
1588 error_message(kret));
1690 krb5_error_code kret;
1692 kret = 0 ;
1701 if (!(kret = krb5_copy_principal(kcontext,
1705 kret = krb5_dbe_encode_mod_princ_data(kcontext,
1716 if (!kret) {
1758 kret = ENOMEM;
1761 return(kret);
1792 krb5_error_code kret;
1995 if (!(kret = krb5_parse_name(kcontext,
1998 if (!(kret = krb5_parse_name(kcontext,
2001 if (!(kret =
2006 !(kret =
2033 if ((kret = krb5_db_put_principal(kcontext,
2039 error_message(kret));
2057 error_message(kret));
2063 fname, *linenop, name, error_message(kret));
2120 krb5_error_code kret;
2131 kret = 0;
2178 !(kret = krb5_parse_name(kcontext, name, &dbentry.princ))) {
2346 if ((kret = krb5_db_put_principal(kcontext,
2352 name, error_message(kret));
2369 if (kret)
2371 fname, *linenop, name, error_message(kret));
2562 krb5_error_code kret;
2654 if ((kret = kadm5_init_krb5_context(&kcontext))) {
2662 if( (kret = krb5_set_default_realm(kcontext, util_context->default_realm)) )
2684 if ((kret = krb5_lock_file(kcontext, fileno(f),
2751 if ((kret = kadm5_get_config_params(kcontext, 1,
2754 com_err(progname, kret,
2771 if((kret = krb5_db_create(kcontext, db5util_db_args))) {
2772 const char *emsg = krb5_get_error_message(kcontext, kret);
2785 progname, dbname, error_message(kret));
2797 if ((kret = krb5_db_open(kcontext, db5util_db_args,
2799 const char *emsg = krb5_get_error_message(kcontext, kret);
2812 progname, error_message(kret));
2824 if ((kret = krb5_db_lock(kcontext, update?KRB5_DB_LOCKMODE_PERMANENT: KRB5_DB_LOCKMODE_EXCLUSIVE))) {
2829 if (kret != KRB5_PLUGIN_OP_NOTSUPP) {
2832 progname, error_message(kret));
2898 ((kret = kadm5_create_magic_princs(&newparams, kcontext)))) {
2903 if (db_locked && (kret = krb5_db_unlock(kcontext))) {
2907 progname, dbname, error_message(kret));
2912 if ((kret = krb5_db_fini(kcontext))) {
2915 progname, error_message(kret));
2923 kret = krb5_db_promote(kcontext, db5util_db_args);
2928 if (kret != 0 && kret != KRB5_PLUGIN_OP_NOTSUPP) {
2931 progname, error_message(kret));
2945 kret = krb5_db_destroy(kcontext, db5util_db_args);
2950 if (kret != 0 && kret != KRB5_PLUGIN_OP_NOTSUPP) {
2953 progname, dbname, error_message(kret));