validator.py is a tool to validate kerb configuration files.
authorZhanna Tsitkov <tsitkova@mit.edu>
Wed, 17 Feb 2010 16:09:43 +0000 (16:09 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Wed, 17 Feb 2010 16:09:43 +0000 (16:09 +0000)
commit5203b73dec49be46bab8eab12bed55655792642f
tree3d2918f430bfe7d30817e136965fae2a41cd7205
parent5a0bf5c4f29717a18cba44ddbdc9f3b564b88976
validator.py is a tool to validate kerb configuration files.
First, the configuration file is parsed (confparser.py) and validated against formating errors (such as mismatching brackets)
Then the list of the allowed configuration attributes is compiled from k5-int.h and rules.yml
Finally, the kerb configuration file is validated against the list of the allowed strings.
If the error, or something that validator does not understand, is found the warning is issued in the tree-like form indicating the layer where the problem has occurred.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23732 dc483132-0cff-0310-8789-dd5450dbe970
src/util/confvalidator/README [new file with mode: 0644]
src/util/confvalidator/confparser.py [new file with mode: 0644]
src/util/confvalidator/rules.yml [new file with mode: 0644]
src/util/confvalidator/validator.conf [new file with mode: 0644]
src/util/confvalidator/validator.py [new file with mode: 0644]