jonathancammack / rpms / openssh

Forked from rpms/openssh 8 months ago
Clone
b58e57
From 13bd2e2d622d01dc85d22b94520a5b243d006049 Mon Sep 17 00:00:00 2001
b58e57
From: "djm@openbsd.org" <djm@openbsd.org>
b58e57
Date: Fri, 6 Jan 2017 03:45:41 +0000
b58e57
Subject: [PATCH] upstream commit
b58e57
b58e57
sshd_config is documented to set
b58e57
GSSAPIStrictAcceptorCheck=yes by default, so actually make it do this.
b58e57
bz#2637 ok dtucker
b58e57
b58e57
Upstream-ID: 99ef8ac51f17f0f7aec166cb2e34228d4d72a665
b58e57
---
b58e57
 servconf.c | 4 ++--
b58e57
 1 file changed, 2 insertions(+), 2 deletions(-)
b58e57
b58e57
diff --git a/servconf.c b/servconf.c
b58e57
index 795ddbab7..c9105a592 100644
b58e57
--- a/servconf.c
b58e57
+++ b/servconf.c
b58e57
@@ -270,7 +270,7 @@ fill_default_server_options(ServerOptions *options)
b58e57
 	if (options->gss_cleanup_creds == -1)
b58e57
 		options->gss_cleanup_creds = 1;
b58e57
 	if (options->gss_strict_acceptor == -1)
b58e57
-		options->gss_strict_acceptor = 0;
b58e57
+		options->gss_strict_acceptor = 1;
b58e57
 	if (options->gss_store_rekey == -1)
b58e57
 		options->gss_store_rekey = 0;
b58e57
 	if (options->password_authentication == -1)
b58e57