config file verification tool

Zhanna Tsitkova tsitkova at MIT.EDU
Wed Feb 24 08:44:47 EST 2010

A new kerberos configuration file validation tool is now checked-in under src/util/confvalidator/

First, the configuration file is parsed ( and validated against formating errors (such as mismatching brackets)
Then the list of the allowed configuration attributes is compiled from k5-int.h ( based on KRB5_CONF_xxx macros in 1.8 ) and rules.yml ("Attributes:" section)
Finally, the kerberos configuration file is validated against this list of the allowed strings.
If the error, or something that validator does not understand, is found then the warning is issued in the tree-like form indicating the layer where the problem has occurred.

Your comments/feedback will be very much appreciated.


More information about the krbdev mailing list