Jeffrey Altman [Tue, 29 Nov 2005 22:30:10 +0000 (22:30 +0000)]
execute wconfig on src/windows/kfwlogon/Makefile.in
ticket: 3254
tags: pullup
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17519
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 29 Nov 2005 22:22:43 +0000 (22:22 +0000)]
KFW Logon Network Provider
The Logon Network Provider works like the OpenAFS Integrated
Logon. It uses the username entered by the user and the
default realm obtained from krb5.ini and the user entered
password. If possible, tickets are obtained and imported
into the user's CCAPI credential cache.
ticket: new
component: windows
target_version: 1.4.4
status: resolved
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17518
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 29 Nov 2005 22:13:56 +0000 (22:13 +0000)]
Forgot to update the Windows configuration
ticket: 3253
tags: pullup
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17517
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 29 Nov 2005 22:05:23 +0000 (22:05 +0000)]
KFW Network Identity Manager (Beta 2)
All features completed except for:
* Debug Window
* KRB5.INI (aka Realm) Editor
* Column Selection
* Graphics are incomplete
* Documentation is incomplete
ticket: new
status: resolved
component: windows
target_version: 1.4.4
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17516
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 29 Nov 2005 07:38:45 +0000 (07:38 +0000)]
Tru64 compilation fails after k5-int.h/krb5.h changes
Due to some silliness in db-config.h and the Tru64 system header files, an
accidental change in the order of inclusion of certain headers caused the build
to fail.
With this patch, "make all" succeeds, but "make check" fails partway through;
I'm still investigating, and don't know at this point if there are additional
compilation problems.
* policy_db.h: Include db.h after gssrpc/types.h, to fix compilation on Tru64.
ticket: new
target_version: 1.4.4
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17515
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 29 Nov 2005 04:40:49 +0000 (04:40 +0000)]
* network.c (listen_and_process): Make local variable 'sout' static
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17513
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 29 Nov 2005 04:31:03 +0000 (04:31 +0000)]
* shlib.conf (*-*-solaris*): Include $(CFLAGS) in LDCOMBINE. Don't use
compiler command-line options for initializers for Solaris 7 and earlier native
compilers.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17512
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 29 Nov 2005 02:51:15 +0000 (02:51 +0000)]
* Makefile.in (test_getpw.$(OBJEXT)): New intermediate target.
(test_getpw): Don't build directly from source.
(test_getsockname): New target.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17511
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 29 Nov 2005 02:49:47 +0000 (02:49 +0000)]
* test_getsockname.c: Include autoconf.h.
(main): Fix type of variable 'i' used for size of socket address.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17510
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 29 Nov 2005 00:19:58 +0000 (00:19 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17505
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 29 Nov 2005 00:15:24 +0000 (00:15 +0000)]
don't break make depend in lib/crypto on k5-int.h ordering
* t_cts.c, vectors.c: Don't include krb5.h.
ticket: new
tags: pullup
target_version: 1.4.4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17504
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 02:05:16 +0000 (02:05 +0000)]
ignore some files generated via make check
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17500
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 01:54:58 +0000 (01:54 +0000)]
* t_hmac.c, t_pkcs5.c: Don't include krb5.h
ticket: 3236
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17499
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 01:46:39 +0000 (01:46 +0000)]
* Makefile.in (osconf.h): Always remove osconf.new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17498
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 01:43:43 +0000 (01:43 +0000)]
ignore built fakeka
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17497
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 01:37:56 +0000 (01:37 +0000)]
* fakeka.c (main): Pass extra null-pointer argument to kadm5_init_with_password
for new db_args argument added by DAL changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17496
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 01:29:45 +0000 (01:29 +0000)]
* fakeka.c: Include errno.h
ticket: 3236
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17495
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 18 Nov 2005 01:22:06 +0000 (01:22 +0000)]
Fix additional cases where krb5.h is included before k5-int.h. In most cases,
it suffices to remove the inclusion of k5-int.h, sometimes including errno.h or
another header. In a couple cases, include order has been changed, or k5-int.h
has been included instead of krb5.h.
ticket: 3236
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17494
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 17 Nov 2005 04:05:39 +0000 (04:05 +0000)]
add a bunch of ignores for things built during a normal in-tree build
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17492
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 15 Nov 2005 00:31:41 +0000 (00:31 +0000)]
This commit ensures that all files in the library include
k5-int.h before krb5.h is included either directly or
indirectly. This is to allow Kerberos to use pre-processor
symbols to choose configurations of C run time library headers
without affecting third party applications.
ticket: 3236
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17489
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 15 Nov 2005 00:16:17 +0000 (00:16 +0000)]
* Correct function prototypes that should have been using
krb5_timestamp in order to prevent type conflicts if
krb5_timestamp ever becomes a 64-bit value
* Force the use of 32-bit time_t with Microsoft's VS 2005
compiler on 32-bit platforms
* Test for inclusion of krb5.h before k5-int.h
ticket: 2883
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17488
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 3 Nov 2005 21:49:00 +0000 (21:49 +0000)]
mkrel should delete .svn directories
* mkrel: Delete .svn directories to avoid pathname length bloat.
ticket: new
target_version: 1.4.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17480
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Wed, 2 Nov 2005 01:14:30 +0000 (01:14 +0000)]
Initial Commit Network Identity Manager for Windows
Initial commit of Network Identity Manager for KFW 3.0 Beta 1
ticket: new
tags: pullup
component: windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17476
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 1 Nov 2005 04:25:50 +0000 (04:25 +0000)]
New NSIS installer for KFW 3.0 Beta 1
- adds support for Network Identity Framework
- removes leash32.exe
ticket: new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17475
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Tue, 1 Nov 2005 04:23:52 +0000 (04:23 +0000)]
For KFW 3.0 Beta 1
- supports Network Identity Manager framework
- moves leash32.exe to a new disabled component
- auto-generates a new product id with each build
ticket:new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17474
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Mon, 31 Oct 2005 21:37:26 +0000 (21:37 +0000)]
* gssapi32.def: export missing functions
gss_krb5_set_allowable_enctypes
gss_krb5_export_lucid_sec_context
gss_krb5_free_lucid_sec_context
ticket: 3219
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17470
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Mon, 31 Oct 2005 21:37:05 +0000 (21:37 +0000)]
* gssapi32.def: export missing functions
gss_krb5_set_allowable_enctypes
gss_krb5_export_lucid_sec_context
gss_krb5_free_lucid_sec_context
ticket: 3219
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17469
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Mon, 31 Oct 2005 19:23:19 +0000 (19:23 +0000)]
* acquire_cred.c (acquire_init_cred):
If a specific principal has been requested, attempt to acquire
tickets and set the ccache name in the context to the ccache
containing the tickets if obtained. (KFM/KFW)
* ccdefault.c:
(krb5int_cc_default) - add KFW support for multiple ccaches
ticket: 3223
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17468
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 28 Oct 2005 00:33:43 +0000 (00:33 +0000)]
* aclocal.m4 (K5_AC_INIT): Initialize build_dynobj to no
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17467
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 27 Oct 2005 22:41:16 +0000 (22:41 +0000)]
When passed GSS_C_INITIATE and a non-NULL desired name, gss_acquire_cred
should search the available credentials caches rather than simply failing
if tickets for the desired client principal are not in the default ccache.
(this is the KfM-specific portion of the patch -- still need KfW portion)
ticket: 3223
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17466
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 09:38:05 +0000 (09:38 +0000)]
If configure scripts set build_dynobj=yes, force build of shared objects and
not static objects; set it in the db2 directories. Fix up some bugs in Mac
support just checked in for building plugin modules.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17461
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 07:02:41 +0000 (07:02 +0000)]
Remove dependency listing on old depfix.sed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17460
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 07:02:06 +0000 (07:02 +0000)]
Rename depfix2.pl to depfix.pl
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17459
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 06:59:22 +0000 (06:59 +0000)]
Roll all the "make depend" transformations into one perl script
* util/depfix2.pl: Incorporate all substitutions from depfix.sed.
* util/depfix.sed: Deleted.
* config/post.in (.depend): Don't run sed, just use perl.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17458
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 05:52:57 +0000 (05:52 +0000)]
make depend
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17457
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 05:19:45 +0000 (05:19 +0000)]
Allow dynamic-object dependencies and build flags to be specified as distinct from
shared-library dependencies and flags. Define them for the Mac, default to same as
shared-library versions on other platforms.
* config/shlib.conf: Set DYNOBJ_EXPDEPS and DYNOBJ_EXPFLAGS.
(*-*-darwin*): Change MAKE_DYNOBJ_COMMAND definition to use DYNOBJ_EXPFLAGS and
DYNOBJ_LOADER_PROG instead of SHLIB_EXPFLAGS and a hardcoded pathname to the KDC binary,
respectively.
* config/pre.in (DYNOBJ_EXPDEPS, DYNOBJ_EXPFLAGS): New variables.
* config/libnover.in ($(LIBBASE)$(DYNOBJEXT)): Use DYNOBJ_EXPDEPS instead of SHLIB_EXPDEPS
in dependencies.
* aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJ_EXPDEPS and DYNOBJ_EXPFLAGS.
* modules/kdb/db2/Makefile.in (DYNOBJ_LOADER_PROG, DYNOBJ_EXPFLAGS_WITH_LOADER,
DYNOBJ_EXPDEPS_WITH_LOADER): New variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17456
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 27 Oct 2005 03:24:53 +0000 (03:24 +0000)]
* aclocal.m4 (KRB5_AC_INET6): Drop enable/disable-ipv6 option; emit a warning for it for
now, and always do use-if-available.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17455
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 26 Oct 2005 21:56:02 +0000 (21:56 +0000)]
delete svn:mime-type properties on .hin files, etc
Delete some svn:mime-type properties on .hin files and some other
things in order to prevent files from being erroneously treated as
binary.
ticket: new
target_version: 1.4.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17452
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 25 Oct 2005 19:15:24 +0000 (19:15 +0000)]
* ac_check_krb5.m4: Set LIBS rather than LDFLAGS
ticket: 2923
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17451
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 21 Oct 2005 20:03:44 +0000 (20:03 +0000)]
Delete setting and testing of STAT_ONCE_PER_SECOND, just always do it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17449
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 21 Oct 2005 01:36:25 +0000 (01:36 +0000)]
Renamed variable 'log' to 'logfile' and made it static
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17448
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 21 Oct 2005 01:32:57 +0000 (01:32 +0000)]
reindent to style in doc/coding-style, via gnu indent
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17447
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 21 Oct 2005 01:31:30 +0000 (01:31 +0000)]
* coding-style: Modern (gnu) indent requires a number with -ip
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17446
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 21 Oct 2005 01:17:20 +0000 (01:17 +0000)]
Jeff's patches for a multi-threaded gss-sample suite, modified to not break the
single-threaded UNIX case. (Tested on Linux/x86.) Needs stylistic cleanup at
some point.
ticket: 3214
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17445
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Thu, 20 Oct 2005 20:51:30 +0000 (20:51 +0000)]
win-mac.h: Add definitions for int32_t and uint32_t
ticket:new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17441
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Thu, 20 Oct 2005 20:24:21 +0000 (20:24 +0000)]
cc_mslsa.c:
- provide defaults for client and server names in purge
ticket routines
- properly size the buffers used to store the names.
ticket: new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17440
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Thu, 20 Oct 2005 20:03:03 +0000 (20:03 +0000)]
gssapi_krb5.hin: Add missing GSS_DLLIMP modifiers to all exported
data objects exported from the gssapi32.lib so that the applications
that link to it know that it is there.
ticket: 3189
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17439
dc483132-0cff-0310-8789-
dd5450dbe970
Jeffrey Altman [Thu, 20 Oct 2005 17:20:43 +0000 (17:20 +0000)]
The GINA was being linked to the single threaded runtime
library which was causing thread safety issues. Replace
with libcmt.lib.
ticket: new
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17437
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 19 Oct 2005 23:36:16 +0000 (23:36 +0000)]
* Makefile.in (t_ser): Add dl library and thread link options, since kdb5
library is linked in and needs them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17436
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 19 Oct 2005 22:47:35 +0000 (22:47 +0000)]
* arcfour_s2k.c (asctouni): Counter should be size_t, like len
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17435
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 19 Oct 2005 22:42:20 +0000 (22:42 +0000)]
This fixes an all-too-frequent nightly-testing failure on Tru64
* default.exp (setup_krb5_conf): Don't include a non-listening KDC port in the
client's config file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17434
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 18 Oct 2005 22:47:48 +0000 (22:47 +0000)]
* ac_check_krb5.m4: Example autoconf macro to use krb5-config for
setting build flags for applications.
ticket: 2923
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17433
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 14 Oct 2005 01:19:02 +0000 (01:19 +0000)]
* libkadm5srv.exports: Don't export internal error-table symbols, or osa*
symbols that no longer exist in this library.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17428
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 14 Oct 2005 01:17:48 +0000 (01:17 +0000)]
* libkadm5clnt.exports: Don't export internal error-table symbols
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17427
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 14 Oct 2005 01:12:58 +0000 (01:12 +0000)]
* lock-test.c (main): Don't call error table initialization routines;
kadm5_init* routines will do that.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17426
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 14 Oct 2005 01:06:25 +0000 (01:06 +0000)]
* Makefile.in (SHLIB_EXPLIBS): Revert 10-04 change; add support library
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17425
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 13 Oct 2005 22:42:26 +0000 (22:42 +0000)]
* kdc_preauth.c (etype_info_as_rep_helper): New function; shared
code for handling ETYPE-INFO and ETYPE-INFO2. Checks request for
"newer" enctypes and does not return an ETYPE-INFO if any "newer"
enctypes are present in the request. Reported by Will Fiveash.
(return_etype_info2, return_etype_info): Implement in terms of
etype_info_as_rep_helper.
ticket: 3207
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17424
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 13 Oct 2005 01:23:02 +0000 (01:23 +0000)]
* shlib.conf: Change aix5.3 section to aix5.*. Change aix* section to aix4.*,
and set DYNOBJEXT and MAKE_DYNOBJ_COMMAND.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17423
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 13 Oct 2005 01:20:42 +0000 (01:20 +0000)]
* libnover.in (PARSE_OBJLISTS): Die on warnings (including input file not found).
* lib.in (PARSE_OBJLISTS): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17422
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 12 Oct 2005 20:48:36 +0000 (20:48 +0000)]
* ktutil_funcs.c (ktutil_add): Fix malloc size botches reported by
Will Fiveash.
ticket: 3002
target_version: 1.4.3
tags: pullup
component: krb5-admin
version_reported: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17421
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 12 Oct 2005 19:56:41 +0000 (19:56 +0000)]
* kdc_preauth.c (return_etype_info2): Apply patch from Will
Fiveash to use reply key's enctype, not the long-term key's
enctype, to avoid some enctype similarity problems.
ticket: 3205
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17420
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 12 Oct 2005 04:09:19 +0000 (04:09 +0000)]
* misc.h, misc.c (schpw_util_wrapper): Rename from
chpass_util_wrapper to make functionality a little more obvious.
* schpw.c (process_chpw_request): Update for rename of
chpass_util_wrapper.
* misc.c (randkey_principal_wrapper_3, schpw_util_wrapper)
(chpass_principal_wrapper_3): Update for check_min_life.
* misc.h, misc.c (check_min_life): Change to take return error
string from KADM5_PASS_TOOSOON, adapted from patch from Shawn
Emery.
ticket: 3092
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17417
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Oct 2005 21:44:41 +0000 (21:44 +0000)]
* Makefile.in (SHLIB_EXPLIBS): Include support library. Don't include system
db library (if in use).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17416
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Oct 2005 21:42:25 +0000 (21:42 +0000)]
* libkdb5.exports: Delete __kdb2_*, kdb2_*, and a bunch of other symbols that
no longer exist in this library.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17415
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 11 Oct 2005 21:41:12 +0000 (21:41 +0000)]
partial doc on Novell changes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17414
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 10 Oct 2005 02:07:38 +0000 (02:07 +0000)]
* configure.in: Don't pull in libdb on AIX any more
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17413
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 7 Oct 2005 18:53:00 +0000 (18:53 +0000)]
* Makefile.in (resolve, addrinfo-test, fake-addrinfo-test): Don't use "$<"
outside of implicit rules.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17412
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 6 Oct 2005 21:17:33 +0000 (21:17 +0000)]
Reduce work done on a second "make" pass over the tree, by not regenerating
lots of makefiles in the process of creating autoconf.h. I think the autoconf
bug that was being worked around in 1996 has since been fixed.
* Makefile.in (autoconf.stamp): When running config.status, only rebuild
autoconf.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17411
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 6 Oct 2005 20:31:13 +0000 (20:31 +0000)]
Fix bug in parallel builds
* Makefile.in (DBSHOBJLISTS): New variable.
($(DBOBJLISTS-k5), $(DBSHOBJLISTS)): Depend on recursion step.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17410
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 5 Oct 2005 01:40:26 +0000 (01:40 +0000)]
Move "make depend" check for built-in db2 into db2 module directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17409
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 5 Oct 2005 01:29:58 +0000 (01:29 +0000)]
Move libdb2 makefile stuff down into db2 module subtree.
Some steps towards making module build on Darwin, not there yet.
* aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJEXT and
MAKE_DYNOBJ_COMMAND.
(KRB5_LIB_AUX): Don't define _KDB5_STATIC_LINK.
* config/libnover.in (darwin.exports): New target.
($(LIBBASE)$(DYNOBJEXT)): New target, instead of $(LIBBASE)$(SHLIBVEXT).
(all-libs): Build $(LIBBASE)$(DYNOBJEXT).
(install-shared): Use DYNOBJEXT.
* config/pre.in (DYNOBJEXT, MAKE_DYNOBJ_COMMAND): New variables.
* config/shlib.conf: Set DYNOBJEXT, MAKE_DYNOBJ_COMMAND to the SHLIB versions.
For Darwin, set them to create a .so bundle, and set SHLIB_EXPORT_FILE_DEP to
darwin.exports.
* config/pre.in (DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys, DB_VERSION, DB_DEPS,
DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB): Variables
deleted.
(KDB5_LIBS): Set to just $(KDB5_LIB).
* modules/kdb/db2/Makefile.in (DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5,
DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB, DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys):
Variable definitions moved here from config/pre.in.
(SHLIB_EXPLIBS): Only use gssrpc and KDB5_DB_LIB.
* modules/kdb/db2/libdb2/test/Makefile.in (DB_LIB, DB_DEPLIB): Define here now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17408
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 23:38:37 +0000 (23:38 +0000)]
Move the db2 library to the site of its one use, the kdb-db2 module.
Update configuration scripts, pathname make variables, etc., accordingly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17407
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 23:36:29 +0000 (23:36 +0000)]
* Makefile.in (DBDIR, DBOBJLISTS, DBOBJLISTS-sys, DBOBJLISTS-k5): Variables
deleted.
(STOBJLISTS): Don't include DBOBJLISTS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17406
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 21:23:21 +0000 (21:23 +0000)]
* Makefile.in (SHLIB_EXPLIBS): Only use gssrpc.
* configure.in: Set enable_shared=yes.
* kdb_xdr.c (krb5_dbe_create_key_data, krb5_dbe_update_tl_data,
krb5_dbe_lookup_tl_data, krb5_dbe_update_last_pwd_change,
krb5_dbe_lookup_last_pwd_change, krb5_dbe_update_mod_princ_data,
krb5_dbe_lookup_mod_princ_data, krb5_dbe_search_enctype,
krb5_dbe_find_enctype): Unused functions deleted.
(safe_realloc): Unused macro deleted.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17405
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 21:16:00 +0000 (21:16 +0000)]
* api.2/init-v2.exp: Temporarily disabled test103
ticket: 3202
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17404
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 20:37:17 +0000 (20:37 +0000)]
* api.1/lock.exp: Temporarily disabled tests
ticket: 3201
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17403
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 20:27:33 +0000 (20:27 +0000)]
* kdb5.c (kdb_get_conf_section): If the default realm is null, return null.
(krb5_db_open): Don't pass null pointer to sprintf if default_realm is null.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17402
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 4 Oct 2005 20:24:14 +0000 (20:24 +0000)]
* create/kdb5_mkdums.c (set_dbname_help): Set default realm and construct an
argument vector describing the database pathname, before calling krb5_db_open.
* verify/kdb5_verify.c (set_dbname_help): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17401
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 3 Oct 2005 21:16:57 +0000 (21:16 +0000)]
* asn1_get.c (asn1_get_tag_2): Patch from Zhihong Zhang to properly
handle tag numbers >= 30.
ticket: 2542
target_version: 1.4.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17400
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 27 Sep 2005 23:30:39 +0000 (23:30 +0000)]
* svr_iters.c (glob_to_regexp): Increment pointer, not character,
when handling backslash quoting. Patch from K.G. Gokulavasan.
ticket: 3190
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17399
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 26 Sep 2005 21:04:00 +0000 (21:04 +0000)]
* Makefile.in (fake-install): Do install in modules/kdb/db2. Caught by Michael
Calmer.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17398
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 22 Sep 2005 20:19:30 +0000 (20:19 +0000)]
Move lib/kdb/kdb_db2 to modules/kdb/db2, and patch up pathnames in various
files to compensate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17395
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 22 Sep 2005 16:46:50 +0000 (16:46 +0000)]
gss_release_buffer can leak zero-length buffers
* rel_buffer.c (generic_gss_release_buffer): Free buffer even if
length is zero. This avoids memory leaks in some cases.
ticket: new
target_version: 1.4.3
tags: pullup
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17388
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 22 Sep 2005 16:44:20 +0000 (16:44 +0000)]
fix krb5_mk_rep subkey leaks
* mk_req_ext.c (krb5int_generate_and_save_subkey): Check for and
free pre-existing subkeys before clobbering the pointers. This
fixes some memory leaks.
ticket: new
target_version: 1.4.3
tags: pullup
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17387
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 22 Sep 2005 02:48:09 +0000 (02:48 +0000)]
fix memory leaks in krb5_gss_import_name() and krb5_gss_inquire_cred()
* import_name.c (krb5_gss_import_name): Add missing free of tmp in
an error case to fix a memory leak.
* inq_cred.c (krb5_gss_inquire_cred): Memory leak fixes: call
krb5_gss_release_cred() with address of cred, not cred; add
missing call to krb5_gss_release_cred() in an error case.
ticket: new
target_version: 1.4.3
tags: pullup
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17386
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 21 Sep 2005 23:01:26 +0000 (23:01 +0000)]
minor_status not cleared sometimes (gsstest nits)
* duplicate_name.c (krb5_gss_duplicate_name):
* export_name.c (krb5_gss_export_name): Fix gsstest nit by
clearing minor_status if no errors.
ticket: new
target_version: 1.4.3
tags: pullup
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17385
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 21 Sep 2005 22:58:07 +0000 (22:58 +0000)]
krb5_gss_inquire_cred can copy out uninitialized pointer
* inq_cred.c (krb5_gss_inquire_cred): Initialize ret_name to
NULL. Only call kg_save_name() if ret_name is actually non-NULL.
Return GSS_C_NO_NAME for now if no principal name in the cred.
Reported by Christoph Weizen.
ticket: new
version_reported: 1.4.2
target_version: 1.4.3
tags: pullup
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17384
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 16 Sep 2005 19:23:41 +0000 (19:23 +0000)]
* dnsglue.c (USE_RES_NINIT): Fix braino: define to 1, not empty
string.
ticket: 3172
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17382
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Sep 2005 03:30:21 +0000 (03:30 +0000)]
* adm_proto.h (krb5_adm_connect, krb5_adm_disconnect, krb5_adm_dbent_to_proto,
krb5_adm_proto_to_dbent, krb5_adm_proto_to_ktent, krb5_adm_ktent_to_proto,
krb5_free_adm_data, krb5_send_adm_cmd, krb5_send_adm_reply, krb5_read_adm_cmd,
krb5_read_adm_reply): Delete declarations, since none of these functions exist.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17381
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 9 Sep 2005 21:33:25 +0000 (21:33 +0000)]
* fake_addrinfo.c (getaddrinfo): AI_NUMERICSERV fix for AIX
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17380
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 9 Sep 2005 21:30:38 +0000 (21:30 +0000)]
mine:
* fake-addrinfo-test.c: New file.
* Makefile.in (check): Do pass arguments to addrinfo-test invocation added by
Marc's patch.
(fake-addrinfo-test): New target.
(all): Depend on it.
(SRCS): Fix typo in last change. Add fake-addrinfo-test.c.
(OBJS): Add fake-addrinfo-test.o.
from Marc Aurele La France:
* Makefile.in: Build addrinfo-test.
* addrinfo-test.c (main): 'numeric' -> 'numerichost'; Add -n option to set
AI_NUMERICSERV (if available); print usage message when no arguments are
given.
ticket: 3176
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17379
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 9 Sep 2005 21:22:18 +0000 (21:22 +0000)]
patch from Marc Aurele La France:
* shlib.conf (case *-*-aix5.3*): Generate proper shared libraries acceptable
to dlopen(3) (as in mechglue, for example). Allows for building both shared
and static libraries in one run. Only done for AIX 5.3, but probably should be
done for earlier versions.
ticket: 3176
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17378
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 8 Sep 2005 23:13:39 +0000 (23:13 +0000)]
Rework logic for using res_ninit() and friends to fall back to
res_init() if res_ndestroy() isn't available.
ticket: 3172
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17377
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 8 Sep 2005 22:14:08 +0000 (22:14 +0000)]
update mkrel for svn
* mkrel: Update for svn.
ticket: new
target_version: 1.4.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17376
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 8 Sep 2005 01:44:53 +0000 (01:44 +0000)]
* default.exp: Initialize can_get_root to yes.
(setup_root_shell): If can_get_root is "no", log a message and return, without
making another attempt. On failing attempts, set can_get_root to "no".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17375
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 1 Sep 2005 20:48:53 +0000 (20:48 +0000)]
Move KfM-specific build system components to KfM repository
Moved KfM-specific build system components into the KfM repository
to avoid conflicts between kfm and krb5 branch points and commit procedures.
Only KfM developers have been editing these files anyway so there is no
advantage to having them in the krb5 repository.
ticket: new
Component: krb5-build
Target_Version: 1.4.3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17367
dc483132-0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 29 Aug 2005 19:22:52 +0000 (19:22 +0000)]
Remove changebar.sty
The changebar.sty file found in the doc directory has questionable
licensing. In particular, it is not the same changebar.sty found in
CTAN and has no well defined license specified in the file. Since we
do not actually need changebar.sty, remove it.
ticket: new
Target_Version: 1.4.3
Tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17363
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 25 Aug 2005 23:48:46 +0000 (23:48 +0000)]
ignore some more generated files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17362
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 25 Aug 2005 23:46:17 +0000 (23:46 +0000)]
ignore latex-generated files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17361
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 25 Aug 2005 23:41:34 +0000 (23:41 +0000)]
* kadm5/adb-unit-test.tex: Use RCS Id keyword instead of Header.
* kadm5/api-unit-test.tex: Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17360
dc483132-0cff-0310-8789-
dd5450dbe970