|
Lines 115-120
initialize_server_options(ServerOptions *options)
Link Here
|
| 115 |
options->kerberos_get_afs_token = -1; |
115 |
options->kerberos_get_afs_token = -1; |
| 116 |
options->gss_authentication=-1; |
116 |
options->gss_authentication=-1; |
| 117 |
options->gss_cleanup_creds = -1; |
117 |
options->gss_cleanup_creds = -1; |
|
|
118 |
options->gss_set_env = -1; |
| 118 |
options->password_authentication = -1; |
119 |
options->password_authentication = -1; |
| 119 |
options->kbd_interactive_authentication = -1; |
120 |
options->kbd_interactive_authentication = -1; |
| 120 |
options->challenge_response_authentication = -1; |
121 |
options->challenge_response_authentication = -1; |
|
Lines 271-276
fill_default_server_options(ServerOptions *options)
Link Here
|
| 271 |
options->gss_authentication = 0; |
272 |
options->gss_authentication = 0; |
| 272 |
if (options->gss_cleanup_creds == -1) |
273 |
if (options->gss_cleanup_creds == -1) |
| 273 |
options->gss_cleanup_creds = 1; |
274 |
options->gss_cleanup_creds = 1; |
|
|
275 |
if (options->gss_set_env == -1) |
| 276 |
options->gss_set_env = 0; |
| 274 |
if (options->password_authentication == -1) |
277 |
if (options->password_authentication == -1) |
| 275 |
options->password_authentication = 1; |
278 |
options->password_authentication = 1; |
| 276 |
if (options->kbd_interactive_authentication == -1) |
279 |
if (options->kbd_interactive_authentication == -1) |
|
Lines 392-397
typedef enum {
Link Here
|
| 392 |
sHostbasedUsesNameFromPacketOnly, sHostbasedAcceptedKeyTypes, |
395 |
sHostbasedUsesNameFromPacketOnly, sHostbasedAcceptedKeyTypes, |
| 393 |
sClientAliveInterval, sClientAliveCountMax, sAuthorizedKeysFile, |
396 |
sClientAliveInterval, sClientAliveCountMax, sAuthorizedKeysFile, |
| 394 |
sGssAuthentication, sGssCleanupCreds, sAcceptEnv, sPermitTunnel, |
397 |
sGssAuthentication, sGssCleanupCreds, sAcceptEnv, sPermitTunnel, |
|
|
398 |
sGssSetEnv, |
| 395 |
sMatch, sPermitOpen, sForceCommand, sChrootDirectory, |
399 |
sMatch, sPermitOpen, sForceCommand, sChrootDirectory, |
| 396 |
sUsePrivilegeSeparation, sAllowAgentForwarding, |
400 |
sUsePrivilegeSeparation, sAllowAgentForwarding, |
| 397 |
sHostCertificate, |
401 |
sHostCertificate, |
|
Lines 462-470
static struct {
Link Here
|
| 462 |
#ifdef GSSAPI |
466 |
#ifdef GSSAPI |
| 463 |
{ "gssapiauthentication", sGssAuthentication, SSHCFG_ALL }, |
467 |
{ "gssapiauthentication", sGssAuthentication, SSHCFG_ALL }, |
| 464 |
{ "gssapicleanupcredentials", sGssCleanupCreds, SSHCFG_GLOBAL }, |
468 |
{ "gssapicleanupcredentials", sGssCleanupCreds, SSHCFG_GLOBAL }, |
|
|
469 |
{ "gssapisetenv", sGssSetEnv, SSHCFG_GLOBAL }, |
| 465 |
#else |
470 |
#else |
| 466 |
{ "gssapiauthentication", sUnsupported, SSHCFG_ALL }, |
471 |
{ "gssapiauthentication", sUnsupported, SSHCFG_ALL }, |
| 467 |
{ "gssapicleanupcredentials", sUnsupported, SSHCFG_GLOBAL }, |
472 |
{ "gssapicleanupcredentials", sUnsupported, SSHCFG_GLOBAL }, |
|
|
473 |
{ "gssapisetenv", sUnsupported, SSHCFG_ALL }, |
| 468 |
#endif |
474 |
#endif |
| 469 |
{ "passwordauthentication", sPasswordAuthentication, SSHCFG_ALL }, |
475 |
{ "passwordauthentication", sPasswordAuthentication, SSHCFG_ALL }, |
| 470 |
{ "kbdinteractiveauthentication", sKbdInteractiveAuthentication, SSHCFG_ALL }, |
476 |
{ "kbdinteractiveauthentication", sKbdInteractiveAuthentication, SSHCFG_ALL }, |
|
Lines 1170-1175
process_server_config_line(ServerOptions *options, char *line,
Link Here
|
| 1170 |
intptr = &options->gss_cleanup_creds; |
1176 |
intptr = &options->gss_cleanup_creds; |
| 1171 |
goto parse_flag; |
1177 |
goto parse_flag; |
| 1172 |
|
1178 |
|
|
|
1179 |
case sGssSetEnv: |
| 1180 |
intptr = &options->gss_set_env; |
| 1181 |
goto parse_flag; |
| 1182 |
|
| 1173 |
case sPasswordAuthentication: |
1183 |
case sPasswordAuthentication: |
| 1174 |
intptr = &options->password_authentication; |
1184 |
intptr = &options->password_authentication; |
| 1175 |
goto parse_flag; |
1185 |
goto parse_flag; |