Lines Matching defs:code
61 kadm5_ret_t code;
73 if ((code = get_kmd_kuser(context, (const char *)princ_str,
75 return (code);
78 code = krb5_parse_name(context, kprinc, &princ);
79 if (code != 0) {
108 code = kadm5_init_with_password(kprinc, password, cpw_service,
112 if (code != 0) {
116 "init_with_pw failed: code = %d", code);
118 return ((code == KADM5_BAD_PASSWORD) ?
133 code = kadm5_get_principal(server_handle, princ, prent,
136 if (code != 0) {
139 return ((code == KADM5_UNK_PRINC) ?
176 krb5_error_code code;
192 * code, check to see about debug message and exit out of routine as the
196 if (code = krb5_init_secure_context(&kmd->kcontext)) {
200 "krb5_init_secure_context failed: code=%d",
201 code);
204 if (code = krb5_timeofday(kmd->kcontext, &now)) {
208 "PAM-KRB5 (acct): krb5_timeofday failed: code=%d",
209 code);