[augeas-devel] Lens for /etc/krb5.conf

David Lutterkort lutter at redhat.com
Fri Mar 27 21:02:49 UTC 2009


This is a lens for /etc/krb5.conf - initially, I thought that it was
impossible to write one, because of all the nesting of '{ .. }' sections
that can happen in the file.

The lens makes a couple of assumptions, most notably, that realm names
match the regexp /[.A-Z]+/ - that's not strictly required, but seems to
work for all the files I've looked at.

There are also a few places where we probably do not allow deep enough
nesting, but again, the files I can get my hands on all work.

David




More information about the augeas-devel mailing list