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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user