summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/kadmin/kadmind.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/kadmin/kadmind.c')
-rw-r--r--crypto/heimdal/kadmin/kadmind.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/crypto/heimdal/kadmin/kadmind.c b/crypto/heimdal/kadmin/kadmind.c
index c8fe8ec..5ef6349 100644
--- a/crypto/heimdal/kadmin/kadmind.c
+++ b/crypto/heimdal/kadmin/kadmind.c
@@ -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.
*
@@ -33,7 +33,7 @@
#include "kadmin_locl.h"
-RCSID("$Id: kadmind.c,v 1.27 2001/05/14 06:16:41 assar Exp $");
+RCSID("$Id: kadmind.c,v 1.27.6.1 2002/10/21 14:53:39 joda Exp $");
static char *check_library = NULL;
static char *check_function = NULL;
@@ -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 },
OpenPOWER on IntegriCloud