From b43743d44700175572dfcb186c18e91c3771c034 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Tue, 30 May 1995 17:38:16 +0000 Subject: Changes to get kadm working on the PC git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5915 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 6 ++++++ src/include/krb5/adm_proto.h | 2 ++ src/include/krb5/k5-config.h | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index dd9b6a195..43b57d53c 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,9 @@ +Tue May 30 10:22:57 1995 Keith Vetter (keithv@fusion.com) + + * adm_proto.h: conditionally removed for Windows two prototypes + that use the database. + * k5-config.h: bumped MAXPATHLEN and removed need for the kdb.h file. + Fri May 26 10:17:12 1995 Keith Vetter (keithv@fusion.com) * adm_proto.h: added more missing INTERFACE. diff --git a/src/include/krb5/adm_proto.h b/src/include/krb5/adm_proto.h index 40beb6691..cfebb8217 100644 --- a/src/include/krb5/adm_proto.h +++ b/src/include/krb5/adm_proto.h @@ -43,6 +43,7 @@ void INTERFACE krb5_adm_disconnect krb5_auth_context *, krb5_ccache)); +#if ! defined(_WINDOWS) /* adm_kw_dec.c */ krb5_error_code krb5_adm_proto_to_dbent PROTOTYPE((krb5_context, @@ -60,6 +61,7 @@ krb5_error_code krb5_adm_dbent_to_proto char *, krb5_int32 *, krb5_data **)); +#endif /* _WINDOWS */ /* adm_kt_dec.c */ krb5_error_code krb5_adm_proto_to_ktent diff --git a/src/include/krb5/k5-config.h b/src/include/krb5/k5-config.h index 364269ac7..f4d94e41c 100644 --- a/src/include/krb5/k5-config.h +++ b/src/include/krb5/k5-config.h @@ -41,6 +41,7 @@ #define INI_KRB5_CONF "krb5.ini" /* Location of krb5.conf file */ #define KRB5_DBM_COMPAT__ /* Don't load dbm.h */ +#define KRB5_KDB5__ /* Don't load kdb.h */ #define KRB5_KDB5_DBM__ /* Don't load kdb_dbm.h */ #define BITS16 @@ -48,7 +49,7 @@ #define SIZEOF_SHORT 2 #define SIZEOF_LONG 4 #define MAXHOSTNAMELEN 512 -#define MAXPATHLEN 128 +#define MAXPATHLEN 256 /* Also for Windows temp files */ #define KRB5_USE_INET #define MSDOS_FILESYSTEM -- cgit