rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

Blame SOURCES/openssh-7.4p1-gss-strict-acceptor.patch

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