Lines Matching refs:ret
51 kadm5_ret_t ret; in kadm5_s_randkey_principal() local
54 ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0); in kadm5_s_randkey_principal()
55 if(ret) in kadm5_s_randkey_principal()
56 return ret; in kadm5_s_randkey_principal()
57 ret = context->db->hdb_fetch_kvno(context->context, context->db, princ, in kadm5_s_randkey_principal()
59 if(ret) in kadm5_s_randkey_principal()
62 ret = _kadm5_set_keys_randomly (context, in kadm5_s_randkey_principal()
66 if (ret) in kadm5_s_randkey_principal()
70 ret = _kadm5_set_modifier(context, &ent.entry); in kadm5_s_randkey_principal()
71 if(ret) in kadm5_s_randkey_principal()
73 ret = _kadm5_bump_pw_expire(context, &ent.entry); in kadm5_s_randkey_principal()
74 if (ret) in kadm5_s_randkey_principal()
77 ret = hdb_seal_keys(context->context, context->db, &ent.entry); in kadm5_s_randkey_principal()
78 if (ret) in kadm5_s_randkey_principal()
81 ret = context->db->hdb_store(context->context, context->db, in kadm5_s_randkey_principal()
83 if (ret) in kadm5_s_randkey_principal()
93 if (ret) { in kadm5_s_randkey_principal()
106 return _kadm5_error_code(ret); in kadm5_s_randkey_principal()