Subject: Re: bin/30750: ssh gives bogus complaint when gssapi authentication fails
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 08/17/2005 21:21:02
The following reply was made to PR bin/30750; it has been noted by GNATS.
From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/30750: ssh gives bogus complaint when gssapi authentication fails
Date: Thu, 18 Aug 2005 09:19:40 +1200
I found out what was going on here. The problem is that the instance of
readconf.c that is linked into ssh-keysign is compiled with different
defines than the instance in ssh so ssh-keysign will complain about config
files that ssh is happy with. The following patch fixes this:
Index: Makefile
===================================================================
RCS file: /src/cvs/netbsd/src/usr.bin/ssh/ssh-keysign/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 3 Jan 2005 06:05:51 -0000 1.7
+++ Makefile 17 Aug 2005 11:52:22 -0000
@@ -10,4 +10,15 @@
BINMODE=4555
BINDIR= /usr/libexec
+.if (${USE_KERBEROS} != "no")
+
+CPPFLAGS+=-DGSSAPI
+CPPFLAGS+=-DKRB5 -DAFS
+
+.if ${MKKERBEROS4} != "no"
+CPPFLAGS+=-DKRB4
+.endif
+
+.endif
+
.include <bsd.prog.mk>