wallet-report

(Report on keytabs in the wallet database)

SYNOPSIS

wallet-report [-hm]

DESCRIPTION

Obtains a list of keytab objects in the wallet database and produces a report of the types of principals contained therein and the total number of principals registered. This report is sent to standard output by default, but see -m below.

The classifications of srvtabs are determined by a set of patterns at the beginning of this script. Modify it to add new classifications.

OPTIONS

-h, --help

Print out this documentation (which is done simply by feeding the script to perldoc -t).

-m, --mail

Rather than printing the report to standard output, send the report via e-mail to the address set at the beginning of this script and also archive a copy under /afs/ir/dept/itss/infrastructure/reports.

FILES

/afs/ir/dept/itss/infrastructure/reports

The root directory for archived reports. Archived reports will be saved under this directory in a subdirectory for the year, the month, and kerberos, under the name wallet. In other words, for a report run in March of 2003, the report will be saved in the file:

    /afs/ir/dept/itss/infrastructure/reports/2003/03/kerberos/srvtabs

NOTES

Considerably more information could potentially be reported than is currently here. In particular, keytabs that have never been downloaded are not distinguished from those that have, the number of keytabs downloaded is not separately reported, and there aren't any statistics on how recently the keytabs were downloaded. These could be useful areas of future development.

AUTHOR

Russ Allbery <rra@stanford.edu>

Last spun 2008-02-21 from POD modified 2008-02-19