Ken Raeburn [Thu, 13 Apr 2006 15:56:04 +0000 (15:56 +0000)]
Don't include kdb.h from k5-int.h; instead, include it in the handful
of places where it's actually needed. Update dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17898
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 13 Apr 2006 14:10:50 +0000 (14:10 +0000)]
* configure.in: Delete OSF/1 libsecurity/setluid/LOGINLIBS code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17897
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Apr 2006 21:32:36 +0000 (21:32 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17894
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Tue, 11 Apr 2006 21:28:48 +0000 (21:28 +0000)]
Remove ChangeLog files from the source tree. From now on, the
subversion commit log entry needs to include information that would
have been in the changelog.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Apr 2006 19:58:28 +0000 (19:58 +0000)]
Remove .Sanitize file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17890
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Apr 2006 19:57:11 +0000 (19:57 +0000)]
* Sanitize: Removed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17889
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Apr 2006 19:56:21 +0000 (19:56 +0000)]
Remove .Sanitize and .rconf files, no longer used
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17888
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Apr 2006 19:53:48 +0000 (19:53 +0000)]
Move pty library from util/pty to appl/libpty; update Makefile.in and
configure.in files accordingly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17887
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 10 Apr 2006 11:02:49 +0000 (11:02 +0000)]
* kdc_preauth.c (verify_enc_timestamp): Initialize decrypt_err
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17886
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 10 Apr 2006 10:42:32 +0000 (10:42 +0000)]
* client.c (usage): Mark as "noreturn" under gcc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17885
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 10 Apr 2006 09:51:20 +0000 (09:51 +0000)]
* kdb5.c (kdb_unlock_lib_lock, kdb_destroy_lib_lock): Cast 0 to void to silence
compiler warning.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17884
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 8 Apr 2006 11:08:49 +0000 (11:08 +0000)]
* aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Use quotes around tr arguments
to prevent shell substitutions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17881
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 8 Apr 2006 11:03:03 +0000 (11:03 +0000)]
* shlib.conf (*-*-linux*): Use linker flag --as-needed when
building shared libraries.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17880
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 8 Apr 2006 07:05:20 +0000 (07:05 +0000)]
* kadm_net.c (kadm_cli_send): Use 0, not NULL, when checking numeric
error codes.
(Removes the two occurrences of "comparison between pointer and
integer" in the build.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17872
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 8 Apr 2006 06:52:21 +0000 (06:52 +0000)]
Move definitions of KRB5_PRIVATE and KRB5_DEPRECATED from autoconf.h
to $(ALL_CFLAGS).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17871
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 8 Apr 2006 04:41:48 +0000 (04:41 +0000)]
* fakeenv.c: Unused file deleted
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17867
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 5 Apr 2006 21:22:10 +0000 (21:22 +0000)]
Add prerequisites for some header checks to avoid "present but cannot
be compiled" warnings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17856
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 21:31:43 +0000 (21:31 +0000)]
* setenv.c: Include autoconf.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17844
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 21:22:17 +0000 (21:22 +0000)]
* getdate.y: Include autoconf.h always. Don't include config.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17843
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 20:14:24 +0000 (20:14 +0000)]
* Makefile.in ($(srcdir)/profile_tcl.c): Don't invoke swig automatically
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17841
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 03:29:48 +0000 (03:29 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17840
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 03:09:55 +0000 (03:09 +0000)]
more DEFS=
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17839
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 01:44:28 +0000 (01:44 +0000)]
set DEFS empty in more places
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17838
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 01:37:52 +0000 (01:37 +0000)]
* err_handle.c: Include autoconf.h and string.h.
(HAVE_PTHREAD_H): Undefine.
* Makefile.in (DEFS): Make empty.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17837
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Apr 2006 01:28:03 +0000 (01:28 +0000)]
* Makefile.in (DEFS): Make empty.
* stdcc_util.h: Include autoconf.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17836
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 3 Apr 2006 01:33:54 +0000 (01:33 +0000)]
include autoconf.h in a few more places
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17835
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sun, 2 Apr 2006 07:31:52 +0000 (07:31 +0000)]
* Makefile.in (DEFS): Make empty
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17833
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Sun, 2 Apr 2006 04:28:26 +0000 (04:28 +0000)]
Results from Kerberos Interop session:
- 64-bit Windows compatibility
- correct uninitialized variables
- work without kerberos 4 libraries including krb524
- add a mechanism to add and remove identities from
the options dialog. This allows a configuration
to be specified using a separate file based ccache
for each identity
- work without availability of ccapi
- force a renew of credentials on startup to support
the case when MSLSA is the only credential cache
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17832
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Sun, 2 Apr 2006 04:21:29 +0000 (04:21 +0000)]
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17831
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sun, 2 Apr 2006 00:22:59 +0000 (00:22 +0000)]
don't use configure-defined macros on command line, use autoconf.h only
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17830
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Apr 2006 03:11:10 +0000 (03:11 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17826
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Apr 2006 03:08:17 +0000 (03:08 +0000)]
Include autoconf.h (or include it earlier) in a bunch of files that are
currently depending on command-line macro settings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17825
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Apr 2006 02:56:40 +0000 (02:56 +0000)]
* db2_exp.c, kdb_db2.c: Include k5-int.h earlier
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17824
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Apr 2006 01:26:39 +0000 (01:26 +0000)]
* configure.in: Check for access, ftime, getcwd, srand48, srand, srandom, stat,
strchr, strerror, strstr, timezone, umask, waitpid, sem_init, sem_trywait,
daemon, alloca.h, dlfcn.h, limits.h, pthread.h, semaphore.h, krb_db.h, kdc.h,
sockaddr.sa_len, sockaddr_in.sin_len, stat.st_mtimensec,
stat.st_mtimespec.tv_nsec, and stat.st_mtim.tv_nsec. Invoke
KRB5_AC_REGEX_FUNCS, AC_TYPE_OFF_T, CHECK_WAIT_TYPE, CHECK_SIGPROCMASK,
AC_TYPE_GETGROUPS, CHECK_SETJMP, and DECLARE_SYS_ERRLIST. Add checks for
perror declaration, strptime prototype, setrpcent and endrpcent return types
from configure.in scripts in subdirectories.
With this patch, nearly every -D option used to compile a file that we care
about for KfM should now be duplicated in include/autoconf.h. There are still
other -D options not represented here (e.g., in appl/, util/pty, and the python
sample plugin).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17823
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Apr 2006 01:20:24 +0000 (01:20 +0000)]
* aclocal.m4 (KRB5_SOCKADDR_SA_LEN): Use AC_CHECK_MEMBER.
(CHECK_UTMP): Use AC_CHECK_MEMBERS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17822
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 1 Apr 2006 01:17:47 +0000 (01:17 +0000)]
* configure.in: Never define size_t
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17821
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 23:09:53 +0000 (23:09 +0000)]
* configure.in: Always provide three arguments to AC_DEFINE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17820
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 21:16:59 +0000 (21:16 +0000)]
* configure.in: Remove the #undef lines for the PACKAGE_ macros
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17819
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 21:00:40 +0000 (21:00 +0000)]
* configure.in: Don't test word sizes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17818
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 20:08:46 +0000 (20:08 +0000)]
* kt_file.c (krb5_ktf_keytab_externalize, krb5_ktf_keytab_internalize): Read
and write file position as 64 bits rather than trying to figure out size of
long.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17817
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 02:10:57 +0000 (02:10 +0000)]
* secure.c: Include autoconf.h. Include stdint.h and inttypes.h if available.
(ftp_uint32, ftp_int32): Always define as [u]int32_t instead of testing
configure-time type size macros.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17816
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 02:03:25 +0000 (02:03 +0000)]
* prof_int.h (SIZEOF_INT, SIZEOF_SHORT, SIZEOF_LONG)[_WIN32]: Don't define
* configure.in: Don't test sizes of types.
* prof_init.c: Include stdint.h and inttypes.h if available.
(prof_int32): Always define as int32_t.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17815
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 01:58:03 +0000 (01:58 +0000)]
* configure.in: Don't test sizes of natural types
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17814
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 01:55:36 +0000 (01:55 +0000)]
Stop checking sizeof(type) at configure time.
Pull stdint.h and inttypes.h into gssapi.h if available.
Don't use size/limit tests for choosing gss_[u]int32; just use [u]int32_t.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17813
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 01:34:38 +0000 (01:34 +0000)]
* util_token.c: Include limits.h.
(der_length_size, der_write_length): Test INT_MAX instead of SIZEOF_INT.
(der_read_length): Test sizeof(int) instead of SIZEOF_INT.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17812
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 01:24:29 +0000 (01:24 +0000)]
make depend, now with dependency sorting
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17811
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 31 Mar 2006 01:23:55 +0000 (01:23 +0000)]
* depfix.pl (uniquify): Sort dependencies, so little tweaks to include orders
don't change lots of makefiles.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17810
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:30:24 +0000 (10:30 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17809
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:28:30 +0000 (10:28 +0000)]
* klist.c: Include autoconf.h first
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17808
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:26:46 +0000 (10:26 +0000)]
* dyn.c (DynDelete, DynInsert, DynPut): Delete bcopy branches.
(HAVE_MEMMOVE): Don't define.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17807
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:17:20 +0000 (10:17 +0000)]
* aesopt.h: Include autoconf.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17806
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:17:09 +0000 (10:17 +0000)]
* shs.c: Include shs.h first
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17805
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:12:57 +0000 (10:12 +0000)]
* pty-int.h: Include autoconf.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17804
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:12:03 +0000 (10:12 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17803
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:08:32 +0000 (10:08 +0000)]
* ss_internal.h: Include autoconf.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17802
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 10:04:16 +0000 (10:04 +0000)]
* k524init.c: Include autoconf.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17801
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 08:54:07 +0000 (08:54 +0000)]
* configure.in: Put definition of KRB5_AUTOCONF_H at top of header file, not
bottom. Disable the #undefs for the PACKAGE_ macros.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17800
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 08:52:36 +0000 (08:52 +0000)]
include autoconf.h before krb5.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17799
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 08:46:06 +0000 (08:46 +0000)]
fill a paragraph in a comment because it's making my scripted parsing difficult
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17798
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 30 Mar 2006 03:57:08 +0000 (03:57 +0000)]
Currently logger.c is built as part of the KDC, and also built into
and exported from libkadm5srv, which the KDC links against. Stop
doing that.
* Makefile.in (logger.c, logger.o, $(OUTPRE)logger.$(OBJEXT)): Targets deleted.
(SRCS, OBJS, clean): Drop references to them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17797
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 21:35:36 +0000 (21:35 +0000)]
Include autoconf.h early in sources, and disable use of @DEFS@
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17794
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 21:34:51 +0000 (21:34 +0000)]
* configure.in: Always pass three arguments to AC_DEFINE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17793
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 21:26:15 +0000 (21:26 +0000)]
* configure.in: Always supply three arguments to AC_DEFINE_UNQUOTED
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17792
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 21:22:02 +0000 (21:22 +0000)]
* configure.in: Check for getusershell, lstat, pwd.h, arpa/inet.h. On OSF/1,
check for setluid in security library.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17791
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 21:10:48 +0000 (21:10 +0000)]
* aclocal.m4 (CHECK_UTMP): Call AC_CHECK_FUNCS once instead of AC_CHECK_FUNC
for each function.
(CHECK_SIGPROCMASK, CHECK_SETJMP, CHECK_UTMP, AC_KRB5_TCL_TRYOLD,
KRB5_AC_LIBUTIL): Supply all three arguments in AC_DEFINE calls.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17790
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 04:35:02 +0000 (04:35 +0000)]
* configure.in: Supply comment template in AC_DEFINE calls
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17789
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 04:31:02 +0000 (04:31 +0000)]
* configure.in: Supply all three arguments when calling AC_DEFINE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17788
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 28 Mar 2006 03:09:31 +0000 (03:09 +0000)]
* configure.in: Don't define NDBM_PW_CHECK
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17787
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 22:53:15 +0000 (22:53 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17786
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 22:40:37 +0000 (22:40 +0000)]
* wconfig.pl: New file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17785
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 22:24:11 +0000 (22:24 +0000)]
* Makefile.in (include_xom): Define as "rem" instead of empty on Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17784
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 21:41:17 +0000 (21:41 +0000)]
get proper KRB5_CALLCONV definition
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17783
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 21:40:09 +0000 (21:40 +0000)]
fix up windows include/krb5 references
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17782
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 20:53:18 +0000 (20:53 +0000)]
build and export set/reset_com_err_hook on windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17781
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 27 Mar 2006 20:50:01 +0000 (20:50 +0000)]
* krb5_32.def: Add the new error-message functions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17780
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sun, 26 Mar 2006 20:55:59 +0000 (20:55 +0000)]
Initial enhanced error message support, similar to what I sent to
krbdev except for some function renaming (krb5_free_error was already
in use, so added _message to everything), and the context is allowed
to be NULL (in which case we fall back to error_message() and storing
no strings) to simplify some code.
Low-level routines in the support library, using a private data
structure; higher-level routines in libkrb5, using a krb5_context.
Added error info strings to the KRB_ERR_GENERIC case in gc_via_tkt.c
and the python sample service location plugin. Added code to kinit
and kvno to look up and display the strings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17776
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sun, 26 Mar 2006 09:09:07 +0000 (09:09 +0000)]
remove some commented-out commands
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17774
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 21 Mar 2006 05:27:43 +0000 (05:27 +0000)]
Updates for the Network Identity Manager User Guide for KFW 3.1.0
ticket: 3542
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17753
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Mon, 20 Mar 2006 23:23:33 +0000 (23:23 +0000)]
This commit updates:
+ the HTMLHelp formatted documentation
+ the build system to produce separate binaries for Windows 2000
and Windows XP and beyond. Separate binaries are required
because we make heavy use of some of the UI features found in
XP that don't exist in 2000. If we build only for XP then the
binaries won't run on 2000 and if we build for 2000, then the
functionality we desire for balloon text and the tracker
windows does not work properly on XP or above. (Note for Vista
we will need to build three sets of binaries if we want to take
advantage of the new functionality that is available only there.)
+ Add more debugging to the krb4 plug-in and ensure that all
checkboxes are initialized.
+ remove plugins/krb5/krb5util.c which is an unused file
+ Use mixed case for Alt, Ctrl and Shift text designators
+ Increment the build number to 1.1.0.1
+ Plug a memory leak when dialogs are closed
+ Add a new Options->Appearance configuration page that can be
used to allow user customized font selection. This page will
also be used for custom color selection in a future release.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17752
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 16 Mar 2006 01:29:26 +0000 (01:29 +0000)]
Quick hack to make it easy to run valgrind on many of our test cases.
Notably, though, the dejagnu tests will not include valgrind.
* pre.in (MAYBE_VALGRIND): New variable.
* shlib.conf (*-*-linux*): Use it in RUN_ENV.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17742
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 16 Mar 2006 00:28:51 +0000 (00:28 +0000)]
* configure.in: If tgetent can't be found, error out
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17741
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 14 Mar 2006 01:39:24 +0000 (01:39 +0000)]
* Makefile.in (krb5.conf): New target. Use config-files/krb5.conf, but
add db_module_dir tag.
(kdb_check): Depend on it.
(RUN_SETUP): Use it for KRB5_CONFIG.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17739
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 13 Mar 2006 21:56:26 +0000 (21:56 +0000)]
* plugins.c (krb5int_get_plugin_dir_data): If dirhandle is null or the
file pointer is null, return a one-element list containing just NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17738
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 13 Mar 2006 21:48:32 +0000 (21:48 +0000)]
* Makefile.in (check-unix): Use RUN_SETUP for t_deltat
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17737
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 13 Mar 2006 21:44:47 +0000 (21:44 +0000)]
* Makefile.in (check-unix): Use RUN_SETUP
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17736
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Mon, 13 Mar 2006 17:02:13 +0000 (17:02 +0000)]
add new file windows/winlevel.h and update windows/version.rc
to allow for a configurable KRB5_BUILDLEVEL. This will be used
to distinguish binary files from the same version 1.4.3 but
different releases (alpha-1, alpha-2, beta-1, beta-2, final)
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17735
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 11 Mar 2006 23:04:09 +0000 (23:04 +0000)]
update docs for include/krb5/ -> include/ merge
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17734
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 11 Mar 2006 23:00:26 +0000 (23:00 +0000)]
* reconf: Put autoconf.stmp into include directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17733
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 11 Mar 2006 22:53:25 +0000 (22:53 +0000)]
merge krb5 subdir change log data
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17732
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 11 Mar 2006 22:25:11 +0000 (22:25 +0000)]
temporary: change log from old krb5/ directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17731
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 11 Mar 2006 22:23:28 +0000 (22:23 +0000)]
Instead of arbitrary division of headers into include and include/krb5, with
include directives sometimes using krb5/foo.h and sometimes using foo.h, and
-I options always given for both directories in both source and build trees,
push include/krb5/* up a level and drop the krb5 directory (except, for the
moment, the change log).
Updated #include directives, -I options, and dependencies accordingly, and
deleted one or two bits of old, unused code that was noticed in the process.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Sat, 11 Mar 2006 05:06:26 +0000 (05:06 +0000)]
- replace icon with the NetIDMgr icon
- replace references to Leash with NetIDMgr
ticket: new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17729
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 11 Mar 2006 02:13:59 +0000 (02:13 +0000)]
Add a new recursive target "generated-files-mac", for producing the
generated files that lxs wants to feed into the Mac build system.
(First approximation, may want some fine tuning later.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17728
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Thu, 9 Mar 2006 06:24:13 +0000 (06:24 +0000)]
Build NetIDMgr Developer Documentation (requires doxygen)
ticket: new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17725
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 9 Mar 2006 00:59:40 +0000 (00:59 +0000)]
* locate_kdc.c (module_locate_server): Don't set cbdata.lp at initialization time
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17724
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 9 Mar 2006 00:52:55 +0000 (00:52 +0000)]
* configure.in: Check for vsnprintf and vasprintf, and for positional
specification support in printf format strings.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17723
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 8 Mar 2006 20:10:31 +0000 (20:10 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17716
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 8 Mar 2006 19:57:21 +0000 (19:57 +0000)]
* prot.h: Include k5-platform.h.
(krb4_swab16, krb4_swap32): Define in terms of SWAP16 and SWAP32, if
they're defined.
(KRB4_PUT32BE, KRB4_PUT32LE, KRB4_PUT16BE, KRB4_PUT16LE): Define to
use store_{16,32}_{be,le}.
(KRB4_GET32BE, KRB4_GET32LE, KRB4_GET16BE, KRB4_GET16LE): Define to
use load_{16,32}_{be,le}.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17715
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 8 Mar 2006 19:25:49 +0000 (19:25 +0000)]
missed a dlsym call removal
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17714
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 8 Mar 2006 19:23:12 +0000 (19:23 +0000)]
Oops. This should come closer to building on Windows..
* plugins.c: Only include dlfcn.h if USE_DLOPEN.
(struct plugin_file_handle): Only include a pointer if USE_DLOPEN.
(krb5int_open_plugin, krb5int_get_plugin_data, krb5int_close_plugin,
krb5int_open_plugin_dir, krb5int_close_plugin_dir): Only use the
dlopen interface if USE_DLOPEN is defined.
(krb5int_get_plugin_dir_data, krb5int_get_plugin_dir_func): Use
krb5int_get_plugin_data/func instead of dlsym. Drop some debugging
code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17713
dc483132-0cff-0310-8789-
dd5450dbe970