Add -F to kinit for compatibility with MIT Kerberos.

This commit is contained in:
Roland C. Dowdeswell
2013-02-02 05:42:05 +08:00
parent 0c2e3d94bf
commit a952dc2c52
2 changed files with 5 additions and 4 deletions

View File

@@ -99,9 +99,10 @@ Supported options:
.It Fl c Ar cachename Fl Fl cache= Ns Ar cachename .It Fl c Ar cachename Fl Fl cache= Ns Ar cachename
The credentials cache to put the acquired ticket in, if other than The credentials cache to put the acquired ticket in, if other than
default. default.
.It Fl f Fl Fl no-forwardable .It Fl f Fl Fl forwardable
Get ticket that can be forwarded to another host, or if the negative Obtain a ticket than can be forwarded to another host.
flags use, don't get a forwardable flag. .It Fl F Fl Fl no-forwardable
Do not obtain a forwardable ticket.
.It Fl t Ar keytabname , Fl Fl keytab= Ns Ar keytabname .It Fl t Ar keytabname , Fl Fl keytab= Ns Ar keytabname
Don't ask for a password, but instead get the key from the specified Don't ask for a password, but instead get the key from the specified
keytab. keytab.

View File

@@ -102,7 +102,7 @@ static struct getargs args[] = {
{ "cache", 'c', arg_string, &cred_cache, { "cache", 'c', arg_string, &cred_cache,
NP_("credentials cache", ""), "cachename" }, NP_("credentials cache", ""), "cachename" },
{ "forwardable", 0, arg_negative_flag, &forwardable_flag, { "forwardable", 'F', arg_negative_flag, &forwardable_flag,
NP_("get tickets not forwardable", ""), NULL }, NP_("get tickets not forwardable", ""), NULL },
{ NULL, 'f', arg_flag, &forwardable_flag, { NULL, 'f', arg_flag, &forwardable_flag,