(args): add gss-bindings

(main): set ftp_do_gss_bindings to 1 to make client use them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12457 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-07-19 09:49:28 +00:00
parent 5c9001d9a1
commit 579b0037e6

View File

@@ -59,6 +59,8 @@ struct getargs getargs[] = {
"passive mode", NULL}, "passive mode", NULL},
{ NULL, 't', arg_counter, &trace, { NULL, 't', arg_counter, &trace,
"Packet tracing", NULL}, "Packet tracing", NULL},
{ "gss-bindings", 0, arg_negative_flag, &ftp_do_gss_bindings,
"Use GSS-API bindings", NULL},
{ NULL, 'v', arg_counter, &verbose, { NULL, 'v', arg_counter, &verbose,
"verbosity", NULL}, "verbosity", NULL},
{ NULL, 'K', arg_negative_flag, &use_kerberos, { NULL, 'K', arg_negative_flag, &use_kerberos,
@@ -96,6 +98,7 @@ main(int argc, char **argv)
lineedit = 1; lineedit = 1;
passivemode = 0; /* passive mode not active */ passivemode = 0; /* passive mode not active */
use_kerberos = 1; use_kerberos = 1;
ftp_do_gss_bindings = 1;
if(getarg(getargs, num_args, argc, argv, &optind)) if(getarg(getargs, num_args, argc, argv, &optind))
usage(1); usage(1);