kadmin: add ext_keytab --random-key switch

Add a --random-key switch to kadmin's ext_keytab to force the generation
of a new keyset consisting of random keys and a new key version number.
This commit is contained in:
Jeffrey Altman
2015-03-16 11:28:12 -05:00
committed by Nicolas Williams
parent 34bf7ae162
commit 15e69fbb58
2 changed files with 30 additions and 11 deletions

View File

@@ -280,6 +280,12 @@ command = {
type = "string"
help = "keytab to use"
}
option = {
long = "random-key"
short = "r"
type = "flag"
help = "set random key"
}
argument = "principal..."
min_args = "1"
help = "Extracts the keys of all principals matching the expressions, and stores them in a keytab."