version 1.9, 1999/10/02 19:18:22 |
version 1.10, 1999/10/07 21:45:02 |
|
|
options->afs_token_passing = -1; |
options->afs_token_passing = -1; |
#endif |
#endif |
options->password_authentication = -1; |
options->password_authentication = -1; |
|
#ifdef SKEY |
|
options->skey_authentication = -1; |
|
#endif |
options->permit_empty_passwd = -1; |
options->permit_empty_passwd = -1; |
options->num_allow_hosts = 0; |
options->num_allow_hosts = 0; |
options->num_deny_hosts = 0; |
options->num_deny_hosts = 0; |
|
|
#endif /* AFS */ |
#endif /* AFS */ |
if (options->password_authentication == -1) |
if (options->password_authentication == -1) |
options->password_authentication = 1; |
options->password_authentication = 1; |
|
#ifdef SKEY |
|
if (options->skey_authentication == -1) |
|
options->skey_authentication = 1; |
|
#endif |
if (options->permit_empty_passwd == -1) |
if (options->permit_empty_passwd == -1) |
options->permit_empty_passwd = 1; |
options->permit_empty_passwd = 1; |
} |
} |
|
|
#define WHITESPACE " \t\r\n" |
#define WHITESPACE " \t\r\n" |
|
|
#ifdef AFS |
#ifdef AFS |
sKerberosTgtPassing, sAFSTokenPassing, |
sKerberosTgtPassing, sAFSTokenPassing, |
#endif |
#endif |
|
#ifdef SKEY |
|
sSkeyAuthentication, |
|
#endif |
sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, |
sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, |
sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, |
sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, |
sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives |
sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives |
|
|
{ "afstokenpassing", sAFSTokenPassing }, |
{ "afstokenpassing", sAFSTokenPassing }, |
#endif |
#endif |
{ "passwordauthentication", sPasswordAuthentication }, |
{ "passwordauthentication", sPasswordAuthentication }, |
|
#ifdef SKEY |
|
{ "skeyauthentication", sSkeyAuthentication }, |
|
#endif |
{ "allowhosts", sAllowHosts }, |
{ "allowhosts", sAllowHosts }, |
{ "denyhosts", sDenyHosts }, |
{ "denyhosts", sDenyHosts }, |
{ "listenaddress", sListenAddress }, |
{ "listenaddress", sListenAddress }, |
|
|
case sPasswordAuthentication: |
case sPasswordAuthentication: |
intptr = &options->password_authentication; |
intptr = &options->password_authentication; |
goto parse_flag; |
goto parse_flag; |
|
|
|
#ifdef SKEY |
|
case sSkeyAuthentication: |
|
intptr = &options->skey_authentication; |
|
goto parse_flag; |
|
#endif |
|
|
case sPrintMotd: |
case sPrintMotd: |
intptr = &options->print_motd; |
intptr = &options->print_motd; |