add option to disable kerberos 4 kadmin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11489 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997-2001 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997-2002 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -45,6 +45,9 @@ static int version_flag;
|
||||
static int debug_flag;
|
||||
static char *port_str;
|
||||
char *realm;
|
||||
#ifdef KRB4
|
||||
int do_kerberos4 = 1;
|
||||
#endif
|
||||
|
||||
static struct getargs args[] = {
|
||||
{
|
||||
@@ -71,6 +74,11 @@ static struct getargs args[] = {
|
||||
{ "debug", 'd', arg_flag, &debug_flag,
|
||||
"enable debugging"
|
||||
},
|
||||
#ifdef KRB4
|
||||
{ "kerberos4", 0, arg_negative_flag, &do_kerberos4,
|
||||
"don't respond to kerberos 4 requests"
|
||||
},
|
||||
#endif
|
||||
{ "ports", 'p', arg_string, &port_str,
|
||||
"ports to listen to", "port" },
|
||||
{ "help", 'h', arg_flag, &help_flag },
|
||||
|
Reference in New Issue
Block a user