version 1.38, 2000/05/03 18:03:06 |
version 1.39, 2000/05/06 17:45:36 |
|
|
options->rhosts_authentication = -1; |
options->rhosts_authentication = -1; |
options->rhosts_rsa_authentication = -1; |
options->rhosts_rsa_authentication = -1; |
options->rsa_authentication = -1; |
options->rsa_authentication = -1; |
|
options->dsa_authentication = -1; |
#ifdef KRB4 |
#ifdef KRB4 |
options->kerberos_authentication = -1; |
options->kerberos_authentication = -1; |
options->kerberos_or_local_passwd = -1; |
options->kerberos_or_local_passwd = -1; |
|
|
options->rhosts_rsa_authentication = 0; |
options->rhosts_rsa_authentication = 0; |
if (options->rsa_authentication == -1) |
if (options->rsa_authentication == -1) |
options->rsa_authentication = 1; |
options->rsa_authentication = 1; |
|
if (options->dsa_authentication == -1) |
|
options->dsa_authentication = 1; |
#ifdef KRB4 |
#ifdef KRB4 |
if (options->kerberos_authentication == -1) |
if (options->kerberos_authentication == -1) |
options->kerberos_authentication = (access(KEYFILE, R_OK) == 0); |
options->kerberos_authentication = (access(KEYFILE, R_OK) == 0); |
|
|
sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, |
sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, |
sUseLogin, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sUseLogin, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sIgnoreUserKnownHosts, sHostDSAKeyFile, sCiphers, sProtocol, sPidFile, |
sIgnoreUserKnownHosts, sHostDSAKeyFile, sCiphers, sProtocol, sPidFile, |
sGatewayPorts |
sGatewayPorts, sDSAAuthentication |
} ServerOpCodes; |
} ServerOpCodes; |
|
|
/* Textual representation of the tokens. */ |
/* Textual representation of the tokens. */ |
|
|
{ "rhostsauthentication", sRhostsAuthentication }, |
{ "rhostsauthentication", sRhostsAuthentication }, |
{ "rhostsrsaauthentication", sRhostsRSAAuthentication }, |
{ "rhostsrsaauthentication", sRhostsRSAAuthentication }, |
{ "rsaauthentication", sRSAAuthentication }, |
{ "rsaauthentication", sRSAAuthentication }, |
|
{ "dsaauthentication", sDSAAuthentication }, |
#ifdef KRB4 |
#ifdef KRB4 |
{ "kerberosauthentication", sKerberosAuthentication }, |
{ "kerberosauthentication", sKerberosAuthentication }, |
{ "kerberosorlocalpasswd", sKerberosOrLocalPasswd }, |
{ "kerberosorlocalpasswd", sKerberosOrLocalPasswd }, |
|
|
|
|
case sRSAAuthentication: |
case sRSAAuthentication: |
intptr = &options->rsa_authentication; |
intptr = &options->rsa_authentication; |
|
goto parse_flag; |
|
|
|
case sDSAAuthentication: |
|
intptr = &options->dsa_authentication; |
goto parse_flag; |
goto parse_flag; |
|
|
#ifdef KRB4 |
#ifdef KRB4 |