[5443] in Moira
Small typo in kname_unparse.c
daemon@ATHENA.MIT.EDU (Evan Broder)
Sat Jun 20 18:44:24 2009
Message-ID: <4A3D6633.3000401@mit.edu>
Date: Sat, 20 Jun 2009 15:44:03 -0700
From: Evan Broder <broder@MIT.EDU>
MIME-Version: 1.0
To: moiradev@mit.edu
Content-Type: multipart/mixed;
boundary="------------090506040504060705030508"
This is a multi-part message in MIME format.
--------------090506040504060705030508
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi-
Looks like a small bug crept into the build-without-krb4 patches to
kname_unparse.c - the #ifdef around including krb.h is HAVE_KRB5 but
should be HAVE_KRB4. Patch attached.
- Evan
--------------090506040504060705030508
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
name="krb4less-kname-unparse-fix.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="krb4less-kname-unparse-fix.patch"
Index: lib/kname_unparse.c
===================================================================
RCS file: /mit/moiradev/repository/moira/lib/kname_unparse.c,v
retrieving revision 1.6
diff -u -r1.6 kname_unparse.c
--- lib/kname_unparse.c 4 May 2009 20:49:11 -0000 1.6
+++ lib/kname_unparse.c 20 Jun 2009 22:42:48 -0000
@@ -13,7 +13,7 @@
#include <stdio.h>
-#ifdef HAVE_KRB5
+#ifdef HAVE_KRB4
#include <krb.h>
#else
#include <mr_krb.h>
--------------090506040504060705030508--