From dwmalone@maths.tcd.ie  Sun Feb 27 14:10:49 2000
Return-Path: <dwmalone@maths.tcd.ie>
Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11])
	by hub.freebsd.org (Postfix) with SMTP id B628937B6F5
	for <freebsd-gnats-submit@freebsd.org>; Sun, 27 Feb 2000 14:10:47 -0800 (PST)
	(envelope-from dwmalone@maths.tcd.ie)
Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP
          id <aa39429@salmon>; 27 Feb 2000 22:10:39 +0000 (GMT)
Message-Id: <200002272210.aa20085@walton.maths.tcd.ie>
Date: Sun, 27 Feb 2000 22:10:39 +0000 (GMT)
From: dwmalone@maths.tcd.ie
Sender: dwmalone@maths.tcd.ie
Reply-To: dwmalone@maths.tcd.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: IgnoreUserKnownHosts thinks it takes in int in OpenSSH.
X-Send-Pr-Version: 3.2

>Number:         17027
>Category:       bin
>Synopsis:       IgnoreUserKnownHosts thinks it takes in int in OpenSSH.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 14:20:00 PST 2000
>Closed-Date:    Wed Mar 22 01:40:59 PST 2000
>Last-Modified:  Wed Mar 22 01:41:54 PST 2000
>Originator:     David Malone
>Release:        FreeBSD 4.0-CURRENT
>Organization:
School of Mathematics, Trinity College, Dublin, Ireland.
>Environment:

4.0 with imported version of OpenSSH as of yesterday.

>Description:

If you add a line saying:

	IgnoreUserKnownHosts yes

or, indeed,

	IgnoreUserKnownHosts no

sshd says:

	/etc/ssh/sshd_config line 9: invalid integer value.

>How-To-Repeat:

See above.

>Fix:

--- servconf.c.orig     Sun Feb 27 22:03:59 2000
+++ servconf.c  Sun Feb 27 22:04:42 2000
@@ -410,7 +410,7 @@
 
                case sIgnoreUserKnownHosts:
                        intptr = &options->ignore_user_known_hosts;
-                       goto parse_int;
+                       goto parse_flag;
 
                case sRhostsAuthentication:
                        intptr = &options->rhosts_authentication;


>Release-Note:
>Audit-Trail:

From: dwmalone@maths.tcd.ie
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: bin/17027: IgnoreUserKnownHosts thinks it takes in int in OpenSSH.
Date: Sun, 27 Feb 2000 22:10:39 +0000 (GMT)

 >Number:         17027
 >Category:       bin
 >Synopsis:       IgnoreUserKnownHosts thinks it takes in int in OpenSSH.
 >Confidential:   no
 >Severity:       serious
 >Priority:       medium
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Sun Feb 27 14:20:00 PST 2000
 >Closed-Date:
 >Last-Modified:
 >Originator:     David Malone
 >Release:        FreeBSD 4.0-CURRENT
 >Organization:
 School of Mathematics, Trinity College, Dublin, Ireland.
 >Environment:
 
 4.0 with imported version of OpenSSH as of yesterday.
 
 >Description:
 
 If you add a line saying:
 
 	IgnoreUserKnownHosts yes
 
 or, indeed,
 
 	IgnoreUserKnownHosts no
 
 sshd says:
 
 	/etc/ssh/sshd_config line 9: invalid integer value.
 
 >How-To-Repeat:
 
 See above.
 
 >Fix:
 
 --- servconf.c.orig     Sun Feb 27 22:03:59 2000
 +++ servconf.c  Sun Feb 27 22:04:42 2000
 @@ -410,7 +410,7 @@
  
                 case sIgnoreUserKnownHosts:
                         intptr = &options->ignore_user_known_hosts;
 -                       goto parse_int;
 +                       goto parse_flag;
  
                 case sRhostsAuthentication:
                         intptr = &options->rhosts_authentication;
 
 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-bugs" in the body of the message
 
 
Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Feb 27 16:15:21 PST 2000 
Responsible-Changed-Why:  
Mark has been handling the OpenSSH commits. 
Responsible-Changed-From-To: markm->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Mar 22 01:40:10 PST 2000 
Responsible-Changed-Why:  
I'll take this one.  Mark doesn't need to vet every trivial fix, 
especially when the fix matches what's been done in OpenBSD. 
:-) 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Wed Mar 22 01:40:59 PST 2000 
State-Changed-Why:  
Thanks, Mr. Malone. :-) 

Committed as rev 1.4 of servconf.c and merged onto the RELENG_4 branch 
as rev 1.3.2.1. 
>Unformatted:
