version 1.118, 2003/04/09 08:23:52 |
version 1.119, 2003/05/15 01:48:10 |
|
|
options->hostbased_uses_name_from_packet_only = -1; |
options->hostbased_uses_name_from_packet_only = -1; |
options->rsa_authentication = -1; |
options->rsa_authentication = -1; |
options->pubkey_authentication = -1; |
options->pubkey_authentication = -1; |
#if defined(KRB4) || defined(KRB5) |
|
options->kerberos_authentication = -1; |
options->kerberos_authentication = -1; |
options->kerberos_or_local_passwd = -1; |
options->kerberos_or_local_passwd = -1; |
options->kerberos_ticket_cleanup = -1; |
options->kerberos_ticket_cleanup = -1; |
#endif |
|
#if defined(AFS) || defined(KRB5) |
|
options->kerberos_tgt_passing = -1; |
options->kerberos_tgt_passing = -1; |
#endif |
|
#ifdef AFS |
|
options->afs_token_passing = -1; |
options->afs_token_passing = -1; |
#endif |
|
options->password_authentication = -1; |
options->password_authentication = -1; |
options->kbd_interactive_authentication = -1; |
options->kbd_interactive_authentication = -1; |
options->challenge_response_authentication = -1; |
options->challenge_response_authentication = -1; |
|
|
options->rsa_authentication = 1; |
options->rsa_authentication = 1; |
if (options->pubkey_authentication == -1) |
if (options->pubkey_authentication == -1) |
options->pubkey_authentication = 1; |
options->pubkey_authentication = 1; |
#if defined(KRB4) || defined(KRB5) |
|
if (options->kerberos_authentication == -1) |
if (options->kerberos_authentication == -1) |
options->kerberos_authentication = 0; |
options->kerberos_authentication = 0; |
if (options->kerberos_or_local_passwd == -1) |
if (options->kerberos_or_local_passwd == -1) |
options->kerberos_or_local_passwd = 1; |
options->kerberos_or_local_passwd = 1; |
if (options->kerberos_ticket_cleanup == -1) |
if (options->kerberos_ticket_cleanup == -1) |
options->kerberos_ticket_cleanup = 1; |
options->kerberos_ticket_cleanup = 1; |
#endif |
|
#if defined(AFS) || defined(KRB5) |
|
if (options->kerberos_tgt_passing == -1) |
if (options->kerberos_tgt_passing == -1) |
options->kerberos_tgt_passing = 0; |
options->kerberos_tgt_passing = 0; |
#endif |
|
#ifdef AFS |
|
if (options->afs_token_passing == -1) |
if (options->afs_token_passing == -1) |
options->afs_token_passing = 0; |
options->afs_token_passing = 0; |
#endif |
|
if (options->password_authentication == -1) |
if (options->password_authentication == -1) |
options->password_authentication = 1; |
options->password_authentication = 1; |
if (options->kbd_interactive_authentication == -1) |
if (options->kbd_interactive_authentication == -1) |
|
|
sPort, sHostKeyFile, sServerKeyBits, sLoginGraceTime, sKeyRegenerationTime, |
sPort, sHostKeyFile, sServerKeyBits, sLoginGraceTime, sKeyRegenerationTime, |
sPermitRootLogin, sLogFacility, sLogLevel, |
sPermitRootLogin, sLogFacility, sLogLevel, |
sRhostsAuthentication, sRhostsRSAAuthentication, sRSAAuthentication, |
sRhostsAuthentication, sRhostsRSAAuthentication, sRSAAuthentication, |
#if defined(KRB4) || defined(KRB5) |
|
sKerberosAuthentication, sKerberosOrLocalPasswd, sKerberosTicketCleanup, |
sKerberosAuthentication, sKerberosOrLocalPasswd, sKerberosTicketCleanup, |
#endif |
sKerberosTgtPassing, sAFSTokenPassing, sChallengeResponseAuthentication, |
#if defined(AFS) || defined(KRB5) |
|
sKerberosTgtPassing, |
|
#endif |
|
#ifdef AFS |
|
sAFSTokenPassing, |
|
#endif |
|
sChallengeResponseAuthentication, |
|
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
|
|
{ "rsaauthentication", sRSAAuthentication }, |
{ "rsaauthentication", sRSAAuthentication }, |
{ "pubkeyauthentication", sPubkeyAuthentication }, |
{ "pubkeyauthentication", sPubkeyAuthentication }, |
{ "dsaauthentication", sPubkeyAuthentication }, /* alias */ |
{ "dsaauthentication", sPubkeyAuthentication }, /* alias */ |
#if defined(KRB4) || defined(KRB5) |
|
{ "kerberosauthentication", sKerberosAuthentication }, |
{ "kerberosauthentication", sKerberosAuthentication }, |
{ "kerberosorlocalpasswd", sKerberosOrLocalPasswd }, |
{ "kerberosorlocalpasswd", sKerberosOrLocalPasswd }, |
{ "kerberosticketcleanup", sKerberosTicketCleanup }, |
{ "kerberosticketcleanup", sKerberosTicketCleanup }, |
#endif |
|
#if defined(AFS) || defined(KRB5) |
|
{ "kerberostgtpassing", sKerberosTgtPassing }, |
{ "kerberostgtpassing", sKerberosTgtPassing }, |
#endif |
|
#ifdef AFS |
|
{ "afstokenpassing", sAFSTokenPassing }, |
{ "afstokenpassing", sAFSTokenPassing }, |
#endif |
|
{ "passwordauthentication", sPasswordAuthentication }, |
{ "passwordauthentication", sPasswordAuthentication }, |
{ "kbdinteractiveauthentication", sKbdInteractiveAuthentication }, |
{ "kbdinteractiveauthentication", sKbdInteractiveAuthentication }, |
{ "challengeresponseauthentication", sChallengeResponseAuthentication }, |
{ "challengeresponseauthentication", sChallengeResponseAuthentication }, |
|
|
case sPubkeyAuthentication: |
case sPubkeyAuthentication: |
intptr = &options->pubkey_authentication; |
intptr = &options->pubkey_authentication; |
goto parse_flag; |
goto parse_flag; |
#if defined(KRB4) || defined(KRB5) |
|
case sKerberosAuthentication: |
case sKerberosAuthentication: |
intptr = &options->kerberos_authentication; |
intptr = &options->kerberos_authentication; |
goto parse_flag; |
goto parse_flag; |
|
|
case sKerberosTicketCleanup: |
case sKerberosTicketCleanup: |
intptr = &options->kerberos_ticket_cleanup; |
intptr = &options->kerberos_ticket_cleanup; |
goto parse_flag; |
goto parse_flag; |
#endif |
|
#if defined(AFS) || defined(KRB5) |
|
case sKerberosTgtPassing: |
case sKerberosTgtPassing: |
intptr = &options->kerberos_tgt_passing; |
intptr = &options->kerberos_tgt_passing; |
goto parse_flag; |
goto parse_flag; |
#endif |
|
#ifdef AFS |
|
case sAFSTokenPassing: |
case sAFSTokenPassing: |
intptr = &options->afs_token_passing; |
intptr = &options->afs_token_passing; |
goto parse_flag; |
goto parse_flag; |
#endif |
|
|
|
case sPasswordAuthentication: |
case sPasswordAuthentication: |
intptr = &options->password_authentication; |
intptr = &options->password_authentication; |