Lines Matching refs:entry

113  * This is the catchall entry.  If nothing else appropriate is found, or in
114 * the case where the ACL file is not present, this entry controls what can
214 * entry ::= [<whitespace>] <principal> <whitespace> <opstring>
257 ("A ACL entry %s -> opmask %x\n",
559 ("> catchall acl entry (%s) load failed\n",
574 ("> catchall acl entry (%s) load failed\n",
610 ("Too many wildcards in ACL entry %s\n", e1->data));
622 ("Too many backrefs in ACL entry %s\n", e1->data));
640 * kadm5int_acl_find_entry() - Find a matching entry.
648 aent_t *entry;
656 for (entry=acl_list_head; entry; entry = entry->ae_next) {
657 if (entry->ae_name_bad)
659 if (!strcmp(entry->ae_name, "*")) {
664 if (!entry->ae_principal && !entry->ae_name_bad) {
666 entry->ae_name,
667 &entry->ae_principal);
669 entry->ae_name_bad = 1;
671 if (entry->ae_name_bad) {
673 ("Bad ACL entry %s\n", entry->ae_name));
677 if (kadm5int_acl_match_data(&entry->ae_principal->realm,
679 (entry->ae_principal->length == principal->length)) {
682 if (!kadm5int_acl_match_data(&entry->ae_principal->data[i],
694 if (entry->ae_target && strcmp(entry->ae_target, "*")) {
695 if (!entry->ae_target_princ && !entry->ae_target_bad) {
696 kret = krb5_parse_name(kcontext, entry->ae_target,
697 &entry->ae_target_princ);
699 entry->ae_target_bad = 1;
701 if (entry->ae_target_bad) {
703 ("Bad target in ACL entry for %s\n", entry->ae_name));
704 entry->ae_name_bad = 1;
709 else if (entry->ae_target_princ && dest_princ) {
710 if (kadm5int_acl_match_data(&entry->ae_target_princ->realm,
712 (entry->ae_target_princ->length == dest_princ->length)) {
714 if (!kadm5int_acl_match_data(&entry->ae_target_princ->data[i],
728 if (entry->ae_restriction_string
729 && !entry->ae_restriction_bad
730 && !entry->ae_restrictions
731 && kadm5int_acl_parse_restrictions(entry->ae_restriction_string,
732 &entry->ae_restrictions)) {
734 ("Bad restrictions in ACL entry for %s\n", entry->ae_name));
735 entry->ae_restriction_bad = 1;
737 if (entry->ae_restriction_bad) {
738 entry->ae_name_bad = 1;
743 DPRINT(DEBUG_CALLS, acl_debug_level, ("X kadm5int_acl_find_entry()=%x\n",entry));
744 return(entry);