kadmind.c (120945) | kadmind.c (142403) |
---|---|
1/* 2 * Copyright (c) 1997-2002 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include "kadmin_locl.h" 35 | 1/* 2 * Copyright (c) 1997-2002 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include "kadmin_locl.h" 35 |
36RCSID("$Id: kadmind.c,v 1.28 2002/10/21 13:21:24 joda Exp $"); | 36RCSID("$Id: kadmind.c,v 1.28.2.1 2004/04/29 12:30:32 lha Exp $"); |
37 38static char *check_library = NULL; 39static char *check_function = NULL; 40static char *config_file; 41static char *keyfile; 42static char *keytab_str = "HDB:"; 43static int help_flag; 44static int version_flag; 45static int debug_flag; 46static char *port_str; 47char *realm; 48#ifdef KRB4 | 37 38static char *check_library = NULL; 39static char *check_function = NULL; 40static char *config_file; 41static char *keyfile; 42static char *keytab_str = "HDB:"; 43static int help_flag; 44static int version_flag; 45static int debug_flag; 46static char *port_str; 47char *realm; 48#ifdef KRB4 |
49int do_kerberos4 = 1; | 49int do_kerberos4 = 0; |
50#endif 51 52static struct getargs args[] = { 53 { 54 "config-file", 'c', arg_string, &config_file, 55 "location of config file", "file" 56 }, 57 { --- 12 unchanged lines hidden (view full) --- 70 "library to load password check function from", "library" }, 71 { "check-function", 0, arg_string, &check_function, 72 "password check function to load", "function" }, 73#endif 74 { "debug", 'd', arg_flag, &debug_flag, 75 "enable debugging" 76 }, 77#ifdef KRB4 | 50#endif 51 52static struct getargs args[] = { 53 { 54 "config-file", 'c', arg_string, &config_file, 55 "location of config file", "file" 56 }, 57 { --- 12 unchanged lines hidden (view full) --- 70 "library to load password check function from", "library" }, 71 { "check-function", 0, arg_string, &check_function, 72 "password check function to load", "function" }, 73#endif 74 { "debug", 'd', arg_flag, &debug_flag, 75 "enable debugging" 76 }, 77#ifdef KRB4 |
78 { "kerberos4", 0, arg_negative_flag, &do_kerberos4, | 78 { "kerberos4", 0, arg_flag, &do_kerberos4, |
79 "don't respond to kerberos 4 requests" 80 }, 81#endif 82 { "ports", 'p', arg_string, &port_str, 83 "ports to listen to", "port" }, 84 { "help", 'h', arg_flag, &help_flag }, 85 { "version", 'v', arg_flag, &version_flag } 86}; --- 92 unchanged lines hidden --- | 79 "don't respond to kerberos 4 requests" 80 }, 81#endif 82 { "ports", 'p', arg_string, &port_str, 83 "ports to listen to", "port" }, 84 { "help", 'h', arg_flag, &help_flag }, 85 { "version", 'v', arg_flag, &version_flag } 86}; --- 92 unchanged lines hidden --- |