krb5.git
18 years agoUse new macro FILE_OWNER_OK to examine uid of .k5login file.
Ken Raeburn [Sat, 10 Jun 2006 00:00:19 +0000 (00:00 +0000)]
Use new macro FILE_OWNER_OK to examine uid of .k5login file.
On Mac, define this to accept UNKNOWNUID as well as 0.

ticket: 3233
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18103 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoCall krb5_set_error_message any time multiple errno values are translated to
Ken Raeburn [Fri, 9 Jun 2006 23:40:17 +0000 (23:40 +0000)]
Call krb5_set_error_message any time multiple errno values are translated to
one KRB5_RC_* error code, and a few other places.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18102 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't use GNU linker option --as-needed yet
Ken Raeburn [Fri, 9 Jun 2006 22:48:06 +0000 (22:48 +0000)]
Don't use GNU linker option --as-needed yet

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18101 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoFree requested-enctype list when freeing up credentials. Reported by Rainer
Ken Raeburn [Thu, 8 Jun 2006 21:44:50 +0000 (21:44 +0000)]
Free requested-enctype list when freeing up credentials.  Reported by Rainer
Weikusat.

ticket: 3790

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18093 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoFixed by having krb5_fcc_interpret call krb5_set_error_message to incorporate
Ken Raeburn [Thu, 8 Jun 2006 20:23:17 +0000 (20:23 +0000)]
Fixed by having krb5_fcc_interpret call krb5_set_error_message to incorporate
the lower-level error message into the message displayed by kinit, which has
already been changed to use krb5_get_error_message.  For example, "kinit(v5):
Credentials cache I/O operation failed (No space left on device) when
initializing cache".

ticket: 3438

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18091 dc483132-0cff-0310-8789-dd5450dbe970

18 years agocopyright notice
Ken Raeburn [Thu, 8 Jun 2006 20:15:40 +0000 (20:15 +0000)]
copyright notice

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18090 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't call k5_mutex_destroy when krb5_rc_resolve_type fails, because that's
Ken Raeburn [Thu, 8 Jun 2006 20:01:44 +0000 (20:01 +0000)]
Don't call k5_mutex_destroy when krb5_rc_resolve_type fails, because that's
where the mutex would've been initialized.  Reported by Shawn Emery.

ticket: 3332

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18089 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoAvoid memory leak in error path. Reported by Rainer Weikusat
Ken Raeburn [Thu, 8 Jun 2006 19:21:53 +0000 (19:21 +0000)]
Avoid memory leak in error path.  Reported by Rainer Weikusat

ticket: 3791

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18088 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoUpdated CCAPI version of krb4int_save_credentials_addr to
Alexandra Ellwood [Tue, 6 Jun 2006 21:14:18 +0000 (21:14 +0000)]
Updated CCAPI version of krb4int_save_credentials_addr to
match the prototype in the headers.

ticket: new
target-version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18084 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoUpdate procedures for Subversion; fix some typos
Sam Hartman [Sat, 3 Jun 2006 01:06:47 +0000 (01:06 +0000)]
Update procedures for Subversion; fix some typos

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18081 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoNo longer ignore configure, autom4te.cache, config.status, config.log
Ken Raeburn [Fri, 2 Jun 2006 23:21:12 +0000 (23:21 +0000)]
No longer ignore configure, autom4te.cache, config.status, config.log
in directories that no longer have configure.in files.  (And prune
blank lines previously accidentally added to the svn:ignore property
while we're editing them anyways.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18079 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoRe-disable python plugin configuration accidentally enabled in an earlier checkin
Ken Raeburn [Fri, 2 Jun 2006 22:55:40 +0000 (22:55 +0000)]
Re-disable python plugin configuration accidentally enabled in an earlier checkin

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18077 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoPatch from Alejandro R. Sedeno and Jeffrey Hutzelman to allow krb4 to
Sam Hartman [Fri, 2 Jun 2006 21:14:35 +0000 (21:14 +0000)]
Patch from Alejandro R. Sedeno and Jeffrey Hutzelman to allow krb4 to
read 32-bit and 64-bit ticket files on 32-bit and 64-bit systems.
Previously the ticket file format depended on the ABI.  Significant
backward compatibility is maintained; the patch works by writing
alignment records that are valid (but meaningless) ticket file entries
but that allow systems to get realigned.  As a consequence an old
library will see additional meaningless ticket file entries when it
reads a ticket file produced by the new code.  These entries are
harmless and will be ignored.

ticket: 1288

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18076 dc483132-0cff-0310-8789-dd5450dbe970

18 years agomove var decl before code
Ken Raeburn [Thu, 1 Jun 2006 22:48:20 +0000 (22:48 +0000)]
move var decl before code

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18073 dc483132-0cff-0310-8789-dd5450dbe970

18 years agokrb5 1.5 alpha - memory leaks in krb5kdc due to not freeing error messages
Ezra Peisach [Thu, 1 Jun 2006 03:18:19 +0000 (03:18 +0000)]
krb5 1.5 alpha - memory leaks in krb5kdc due to not freeing error messages

In the kdc and lib/kadm5/logger.c, krb5_get_error_message needs to be paired
with krb5_free_error_message to release returned memory.

Essentially a memory leak was introduced for every principal requested
that did not exist in the database.

Identified by valgrind on the kdc - running kdc_hammer and specifying
more principals than are present in the db.

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18072 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoMissed a reference to + sizeof() vs * sizeof(). Pointed out by
Ezra Peisach [Thu, 1 Jun 2006 01:41:33 +0000 (01:41 +0000)]
Missed a reference to + sizeof() vs * sizeof().  Pointed out by
william fiveash.

ticket: 3825
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18071 dc483132-0cff-0310-8789-dd5450dbe970

18 years agokrb5int_get_plugin_dir_data() uses + instead of * in realloc
Ezra Peisach [Thu, 1 Jun 2006 00:56:12 +0000 (00:56 +0000)]
krb5int_get_plugin_dir_data() uses + instead of * in realloc

In line 570, in reallocating the plugin tree - the memory allocated is
(count + 1) + sizeof(*p)

instead of

(count +1 ) * sizeof(*p)

Detected while running the krb5kdc under valgrind with memcheck.

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18070 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoMerge about 1/3 of the remaining configure scripts into the top level. This
Ken Raeburn [Wed, 31 May 2006 00:09:31 +0000 (00:09 +0000)]
Merge about 1/3 of the remaining configure scripts into the top level.  This
still leaves out appl and tests, and static library and plugin directories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18068 dc483132-0cff-0310-8789-dd5450dbe970

18 years agokrb5-1.5-alpha1-postrelease
Tom Yu [Tue, 30 May 2006 21:34:34 +0000 (21:34 +0000)]
krb5-1.5-alpha1-postrelease

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18066 dc483132-0cff-0310-8789-dd5450dbe970

18 years agokrb5-1.5-alpha1
Tom Yu [Tue, 30 May 2006 21:32:44 +0000 (21:32 +0000)]
krb5-1.5-alpha1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18064 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago Delete some bogus svn:mime-type properties
Tom Yu [Tue, 30 May 2006 20:26:04 +0000 (20:26 +0000)]
Delete some bogus svn:mime-type properties

* README: Update for krb5-1.5-alpha1.  Update Kerberos Development
Team member list.

* doc/copyright.texinfo: Update copyright years.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18063 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoBuild lib/krb4 makefile at top level
Ken Raeburn [Fri, 26 May 2006 00:22:01 +0000 (00:22 +0000)]
Build lib/krb4 makefile at top level

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18046 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoAdd copyright notice
Ken Raeburn [Fri, 26 May 2006 00:21:35 +0000 (00:21 +0000)]
Add copyright notice

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18045 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't define MODULE_PATH
Ken Raeburn [Thu, 25 May 2006 23:37:33 +0000 (23:37 +0000)]
Don't define MODULE_PATH

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18044 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoProperly recognize Mac environments, and set {KRB5,KDB5}_PLUGIN_BUNDLE_DIR
Ken Raeburn [Thu, 25 May 2006 23:31:26 +0000 (23:31 +0000)]
Properly recognize Mac environments, and set {KRB5,KDB5}_PLUGIN_BUNDLE_DIR

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18043 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoCreate crypto, des425 Makefiles from top level
Ken Raeburn [Thu, 25 May 2006 23:18:38 +0000 (23:18 +0000)]
Create crypto, des425 Makefiles from top level

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18042 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoRename locate.h to locate_plugin.h. Change references, update dependencies
Ken Raeburn [Wed, 24 May 2006 21:19:23 +0000 (21:19 +0000)]
Rename locate.h to locate_plugin.h.  Change references, update dependencies

ticket: 3784

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18037 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDrop major version number from service-locator function table structure.
Ken Raeburn [Wed, 24 May 2006 16:18:53 +0000 (16:18 +0000)]
Drop major version number from service-locator function table structure.
Add a typedef name for the structure.  Change multiple-inclusion macro name.
Add a comment indicating desired symbol name.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18036 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't output krb5_config_prefix commands into config.status; do the substitutions
Ken Raeburn [Wed, 24 May 2006 10:29:25 +0000 (10:29 +0000)]
Don't output krb5_config_prefix commands into config.status; do the substitutions
in the configure script.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18035 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoMention the python plugin stuff in configure.in, but inside an "if false"
Ken Raeburn [Tue, 23 May 2006 00:37:46 +0000 (00:37 +0000)]
Mention the python plugin stuff in configure.in, but inside an "if false"
block, so reconf will build a configure script and it'll be easy to enable
for testing.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18034 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoupdate dependencies
Ken Raeburn [Tue, 23 May 2006 00:34:14 +0000 (00:34 +0000)]
update dependencies

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18033 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoInclude k5-platform.h and fake-addrinfo.h, but not k5-int.h
Ken Raeburn [Tue, 23 May 2006 00:33:57 +0000 (00:33 +0000)]
Include k5-platform.h and fake-addrinfo.h, but not k5-int.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18032 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoservice location plugin interface needs header installed
Ken Raeburn [Tue, 23 May 2006 00:07:02 +0000 (00:07 +0000)]
service location plugin interface needs header installed

Install <krb5/locate.h>.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18031 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoinstall headers into include/krb5
Ken Raeburn [Tue, 23 May 2006 00:03:06 +0000 (00:03 +0000)]
install headers into include/krb5

Create include/krb5 directory, and put krb5.h and (k5-)locate.h there in the
build tree.  Stub krb5.h in main include directory just includes krb5/krb5.h.
Update dependencies, and add dependencies in a couple Makefiles that didn't
have them.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18030 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoMissed change -- don't configure util/profile separately
Ken Raeburn [Thu, 18 May 2006 10:38:36 +0000 (10:38 +0000)]
Missed change -- don't configure util/profile separately

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18020 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* configure.in: Set and substitute KSU_LIBS, SETENVOBJ, DO_TCL. Generate
Ken Raeburn [Thu, 18 May 2006 04:22:15 +0000 (04:22 +0000)]
* configure.in: Set and substitute KSU_LIBS, SETENVOBJ, DO_TCL.  Generate
makefiles for util/et, util/profile, lib/kdb, clients and those clients
subdirectories built on UNIX, rather than running configure there.
Deleted configure.in scripts for those directories, and changed
Makefile.in definitions of thisconfigdir and mydir.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18018 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoRemove krb5_init_context macro hack; change all the calls except in
Ken Raeburn [Wed, 17 May 2006 05:26:12 +0000 (05:26 +0000)]
Remove krb5_init_context macro hack; change all the calls except in
krb5_gss_init_context to calls to krb5_gss_init_context.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18015 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't look for pthread_mutexattr_setrobust_np
Ken Raeburn [Tue, 16 May 2006 02:56:59 +0000 (02:56 +0000)]
Don't look for pthread_mutexattr_setrobust_np

Apparently Red Hat's Fedora Core 5 defines it but doesn't declare it,
so we'd have to declare it before testing the address.  While it was
once useful for checking whether the pthread code had been loaded, I
think the other tests done now are more effective and this isn't
needed any more.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18012 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoAdd SRCS definition and run make depend
Ken Raeburn [Tue, 16 May 2006 02:23:08 +0000 (02:23 +0000)]
Add SRCS definition and run make depend

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18011 dc483132-0cff-0310-8789-dd5450dbe970

18 years agomake depend
Ken Raeburn [Tue, 16 May 2006 02:15:06 +0000 (02:15 +0000)]
make depend

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18010 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* lib/kadm5/alt_prof.c (kadm5_get_config_params): Replace filename and
Ken Raeburn [Tue, 16 May 2006 01:45:00 +0000 (01:45 +0000)]
* lib/kadm5/alt_prof.c (kadm5_get_config_params): Replace filename and
envvar arguments with a flag indicating whether KDC config data should
be used.  Prototype and all callers changed.
(krb5_read_realm_params): Delete config file and env var arguments.
Prototype and all callers changed.

* lib/kadm5/admin.h (KADM5_CONFIG_PROFILE): Commented out.
(struct _kadm5_config_params): Delete field PROFILE.
* lib/kadm5/alt_prof.c (kadm5_get_config_params): Don't look at it.
(kadm5_free_config_params): Don't free it.
* kadmin/testing/tcl/util.t: Remove profile data from config params.
* kadmin/testing/util/tcl_kadm5.c (config_mask_flags): Deleted
KADM5_CONFIG_PROFILE entry.
(parse_config_params): Changed to require 20 parameters instead of 21.
* lib/kadm5/unit-test/api.2/init-v2.exp (test100): Deleted.

* lib/kadm5/alt_prof.c (krb5_aprof_init): Fetch the list of config files from
the library and add the caller-indicated config file to the front of the list.

* lib/kadm5/clnt/client_init.c (kadm5_init_krb5_context): New function.
* lib/kadm5/clnt/libkadm5clnt.exports: Export it.
* lib/kadm5/srv/server_init.c: Include k5-int.h, osconf.h, gssapiP_krb5.h.
(kadm5_init_krb5_context): New function.
* lib/kadm5/srv/libkadm5srv.exports: Export it.
* lib/kadm5/srv/Makefile.in (LOCAL_INCLUDES): Add gssapi directories.
* lib/kadm5/admin.h (kadm5_init_krb5_context): Declare it.
* kadmin/dbutil/kdb5_destroy.c (kdb5_destroy): Call kadm5_init_krb5_context
instead of krb5_init_context.
* kadmin/dbutil/dump.c (load_db): Likewise.
* kadmin/dbutil/kdb5_util.c (main): Likewise.
* kadmin/dbutil/kadm5_create.c (kadm5_create): Likewise.
* kadmin/dbutil/kdb5_stash.c (kdb5_stash): Likewise.
* kadmin/dbutil/loadv4.c (load_v4db): Likewise.
* kadmin/server/ovsec_kadmd.c (main): Likewise.
* kadmin/cli/kadmin.c (kadmin_startup): Likewise.
* kadmin/testing/util/tcl_ovsec_kadm.c (tcl_ovsec_kadm_init): Likewise.
* lib/kadm5/unit-test/lock-test.c (main): Likewise.
* lib/kadm5/unit-test/handle-test.c (main): Likewise.
* lib/kadm5/unit-test/randkey-test.c (main): Likewise.
* lib/kadm5/unit-test/setkey-test.c (main): Likewise.
* lib/kadm5/chpass_util.c (_kadm5_chpass_principal_util): Likewise.
* lib/kadm5/kadm_rpc_xdr.c (xdr_krb5_principal): Likewise.

* lib/krb5/os/init_os_ctx.c (add_kdc_config_file): New function.
(os_init_paths): Add new argument KDC; call add_kdc_config_file if true.
* lib/krb5/krb/init_ctx.c (krb5int_init_context_kdc): New function.
(init_common): Add new argument KDC, passed to krb5_os_init_context.
* lib/krb5/libkrb5.exports: Export krb5int_init_context_kdc.
* k5-int.h (krb5_os_init_context): Update decl.
* lib/kadm5/srv/server_init.c (kadm5_init): Call krb5int_init_context_kdc.
* krb524/krb524d.c (main): Likewise.
* lib/kadm5/unit-test/api.2/init-v2.exp: Don't run test 154 for error for
$KRB5_KDC_PROFILE file not present.

* lib/krb5/os/init_os_ctx.c (os_get_default_config_files): Rewrite KLL test so
as not to confuse Emacs indentation support.

* lib/gssapi/krb5/init_sec_context.c (kg_kdc_flag_mutex, kdc_flag): New
variables.
(krb5_gss_init_context, krb5_gss_use_kdc_context): New functions.
* lib/gssapi/krb5/gssapiP_krb5.h (kg_kdc_flag_mutex): Declare.
(krb5_gss_init_context, krb5_gss_use_kdc_context): Declare.
(krb5_init_context): Define as macro to invoke krb5_gss_init_context for now.
* lib/gssapi/gss_libinit.c (gssint_lib_init): Initialize the mutex.
(gssint_lib_fini): Destroy it.
* lib/gssapi/libgssapi_krb5.exports: Export krb5_gss_use_kdc_context.

* lib/kadm5/srv/server_init.c (kadm5_init): Don't complain if the config files
specify an admin server, since we now look at krb5.conf as well.
* lib/kadm5/unit-test/api.2/init-v2.exp: Delete test test114 for bad server
params.

* plugins/kdb/db2/adb_openclose.c (osa_adb_init_db): Use
krb5int_init_context_kdc instead of krb5_init_context.
* kdc/rtest.c (main): Likewise.
* kdc/fakeka.c (main): Likewise.
* kdc/main.c (main, init_realm): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18009 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* Makefile.in (krb5kdc, rtest): Don't explicitly add kdb5 libs to the link
Ken Raeburn [Mon, 15 May 2006 23:11:34 +0000 (23:11 +0000)]
* Makefile.in (krb5kdc, rtest): Don't explicitly add kdb5 libs to the link
command.  (And we link against libraries, not dependency lists, anyways...)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18008 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* main.c (initialize_realms): Use precise size allocation for dbname= parameter
Ken Raeburn [Sat, 13 May 2006 06:41:37 +0000 (06:41 +0000)]
* main.c (initialize_realms): Use precise size allocation for dbname= parameter

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18007 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoHave Tcl script error out if initialization fails
Ken Raeburn [Sat, 13 May 2006 06:21:09 +0000 (06:21 +0000)]
Have Tcl script error out if initialization fails

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18006 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* configure.in: Don't create a makefile for posix subdir
Ken Raeburn [Sat, 13 May 2006 05:20:22 +0000 (05:20 +0000)]
* configure.in: Don't create a makefile for posix subdir

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18005 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* syslog.c: Discard all the non-Windows bits, since we don't build this on
Ken Raeburn [Sat, 13 May 2006 05:17:25 +0000 (05:17 +0000)]
* syslog.c: Discard all the non-Windows bits, since we don't build this on
UNIX.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18004 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* getuid.c, memmove.c, sscanf.c, strcasecmp.c, strdup.c, strerror.c,
Ken Raeburn [Sat, 13 May 2006 05:15:29 +0000 (05:15 +0000)]
* getuid.c, memmove.c, sscanf.c, strcasecmp.c, strdup.c, strerror.c,
vfprintf.c, vsprintf.c: Remove files we don't compile anywhere.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18003 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoUse unsigned char rather than u_int8_t in random_string()
Tom Yu [Sat, 13 May 2006 00:57:26 +0000 (00:57 +0000)]
Use unsigned char rather than u_int8_t in random_string()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18002 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* tests/dejagnu/config/default.exp (setup_krb5_conf): Don't add suffix to
Ken Raeburn [Thu, 11 May 2006 00:41:46 +0000 (00:41 +0000)]
* tests/dejagnu/config/default.exp (setup_krb5_conf): Don't add suffix to
library name in generated config file.

* kadmin/testing/proto/krb5.conf.proto: Drop suffix from library name.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17999 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoFixed the krb5_cc_gen_new memory ccache implementation and updated
Alexandra Ellwood [Wed, 10 May 2006 21:48:53 +0000 (21:48 +0000)]
Fixed the krb5_cc_gen_new memory ccache implementation and updated
krb5_verify_init_creds() and rd_and_store_for_creds() to use the
API properly (possible now that it's been fixed).

ticket: 3746

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17997 dc483132-0cff-0310-8789-dd5450dbe970

18 years agovsnprintf not present on windows
Jeffrey Altman [Tue, 9 May 2006 22:26:04 +0000 (22:26 +0000)]
vsnprintf not present on windows

vsnprintf is not present on Windows.  Microsoft provides
the _vsnprintf form instead.   Add a macro to allow this
file to compile.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17993 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoplugins support requires a Windows equivalent to opendir and friends
Jeffrey Altman [Tue, 9 May 2006 21:03:07 +0000 (21:03 +0000)]
plugins support requires a Windows equivalent to opendir and friends

This patch simply allows krb5 to build once again on Windows.
Windows does not have opendir() and friends.   Instead Win32 API
functions must be used as described in

 http://msdn.microsoft.com/library/en-us/dnucmg/html/UCMGch09.asp

ticket: new
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17992 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* threads.c (krb5int_pthread_loaded): Supply dummy version for !ENABLE_THREADS
Ken Raeburn [Tue, 9 May 2006 20:37:49 +0000 (20:37 +0000)]
* threads.c (krb5int_pthread_loaded): Supply dummy version for !ENABLE_THREADS
case.

ticket: 3426

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17990 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* send_tgs.c (krb5_send_tgs): Fix memory allocation size when padata is
Ken Raeburn [Tue, 9 May 2006 19:36:46 +0000 (19:36 +0000)]
* send_tgs.c (krb5_send_tgs): Fix memory allocation size when padata is
provided.

ticket: 3714

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17988 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoCleanup a number of cast away from const warnings in gssapi
Ezra Peisach [Tue, 9 May 2006 11:31:02 +0000 (11:31 +0000)]
Cleanup a number of cast away from const warnings in gssapi

Change internal token handling and oid handling functions to take a
const style gss_OID. In the krb5 dir remove casting.

This is the start of fixes in this arena.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17987 dc483132-0cff-0310-8789-dd5450dbe970

18 years agokdb_load_library(): SGI compiler requires that when initializing arrays
Ezra Peisach [Mon, 8 May 2006 18:05:47 +0000 (18:05 +0000)]
kdb_load_library(): SGI compiler requires that when initializing arrays
at declaration - only constants be used. [filebases]. Code was introduced with
17975 revision.

ticket: 3716

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17986 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* plugins.c (krb5int_get_plugin_filenames): Make extention array static and const
Ken Raeburn [Fri, 5 May 2006 03:46:09 +0000 (03:46 +0000)]
* plugins.c (krb5int_get_plugin_filenames): Make extention array static and const

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17981 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* plugins.c (krb5int_get_plugin_filenames): Avoid shadowing local variable names
Ken Raeburn [Fri, 5 May 2006 03:36:05 +0000 (03:36 +0000)]
* plugins.c (krb5int_get_plugin_filenames): Avoid shadowing local variable names

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17980 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* plugins.c (FILEEXTS): No trailing semicolon
Ken Raeburn [Fri, 5 May 2006 03:32:54 +0000 (03:32 +0000)]
* plugins.c (FILEEXTS): No trailing semicolon

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17979 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoneed to export kadm5_set_use_password_server
Alexandra Ellwood [Thu, 4 May 2006 18:43:20 +0000 (18:43 +0000)]
need to export kadm5_set_use_password_server

Need to export "kadm5_set_use_password_server" because it is used by
krb5kdc when USE_PASSWORD_SERVER is defined.  Since the Mac builds this
way we need it in the export list.  Unfortunately export lists don't get
preprocessed.  Note that I only added this one function.  The rest of the
password server functionality is still conditionalized around
USE_PASSWORD_SERVER.

Hopefully we can rip all this code out when Apple starts using the db plugin
interface for their password server integration.

ticket: new
target_version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17977 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoExport new function names
Alexandra Ellwood [Thu, 4 May 2006 18:35:01 +0000 (18:35 +0000)]
Export new function names

ticket: 3716

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17976 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoChanged to krb5int_open_plugin_dirs/krb5int_close_plugin_dirs which
Alexandra Ellwood [Thu, 4 May 2006 03:06:33 +0000 (03:06 +0000)]
Changed to krb5int_open_plugin_dirs/krb5int_close_plugin_dirs which
takes a list of filebases and directories rather than a list of full paths
so the caller doesn't have to generate the possibilities themselves.
krb5int_open_plugin_dirs will append the possible suffixes for that platform
(including no suffix in case there already is one on the file base).

Modified the kdb and locate kdc interfaces to use the new API.

ticket: 3716

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17975 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoRemoved the unnecessary and incorrect (due to operator precedence) "== MPOOL_INUSE".
Alexandra Ellwood [Thu, 4 May 2006 02:01:17 +0000 (02:01 +0000)]
Removed the unnecessary and incorrect (due to operator precedence) "== MPOOL_INUSE".
The previous code actually ended up checking if MPOOL_DIRTY (0x01) is set.

ticket: new
target_version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17974 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* post.in (.acsyms_okay): Target deleted.
Ken Raeburn [Wed, 3 May 2006 00:06:23 +0000 (00:06 +0000)]
* post.in (.acsyms_okay): Target deleted.
(configure): Incorporate the check-ac-syms rules here.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17973 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoipv4+ipv6 messages can trip up KDC replay detection
Ken Raeburn [Sat, 29 Apr 2006 07:06:34 +0000 (07:06 +0000)]
ipv4+ipv6 messages can trip up KDC replay detection

The replay lookaside cache includes the sending address, but the krb5
library replay cache does not.  So, if the same message arrives from
two different source addresses, it is considered a replay by the KDC.
If the client isn't receiving the replies for some reason, and the
client has multiple addresses it uses to contact different addresses
on the KDC (and trying to reach the KDC via both IPv4 and IPv6 is an
obvious such case), this can cause errors to be returned by the KDC.

* replay.c (krb5_kdc_replay_ent): Remove "addrs" field.
(MATCH): Don't check it.
(kdc_check_lookaside, kdc_insert_lookaside): Remove "from" argument.
* kdc_util.h (kdc_check_lookaside, kdc_insert_lookaside): Update decls.
* dispatch.c (dispatch): Update calls.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17970 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't test HAVE_C_STRUCTURE_ASSIGNMENT.
Ken Raeburn [Sat, 29 Apr 2006 06:59:23 +0000 (06:59 +0000)]
Don't test HAVE_C_STRUCTURE_ASSIGNMENT.
Instead, just assume we do have a working C compiler.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17969 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(DB2_NAME): New macro, adding .so suffix for now.
Ken Raeburn [Thu, 27 Apr 2006 22:41:41 +0000 (22:41 +0000)]
(DB2_NAME): New macro, adding .so suffix for now.
(kdb_get_library_name, kdb_load_library): Use it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17965 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoFix excessive italics in kinit man page;
Sam Hartman [Thu, 27 Apr 2006 20:11:44 +0000 (20:11 +0000)]
Fix excessive italics in kinit man page;
thanks Stepan Kasal <kasal@ucw.cz>

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17964 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoUpdated comments to explain how the CFBundles get unloaded.
Alexandra Ellwood [Tue, 25 Apr 2006 21:24:33 +0000 (21:24 +0000)]
Updated comments to explain how the CFBundles get unloaded.
(And not to call CFBundleUnloadExecutable which is refcounted.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17962 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoChange kdb plugin code to use the new plugin support instead of
Ken Raeburn [Tue, 25 Apr 2006 07:21:19 +0000 (07:21 +0000)]
Change kdb plugin code to use the new plugin support instead of
directly calling dlopen and friends.  Change the test config files to
refer to "db2.so" instead of "db2".

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17961 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoUpdate internal plugin interface to add an errinfo structure to "open"
Ken Raeburn [Tue, 25 Apr 2006 06:27:07 +0000 (06:27 +0000)]
Update internal plugin interface to add an errinfo structure to "open"
and "get" routines, so that more detailed error information (e.g.,
from dlerror()) may be returned to the caller.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17960 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoProtect against multiple inclusion. Don't define macro '_' if already defined
Ken Raeburn [Tue, 25 Apr 2006 06:25:35 +0000 (06:25 +0000)]
Protect against multiple inclusion.  Don't define macro '_' if already defined

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17959 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoDon't define DEBUG; it prints debug messages that cause test suite failures
Ken Raeburn [Tue, 25 Apr 2006 05:15:20 +0000 (05:15 +0000)]
Don't define DEBUG; it prints debug messages that cause test suite failures

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17958 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoChange name of kdb function-table symbol from being derived from the
Ken Raeburn [Tue, 25 Apr 2006 05:09:48 +0000 (05:09 +0000)]
Change name of kdb function-table symbol from being derived from the
name of the library file (which may not be acceptable as a C symbol
name anyways) to "kdb_function_table" always.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17957 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(.acsyms_okay): Fix rules to work better from subdirectories, and skip the
Ken Raeburn [Tue, 25 Apr 2006 04:32:47 +0000 (04:32 +0000)]
(.acsyms_okay): Fix rules to work better from subdirectories, and skip the
top-level configure script.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17956 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoTweak configure script generation to check that all symbols produced
Ken Raeburn [Tue, 25 Apr 2006 02:36:31 +0000 (02:36 +0000)]
Tweak configure script generation to check that all symbols produced
via AC_DEFINE are also present in the applicable configure-generated
header file, and error out otherwise.  Currently doesn't apply in appl
and test trees.

* util/check-ac-syms: New script.
* config/post.in (.acsyms_okay): New target; runs check-ac-syms, unless we're
in the appl or tests trees.
(configure): Depend on .acsyms_okay.
* config/pre.in (AUTOCONF_HEADER): New variable.
* plugins/kdb/db2/libdb2/Makefile.in (AUTOCONF_HEADER): New variable.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17955 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoRemove comment on first line
Ken Raeburn [Tue, 25 Apr 2006 00:29:56 +0000 (00:29 +0000)]
Remove comment on first line

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17954 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoSet myfulldir
Ken Raeburn [Tue, 25 Apr 2006 00:29:23 +0000 (00:29 +0000)]
Set myfulldir

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17953 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoGenerate rpc includes as part of the generate-files-mac target
Alexandra Ellwood [Mon, 24 Apr 2006 21:10:31 +0000 (21:10 +0000)]
Generate rpc includes as part of the generate-files-mac target

ticket: new
target_version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17952 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoUpdated kadm5 Makefile.ins to autogenerate the kadm5 headers as part
Alexandra Ellwood [Mon, 24 Apr 2006 21:09:16 +0000 (21:09 +0000)]
Updated kadm5 Makefile.ins to autogenerate the kadm5 headers as part
of the generate-files-mac build phase.

ticket: new
target_version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17951 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoAdded CoreFoundation bundle plugin support
Alexandra Ellwood [Mon, 24 Apr 2006 20:59:52 +0000 (20:59 +0000)]
Added CoreFoundation bundle plugin support

Added CoreFoundation bundle plugin support to support library bundle plugin
code.  Also modified plugin types so they allocate a list of pointers rather
than a list of structs so that we can reuse the code that generates the
pointer types.  (Basically now krb5int_open_plugin_dir() can call
krb5int_open_plugin() rather than doing nearly the same thing.)

ticket: new
target_version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17950 dc483132-0cff-0310-8789-dd5450dbe970

18 years agokrb_get_tf_realm(): cc_int32 is an integer type and should be
Alexandra Ellwood [Mon, 24 Apr 2006 20:44:00 +0000 (20:44 +0000)]
krb_get_tf_realm(): cc_int32 is an integer type and should be
initialized to 0 not NULL.

ticket: new
target_version: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17949 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoSigned/unsigned warnings cleanup
Ezra Peisach [Sat, 22 Apr 2006 13:06:24 +0000 (13:06 +0000)]
Signed/unsigned warnings cleanup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17948 dc483132-0cff-0310-8789-dd5450dbe970

18 years agounsigned/signed int warnings in krb5_context variables
Ezra Peisach [Fri, 21 Apr 2006 15:55:17 +0000 (15:55 +0000)]
unsigned/signed int warnings in krb5_context variables

Change in_tkt_ktype_count, tgs_ktype_count and conf_tgs_ktypes_count in context to
unsigned int.  Change get_profile_etype_list() to expect unsigned int as well.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17947 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoFix memory leak. closedir() was never being called after successful opendir()
Ezra Peisach [Thu, 20 Apr 2006 15:55:20 +0000 (15:55 +0000)]
Fix memory leak. closedir() was never being called after successful opendir()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17946 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoshsUpdate should take an unsigned int for length
Ezra Peisach [Thu, 20 Apr 2006 04:24:48 +0000 (04:24 +0000)]
shsUpdate should take an unsigned int for length

Update shsUpdate to take an unsigned int length instead of signed.
The code already assumes that it is an integer >= 0. This change
cleans up a number of signed/unsigned warnings.

sha1/shs.h, shs.c, t_shs.c: change ints to unsigned int
dk/dk_encrypt.c: static function trunc_hmac change a signed int to unsigned
hash_provider/hash_sha1.c: Remove cast in argument to shsUpdate

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17945 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* errors.c (krb5int_get_error): Try strerror_r if available before strerror.
Ken Raeburn [Wed, 19 Apr 2006 20:23:46 +0000 (20:23 +0000)]
* errors.c (krb5int_get_error): Try strerror_r if available before strerror.
* plugins.c (ERRSTR): New macro, tries strerror_r and uses strerror only if it
fails or isn't available.
(krb5int_open_plugin_dir): Use it.

ticket: 3620
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17944 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoPrototype for krb5_c_prf missing const
Ezra Peisach [Wed, 19 Apr 2006 19:34:55 +0000 (19:34 +0000)]
Prototype for krb5_c_prf missing const

When krb5_c_prf was added in r17219 to implement RFC 3961 PRF, the
prototype for krb5_c_prf has the incomming krb5_data not flagged as const.
The implementation usage in the dk_prf.c declare as const. Make everything
consistent.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17943 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* error_table.h (ET_EBUFSIZ): Increase to 1k.
Ken Raeburn [Tue, 18 Apr 2006 23:28:07 +0000 (23:28 +0000)]
* error_table.h (ET_EBUFSIZ): Increase to 1k.
* error_message.c (get_thread_buffer): New function, split out from
error_message.
(error_message): Call it.  Also try strerror_r with the per-thread buffer, if
both are available, before trying strerror.

ticket: 3620
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17942 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* configure.in: Check for strerror_r
Ken Raeburn [Tue, 18 Apr 2006 23:14:36 +0000 (23:14 +0000)]
* configure.in: Check for strerror_r

ticket: 3620
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17941 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(LOCAL_SUBDIRS, STOBJLISTS, SUBDIROBJLISTS): Don't build posix dir on UNIX
Ken Raeburn [Tue, 18 Apr 2006 23:07:28 +0000 (23:07 +0000)]
(LOCAL_SUBDIRS, STOBJLISTS, SUBDIROBJLISTS): Don't build posix dir on UNIX

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17940 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(krb5int_debug_fprint): Use strerror_r if available.
Ken Raeburn [Tue, 18 Apr 2006 23:06:47 +0000 (23:06 +0000)]
(krb5int_debug_fprint): Use strerror_r if available.
(bogus_strerror): Unused function deleted.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17939 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(KRB5_KDB_SRV_TYPE_*, KRB5_DB_LOCKMODE_*): Delete definitions duplicated from kdb.h
Ken Raeburn [Tue, 18 Apr 2006 22:13:53 +0000 (22:13 +0000)]
(KRB5_KDB_SRV_TYPE_*, KRB5_DB_LOCKMODE_*): Delete definitions duplicated from kdb.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17938 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoCompute dependencies for profile_tcl.o
Ken Raeburn [Sat, 15 Apr 2006 00:50:05 +0000 (00:50 +0000)]
Compute dependencies for profile_tcl.o

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17931 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* Makefile.in (profile_tcl): Link with MLIBS instead of DEPLIBS and LIBS
Ken Raeburn [Sat, 15 Apr 2006 00:43:59 +0000 (00:43 +0000)]
* Makefile.in (profile_tcl): Link with MLIBS instead of DEPLIBS and LIBS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17930 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* aclocal.m4 (KRB5_AC_CHOOSE_ET): Make sure that the error-table symbol is
Ken Raeburn [Fri, 14 Apr 2006 23:59:00 +0000 (23:59 +0000)]
* aclocal.m4 (KRB5_AC_CHOOSE_ET): Make sure that the error-table symbol is
declared and addressable; the type doesn't need to be complete.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17928 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoInclude com_err.h
Ken Raeburn [Fri, 14 Apr 2006 23:57:49 +0000 (23:57 +0000)]
Include com_err.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17927 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(*-*-solaris*): Set LDCOMBINE_TAIL to use LDFLAGS
Ken Raeburn [Fri, 14 Apr 2006 23:57:28 +0000 (23:57 +0000)]
(*-*-solaris*): Set LDCOMBINE_TAIL to use LDFLAGS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17926 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoInclude stdarg.h
Ken Raeburn [Fri, 14 Apr 2006 23:47:33 +0000 (23:47 +0000)]
Include stdarg.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17925 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoMove gmt_mktime.c from lib/krb5/os to util/support, and rename the function.
Ken Raeburn [Fri, 14 Apr 2006 22:38:00 +0000 (22:38 +0000)]
Move gmt_mktime.c from lib/krb5/os to util/support, and rename the function.
Stop exporting gmt_mktime from libkrb5, and export krb5int_gmt_mktime from
libkrb5support.  Updated the one caller, asn1_decode.c.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17921 dc483132-0cff-0310-8789-dd5450dbe970