krb5.git
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

18 years agoidentity/plugins/common/dynimport.c:
Jeffrey Altman [Fri, 14 Apr 2006 02:48:45 +0000 (02:48 +0000)]
identity/plugins/common/dynimport.c:
During the interop session we concluded that the ccapi32.dll should
not be required for netidmgr to operate.  netidmgr should work with
only FILE: ccaches.  After the interop the removal of the error
check post-load was not removed.

identity/doc/Makefile:
The 'clean' rules failed to specify the /Q switch which silently
removes the directory tree.  As a result, during the build the
user was prompted.

ticket: 3542
status: open

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

18 years agoPartial merge from Novell LDAP integration branch, not including the
Ken Raeburn [Thu, 13 Apr 2006 18:58:56 +0000 (18:58 +0000)]
Partial merge from Novell LDAP integration branch, not including the
actual LDAP bits:

* include/kdb.h (krb5_db_entry_new): Add MASK field indicating what's
changed.
(KRB5_KDB_SRV_TYPE_*): New macros indicating which type of service is
accessing the database.
* lib/kadm5/srv/svr_principal.c: Set mask field.
* lib/kadm5/srv/server_misc.c, server_init.c: Pass service type to
krb5_db_open.
* kadmin/dbutil/kdb5_stash.c (kdb5_stash): Pass service type to
krb5_db_open.
* kadmin/dbutil/kdb5_util.c (open_db_and_mkey): Pass service type to
krb5_db_open.
* kdc/main.c (init_realm): Pass service type to krb5_db_open.
* lib/kadm5/srv/svr_principal.c: Set mask field.
* kadmin/dbutil/dump.c (load_db): Pass service type to krb5_db_open.
* lib/kdb/kdb5.h (KRB5_KDB_SRV_TYPE_*): New macros.

* lib/kdb/err_handle.{c,h}: Deleted.
* lib/kadm5/clnt/err_handle.{c,h}: Deleted.
(krb5_db_clr_error): Declaration deleted.
* lib/kdb/Makefile.in, lib/kadm5/clnt/Makefile.in: Don't build them.
* lib/kdb/kdb5.c, lib/kadm5/clnt, lib/kadm5/srv: Use new error-message API.
* kdc/do_tgs_req.c (process_tgs_req): Use new error-message API.
* kdc/kdc_preauth.c (check_padata)
* kdc/do_as_req.c (process_as_req):
* kdc/main.c (init_realm):
* kadmin/server/ovsec_kadmd.c (main, do_schpw):
* schpw.c (process_chpw_request):
* kadmin/server/server_stubs.c:
* kadmin/cli/kadmin.c (extended_com_err_fn): New function.
(kadmin_startup): Tell com_err library to use it, for kadmin.local.
* lib/kdb/libkdb5.exports: Don't export krb5_db_clr_error.
* lib/kdb/Makefile.in: (SRCS, STLIBOBJS): Don't build err_handle.c.
* lib/kdb/kdb5.c (kdb_load_library): Don't pass argument to init_library.
(krb5_db_clr_error): Function deleted.
* lib/kdb/kdb5.h (struct _kdb_vftabl): Remove argument from init_library field.
* lib/kadm5/logger.c (krb5_klog_init): Save the krb5_context pointer.
(klog_com_err_proc): Use it, and call new error-message API.
* lib/kadm5/srv/svr_principal.c: Use new error-message API.
* kadmin/dbutil/kdb5_util.c (extended_com_err_fn): New function.
(main): Tell com_err library to use it.

* plugins/kdb/db2: Use new error-message APIs and updated DAL
interface.

* lib/kadm5/kadm_rpc.h: Delete err_str fields.
* lib/kadm5/kadm_rpc_xdr.c: Don't process them.
* kadmin/server/server_stubs.c: Don't use ret.err_str field.

* include/k5-thread.h (k5_key_t): Deleted unused values.

* lib/kdb/kdb5.h (KDB_MODULE_SECTION): Change db_modules to dbmodules.
(KDB_MODULE_DEF_SECTION): New macro.
* tests/Makefile.in (krb5.conf): Rename db_modules to dbmodules.
* tests/dejagnu/config/default.exp (setup_krb5_conf): Likewise.
* kadmin/testing/proto/krb5.conf.proto: Likewise.

* lib/kdb/libkdb5.exports: Do export krb5_def_store_mkey.

* lib/kadm5/admin.h (KADM5_CPW_FUNCTION, KADM5_RANDKEY_USED): New macros.
(struct _kadm5_config_params): New field kpasswd_server.

* lib/krb5/error_tables/kdb5_err.et (KRB5_KDB_SERVER_INTERNAL_ERR):
New error code.

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

18 years agoDon't include kdb.h from k5-int.h; instead, include it in the handful
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

18 years ago* configure.in: Delete OSF/1 libsecurity/setluid/LOGINLIBS code
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

18 years agomake depend
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

18 years agoRemove ChangeLog files from the source tree. From now on, the
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

18 years agoRemove .Sanitize file
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

18 years ago* Sanitize: Removed
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

18 years agoRemove .Sanitize and .rconf files, no longer used
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

18 years agoMove pty library from util/pty to appl/libpty; update Makefile.in and
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

18 years ago* kdc_preauth.c (verify_enc_timestamp): Initialize decrypt_err
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

18 years ago* client.c (usage): Mark as "noreturn" under gcc
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

18 years ago* kdb5.c (kdb_unlock_lib_lock, kdb_destroy_lib_lock): Cast 0 to void to silence
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

18 years ago* aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Use quotes around tr arguments
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

18 years ago* shlib.conf (*-*-linux*): Use linker flag --as-needed when
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

18 years ago* kadm_net.c (kadm_cli_send): Use 0, not NULL, when checking numeric
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

18 years agoMove definitions of KRB5_PRIVATE and KRB5_DEPRECATED from autoconf.h
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

18 years ago* fakeenv.c: Unused file deleted
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

18 years agoAdd prerequisites for some header checks to avoid "present but cannot
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

18 years ago* setenv.c: Include autoconf.h
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

18 years ago* getdate.y: Include autoconf.h always. Don't include config.h
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

18 years ago* Makefile.in ($(srcdir)/profile_tcl.c): Don't invoke swig automatically
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

18 years agomake depend
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

18 years agomore DEFS=
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

18 years agoset DEFS empty in more places
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

18 years ago* err_handle.c: Include autoconf.h and string.h.
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

18 years ago* Makefile.in (DEFS): Make empty.
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

18 years agoinclude autoconf.h in a few more places
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

18 years ago* Makefile.in (DEFS): Make empty
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

18 years agoResults from Kerberos Interop session:
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

18 years agoticket: new
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

18 years agodon't use configure-defined macros on command line, use autoconf.h only
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

18 years agomake depend
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

18 years agoInclude autoconf.h (or include it earlier) in a bunch of files that are
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

18 years ago* db2_exp.c, kdb_db2.c: Include k5-int.h earlier
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

18 years ago* configure.in: Check for access, ftime, getcwd, srand48, srand, srandom, stat,
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

18 years ago* aclocal.m4 (KRB5_SOCKADDR_SA_LEN): Use AC_CHECK_MEMBER.
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

18 years ago* configure.in: Never define size_t
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

18 years ago* configure.in: Always provide three arguments to AC_DEFINE
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

18 years ago* configure.in: Remove the #undef lines for the PACKAGE_ macros
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

18 years ago* configure.in: Don't test word sizes
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

18 years ago* kt_file.c (krb5_ktf_keytab_externalize, krb5_ktf_keytab_internalize): Read
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

18 years ago* secure.c: Include autoconf.h. Include stdint.h and inttypes.h if available.
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

18 years ago* prof_int.h (SIZEOF_INT, SIZEOF_SHORT, SIZEOF_LONG)[_WIN32]: Don't define
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

18 years ago* configure.in: Don't test sizes of natural types
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

18 years agoStop checking sizeof(type) at configure time.
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

18 years ago* util_token.c: Include limits.h.
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

18 years agomake depend, now with dependency sorting
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

18 years ago* depfix.pl (uniquify): Sort dependencies, so little tweaks to include orders
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

18 years agomake depend
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

18 years ago* klist.c: Include autoconf.h first
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

18 years ago* dyn.c (DynDelete, DynInsert, DynPut): Delete bcopy branches.
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

18 years ago* aesopt.h: Include autoconf.h
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

18 years ago* shs.c: Include shs.h first
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

18 years ago* pty-int.h: Include autoconf.h
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

18 years agomake depend
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

18 years ago* ss_internal.h: Include autoconf.h
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

18 years ago* k524init.c: Include autoconf.h
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

18 years ago* configure.in: Put definition of KRB5_AUTOCONF_H at top of header file, not
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

18 years agoinclude autoconf.h before krb5.h
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

18 years agofill a paragraph in a comment because it's making my scripted parsing difficult
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

18 years agoCurrently logger.c is built as part of the KDC, and also built into
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

18 years agoInclude autoconf.h early in sources, and disable use of @DEFS@
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

18 years ago* configure.in: Always pass three arguments to AC_DEFINE
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

18 years ago* configure.in: Always supply three arguments to AC_DEFINE_UNQUOTED
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

18 years ago* configure.in: Check for getusershell, lstat, pwd.h, arpa/inet.h. On OSF/1,
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

18 years ago* aclocal.m4 (CHECK_UTMP): Call AC_CHECK_FUNCS once instead of AC_CHECK_FUNC
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

18 years ago* configure.in: Supply comment template in AC_DEFINE calls
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

18 years ago* configure.in: Supply all three arguments when calling AC_DEFINE
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

18 years ago* configure.in: Don't define NDBM_PW_CHECK
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

18 years agomake depend
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

18 years ago* wconfig.pl: New file
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

18 years ago* Makefile.in (include_xom): Define as "rem" instead of empty on Windows
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

18 years agoget proper KRB5_CALLCONV definition
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

18 years agofix up windows include/krb5 references
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

18 years agobuild and export set/reset_com_err_hook on windows
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

18 years ago* krb5_32.def: Add the new error-message functions
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

18 years agoInitial enhanced error message support, similar to what I sent to
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

18 years agoremove some commented-out commands
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