Lines Matching defs:reason
286 const char *reason = NULL;
309 if ((opts = sshauthopt_parse(line_opts, &reason)) == NULL) {
310 debug("%s: bad principals options: %s", loc, reason);
311 auth_debug_add("%s: bad principals options: %s", loc, reason);
570 const char *reason = NULL;
588 reason = "invalid key option string";
599 if ((keyopts = sshauthopt_parse(key_options, &reason)) == NULL) {
600 debug("%s: bad key options: %s", loc, reason);
601 auth_debug_add("%s: bad key options: %s", loc, reason);
626 reason = "Refused by key options";
644 reason = "Invalid certificate options";
648 reason = "Refused by certificate options";
651 if ((finalopts = sshauthopt_merge(keyopts, certopts, &reason)) == NULL)
661 reason = "Certificate does not contain an authorized principal";
665 keyopts->cert_principals == NULL ? pw->pw_name : NULL, &reason) != 0)
686 error("%s", reason);
687 auth_debug_add("%s", reason);
738 const char *reason;
778 reason = "Certificate does not contain an authorized principal";
784 use_authorized_principals ? NULL : pw->pw_name, &reason) != 0)
789 reason = "Invalid certificate options";
793 reason = "Refused by certificate options";
802 reason = "Refused by certificate principals options";
806 cert_opts, &reason)) == NULL) {
808 error("%s", reason);
809 auth_debug_add("%s", reason);