Home
last modified time | relevance | path

Searched refs:isflagset (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c225 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 Ddo_tgs_req.c227 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 Ddo_as_req.c210 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 Dpolicy.c64 if (isflagset(request->kdc_options, KDC_OPT_FORWARDED)) { in against_local_policy_tgs()
H A Dkdc_preauth.c782 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 Dkdc_util.h185 #define isflagset(flagfield, flag) (flagfield & (flag)) macro