Lines Matching defs:entry

114  * This is the catchall entry.  If nothing else appropriate is found, or in
115 * the case where the ACL file is not present, this entry controls what can
213 * entry ::= [<whitespace>] <principal> <whitespace> <opstring>
257 ("A ACL entry %s -> opmask %x\n",
553 ("> catchall acl entry (%s) load failed\n",
568 ("> catchall acl entry (%s) load failed\n",
604 ("Too many wildcards in ACL entry %s\n", e1->data));
616 ("Too many backrefs in ACL entry %s\n", e1->data));
634 * kadm5int_acl_find_entry() - Find a matching entry.
642 aent_t *entry;
650 for (entry=acl_list_head; entry; entry = entry->ae_next) {
651 if (entry->ae_name_bad)
653 if (!strcmp(entry->ae_name, "*")) {
658 if (!entry->ae_principal && !entry->ae_name_bad) {
660 entry->ae_name,
661 &entry->ae_principal);
663 entry->ae_name_bad = 1;
665 if (entry->ae_name_bad) {
667 ("Bad ACL entry %s\n", entry->ae_name));
671 if (kadm5int_acl_match_data(&entry->ae_principal->realm,
673 (entry->ae_principal->length == principal->length)) {
676 if (!kadm5int_acl_match_data(&entry->ae_principal->data[i],
688 if (entry->ae_target && strcmp(entry->ae_target, "*")) {
689 if (!entry->ae_target_princ && !entry->ae_target_bad) {
690 kret = krb5_parse_name(kcontext, entry->ae_target,
691 &entry->ae_target_princ);
693 entry->ae_target_bad = 1;
695 if (entry->ae_target_bad) {
697 ("Bad target in ACL entry for %s\n", entry->ae_name));
698 entry->ae_name_bad = 1;
703 else if (entry->ae_target_princ && dest_princ) {
704 if (kadm5int_acl_match_data(&entry->ae_target_princ->realm,
706 (entry->ae_target_princ->length == dest_princ->length)) {
708 if (!kadm5int_acl_match_data(&entry->ae_target_princ->data[i],
722 if (entry->ae_restriction_string
723 && !entry->ae_restriction_bad
724 && !entry->ae_restrictions
725 && kadm5int_acl_parse_restrictions(entry->ae_restriction_string,
726 &entry->ae_restrictions)) {
728 ("Bad restrictions in ACL entry for %s\n", entry->ae_name));
729 entry->ae_restriction_bad = 1;
731 if (entry->ae_restriction_bad) {
732 entry->ae_name_bad = 1;
737 DPRINT(DEBUG_CALLS, acl_debug_level, ("X kadm5int_acl_find_entry()=%x\n",entry));
738 return(entry);