[1123] in Kerberos-V5-bugs
A partial patch for the bug report I just sent in
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Thu Mar 9 11:23:55 1995
From: "Jonathan I. Kamens" <jik@cam.ov.com>
Date: Thu, 9 Mar 1995 11:26:53 -0500
To: krb5-bugs@MIT.EDU
I'm not familiar enough with configure to be able to give you patches
for that, but here's how I would change include/krb5/Makefile.in and
include/krb5/stock/osconf.h to do what I'm proposing. If you were to
modify configure to allow KRB5CONFDIR to be set from it, you would
replace "/etc" in my patch with "@KRB5CONFDIR@".
--- include/krb5/stock/osconf.h 1995/03/09 16:23:45 1.1
+++ include/krb5/stock/osconf.h 1995/03/09 16:23:59
@@ -51,9 +51,9 @@
#define USE_DBM_LNAME /* Use a DBM database for the aname/lname
conversion */
-#define DEFAULT_CONFIG_FILENAME "@KRB5ROOT/krb.conf"
-#define DEFAULT_TRANS_FILENAME "@KRB5ROOT/krb.realms"
-#define DEFAULT_LNAME_FILENAME "@KRB5ROOT/aname"
+#define DEFAULT_CONFIG_FILENAME "@KRB5CONFDIR/krb.conf"
+#define DEFAULT_TRANS_FILENAME "@KRB5CONFDIR/krb.realms"
+#define DEFAULT_LNAME_FILENAME "@KRB5CONFDIR/aname"
#define DEFAULT_KEYTAB_NAME "FILE:@KRB5SRVTABDIR/v5srvtab"
#define DEFAULT_KDB_FILE "@KDB5DIR/principal"
--- include/krb5/Makefile.in 1995/03/09 16:05:24 1.2
+++ include/krb5/Makefile.in 1995/03/09 16:24:32
@@ -1,5 +1,6 @@
KDB5DIR = $(KRB5ROOT)
KRB5SRVTABDIR = /etc
+KRB5CONFDIR = /etc
KRB5_HEADERS = asn1.h base-defs.h ccache.h crc-32.h encryption.h \
error_def.h errors.h ext-proto.h fieldbits.h \
@@ -37,6 +38,7 @@
PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \
-e "s+@KDB5DIR+$(KDB5DIR)+" \
-e "s+@KRB5SRVTABDIR+${KRB5SRVTABDIR}+" \
+ -e "s+@KRB5CONFDIR+${KRB5CONFDIR}+" \
-e "/UnifdefRan/,/SPLIT-HERE/d"
OSCONFSRC = $(srcdir)/stock/osauto.h $(srcdir)/stock/osconf.h