Searched refs:isflagset (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 225 if (isflagset(apreq->ap_options, AP_OPTS_USE_SESSION_KEY) || in kdc_process_tgs_req() 226 isflagset(apreq->ap_options, AP_OPTS_MUTUAL_REQUIRED)) { in kdc_process_tgs_req() 312 if (isflagset((*ticket)->enc_part2->flags, TKT_FLG_INVALID) in kdc_process_tgs_req() 313 && !isflagset(request->kdc_options, KDC_OPT_VALIDATE)) { in kdc_process_tgs_req() 866 !isflagset(server.attributes, KRB5_KDB_PWCHANGE_SERVICE)) { in validate_as_request() 895 if (isflagset(client.attributes, KRB5_KDB_REQUIRES_PWCHANGE) && in validate_as_request() 896 !isflagset(server.attributes, KRB5_KDB_PWCHANGE_SERVICE)) { in validate_as_request() 902 if ((isflagset(request->kdc_options, KDC_OPT_ALLOW_POSTDATE) || in validate_as_request() 903 isflagset(request->kdc_options, KDC_OPT_POSTDATED)) && in validate_as_request() 904 (isflagset(client.attributes, KRB5_KDB_DISALLOW_POSTDATED) || in validate_as_request() [all …]
|
H A D | do_tgs_req.c | 227 if (isflagset(request->kdc_options, KDC_OPT_ENC_TKT_IN_SKEY)) { in process_tgs_req() 308 if (isflagset(request->kdc_options, KDC_OPT_FORWARDABLE)) in process_tgs_req() 311 if (isflagset(request->kdc_options, KDC_OPT_FORWARDED)) { in process_tgs_req() 319 if (isflagset(header_ticket->enc_part2->flags, TKT_FLG_FORWARDED)) in process_tgs_req() 322 if (isflagset(request->kdc_options, KDC_OPT_PROXIABLE)) in process_tgs_req() 325 if (isflagset(request->kdc_options, KDC_OPT_PROXY)) { in process_tgs_req() 334 if (isflagset(request->kdc_options, KDC_OPT_ALLOW_POSTDATE)) in process_tgs_req() 337 if (isflagset(request->kdc_options, KDC_OPT_POSTDATED)) { in process_tgs_req() 344 if (isflagset(request->kdc_options, KDC_OPT_VALIDATE)) { in process_tgs_req() 352 if (isflagset(request->kdc_options, KDC_OPT_RENEW)) { in process_tgs_req() [all …]
|
H A D | do_as_req.c | 210 if (isflagset(request->kdc_options, KDC_OPT_FORWARDABLE)) in process_as_req() 213 if (isflagset(request->kdc_options, KDC_OPT_PROXIABLE)) in process_as_req() 216 if (isflagset(request->kdc_options, KDC_OPT_ALLOW_POSTDATE)) in process_as_req() 226 if (isflagset(request->kdc_options, KDC_OPT_POSTDATED)) { in process_as_req() 251 if (isflagset(request->kdc_options, KDC_OPT_RENEWABLE_OK) && in process_as_req() 252 !isflagset(client.attributes, KRB5_KDB_DISALLOW_RENEWABLE) && in process_as_req() 262 if (isflagset(request->kdc_options, KDC_OPT_RENEWABLE)) { in process_as_req()
|
H A D | policy.c | 64 if (isflagset(request->kdc_options, KDC_OPT_FORWARDED)) { in against_local_policy_tgs()
|
H A D | kdc_preauth.c | 782 if (isflagset(server->attributes, KRB5_KDB_PWCHANGE_SERVICE) && in missing_required_preauth() 783 isflagset(enc_tkt_reply->flags, TKT_FLG_PRE_AUTH)) in missing_required_preauth() 790 isflagset (client->attributes, KRB5_KDB_REQUIRES_PRE_AUTH) ? "" : "no ", in missing_required_preauth() 791 isflagset (client->attributes, KRB5_KDB_REQUIRES_HW_AUTH) ? "" : "no ", in missing_required_preauth() 792 isflagset (enc_tkt_reply->flags, TKT_FLG_PRE_AUTH) ? "" : "no ", in missing_required_preauth() 793 isflagset (enc_tkt_reply->flags, TKT_FLG_HW_AUTH) ? "" : "no "); in missing_required_preauth() 796 if (isflagset(client->attributes, KRB5_KDB_REQUIRES_PRE_AUTH) && in missing_required_preauth() 797 !isflagset(enc_tkt_reply->flags, TKT_FLG_PRE_AUTH)) in missing_required_preauth() 800 if (isflagset(client->attributes, KRB5_KDB_REQUIRES_HW_AUTH) && in missing_required_preauth() 801 !isflagset(enc_tkt_reply->flags, TKT_FLG_HW_AUTH)) in missing_required_preauth() [all …]
|
H A D | kdc_util.h | 185 #define isflagset(flagfield, flag) (flagfield & (flag)) macro
|