summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/appl/ftp/ftp/cmdtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/appl/ftp/ftp/cmdtab.c')
-rw-r--r--crypto/heimdal/appl/ftp/ftp/cmdtab.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/crypto/heimdal/appl/ftp/ftp/cmdtab.c b/crypto/heimdal/appl/ftp/ftp/cmdtab.c
index 5dc96ef..1c65e71 100644
--- a/crypto/heimdal/appl/ftp/ftp/cmdtab.c
+++ b/crypto/heimdal/appl/ftp/ftp/cmdtab.c
@@ -105,11 +105,18 @@ char userhelp[] = "send new user information";
char verbosehelp[] = "toggle verbose mode";
char prothelp[] = "set protection level";
+char prothelp_c[] = "set command protection level";
#ifdef KRB4
char kauthhelp[] = "get remote tokens";
+#endif
+#if defined(KRB4) || defined(KRB5)
char klisthelp[] = "show remote tickets";
+#endif
+#ifdef KRB4
char kdestroyhelp[] = "destroy remote tickets";
char krbtkfilehelp[] = "set filename of remote tickets";
+#endif
+#if defined(KRB4) || defined(KRB5)
char afsloghelp[] = "obtain remote AFS tokens";
#endif
@@ -187,12 +194,20 @@ struct cmd cmdtab[] = {
{ "verbose", verbosehelp, 0, 0, 0, setverbose },
{ "?", helphelp, 0, 0, 1, help },
- { "prot", prothelp, 0, 1, 0, sec_prot },
+ { "protect", prothelp, 0, 1, 0, sec_prot },
+ /* what MIT uses */
+ { "cprotect", prothelp_c, 0, 1, 1, sec_prot_command },
#ifdef KRB4
{ "kauth", kauthhelp, 0, 1, 0, kauth },
+#endif
+#if defined(KRB4) || defined(KRB5)
{ "klist", klisthelp, 0, 1, 0, klist },
+#endif
+#ifdef KRB4
{ "kdestroy", kdestroyhelp, 0, 1, 0, kdestroy },
{ "krbtkfile", krbtkfilehelp, 0, 1, 0, krbtkfile },
+#endif
+#if defined(KRB4) || defined(KRB5)
{ "afslog", afsloghelp, 0, 1, 0, afslog },
#endif
OpenPOWER on IntegriCloud