]> git.ipfire.org Git - thirdparty/krb5.git/commit
Parse all kadm5.acl fields at startup 671/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 21 Jun 2017 04:54:32 +0000 (00:54 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 3 Jul 2017 00:57:48 +0000 (20:57 -0400)
commit83d47cda7412c3b41a2da4da14e6162a0e9f2630
tree6ad6a31cf2a8d094275890e20539e330e17b0eed
parent0def80f767b9a2cdfbc19d3a61433d1edd7a7998
Parse all kadm5.acl fields at startup

Parse the client principal name, target principal name, and
restrictions field of kadm5.acl entries when the file is loaded, not
later on when an attempt is made to match the entry.

This change affects the error-handling behavior of kadm5.acl files.
Previously, a syntax error in the line structure (such as having only
one field) would cause the whole file to be rejected, but an error
within a principal name or restrictions string would cause only that
entry to be discarded.  After this change, any parsing failure will
cause the whole file to be rejected.

ticket: 8592 (new)
src/kadmin/server/auth_acl.c