Klist command.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@500 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Unknown User d91-jda
1996-05-05 04:49:55 +00:00
parent 22fcbfe2b1
commit f1978247fd
5 changed files with 129 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ static int yylex (void);
AUTH ADAT PROT PBSZ CCC MIC
CONF ENC
KAUTH
KAUTH KLIST
LEXERR
@@ -526,6 +526,10 @@ cmd
kauth($5, NULL);
free($5);
}
| SITE SP KLIST CRLF
{
klist();
}
| STOU check_login SP pathname CRLF
{
if ($2 && $4 != NULL)
@@ -900,6 +904,7 @@ struct tab sitetab[] = {
{ "HELP", HELP, OSTR, 1, "[ <sp> <string> ]" },
{ "KAUTH", KAUTH, STR1, 1, "<sp> principal [ <sp> ticket ]" },
{ "KLIST", KLIST, ARGS, 1, "(show ticket file)" },
{ NULL, 0, 0, 0, 0 }
};