add delegation. From Daniel Kouril <kouril@ics.muni.cz> and Miroslav Ruda <ruda@ics.muni.cz>

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8434 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-06-21 02:46:11 +00:00
parent 744b0becee
commit 50256e4bac
8 changed files with 95 additions and 7 deletions

View File

@@ -55,8 +55,9 @@ main(int argc, char **argv)
interactive = 1;
autologin = 1;
passivemode = 0; /* passive mode not active */
use_kerberos = 1;
while ((ch = getopt(argc, argv, "dginptv")) != -1) {
while ((ch = getopt(argc, argv, "dginptvK")) != -1) {
switch (ch) {
case 'd':
options |= SO_DEBUG;
@@ -86,9 +87,14 @@ main(int argc, char **argv)
verbose++;
break;
case 'K':
/* Disable Kerberos authentication */
use_kerberos = 0;
break;
default:
fprintf(stderr,
"usage: ftp [-dginptv] [host [port]]\n");
"usage: ftp [-dginptvK] [host [port]]\n");
exit(1);
}
}