]> git.ipfire.org Git - thirdparty/krb5.git/log
thirdparty/krb5.git
13 years agoDon't use syslog / LOG_DEBUG when they don't exist
Kevin Wasserman [Tue, 15 May 2012 18:38:05 +0000 (14:38 -0400)] 
Don't use syslog / LOG_DEBUG when they don't exist

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 5ae666d1591f5ab8bc1182d053cdda7ce9a855d2)

ticket: 7207
version_fixed: 1.10.3
status: resolved

13 years agoFix -DDEBUG compilation errors
Henry B. Hotz [Mon, 4 Jun 2012 14:56:38 +0000 (10:56 -0400)] 
Fix -DDEBUG compilation errors

(cherry picked from commit 7c3ecf5c77e33f6d04d6226b041071c6ce23b062)

ticket: 7150
version_fixed: 1.10.3
status: resolved

13 years agoRemove DISABLE_TRACING from windows build
Kevin Wasserman [Fri, 13 Jul 2012 02:13:53 +0000 (22:13 -0400)] 
Remove DISABLE_TRACING from windows build

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 6931507c87d6139b1dcea2ea97a6e3b145287438)

ticket: 7215
version_fixed: 1.10.3
status: resolved

13 years agokrb5_stdccv3_get_principal error handling fixup
Kevin Wasserman [Sun, 6 May 2012 21:50:20 +0000 (17:50 -0400)] 
krb5_stdccv3_get_principal error handling fixup

Don't treat an error returned by krb5_parse_name as a cc-internal error.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit fbe77b2c7d4340097690cbed7b48fd9888feacd4)

ticket: 7214
version_fixed: 1.10.3
status: resolved

13 years agoImplement cccol iterators for mslsa
Kevin Wasserman [Mon, 21 May 2012 11:39:33 +0000 (07:39 -0400)] 
Implement cccol iterators for mslsa

Also implement  switch_to stub

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 218193bb93d8cf9fd82087533c45602b6a8c5151)

Fix macro redefinition warnings in cc_mslsa.c

Include ntstatus.h and define WIN32_NO_STATUS before including winnt.h

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit ee6fbe222b34b28c617d4e6df994700af471b1b6)

fix leak in cc_mslsa.c

cc_name needs to be freed in krb5_lcc_close().

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit dcd9202f058830eacbbdfd0dd26bd82d8101e8fd)

ticket: 7213
version_fixed: 1.10.3
status: resolved

13 years agoMSLSA Don't use lstrcpy on ANSI strings
Kevin Wasserman [Fri, 11 May 2012 15:36:19 +0000 (11:36 -0400)] 
MSLSA Don't use lstrcpy on ANSI strings

Also change parameter types to eliminate casts.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 7acb524f5aa00274771dbbfac19d2dd779aad409)

ticket: 7212
version_fixed: 1.10.3
status: resolved

13 years agoRemove the UNICODE defines from wshelper
Alexey Melnikov [Thu, 22 Sep 2011 17:12:47 +0000 (18:12 +0100)] 
Remove the UNICODE defines from wshelper

wshelper is clearly not intended to use unicode:
wprintf is used extensively and exclusively to write to char[] buffers and
fields in dns structs are used as explicitly ASCII text.

Signed-off-by: Alexey Melnikov <aamelnikov@gmail.com>
(cherry picked from commit 7d156d88ce5cdc40b1df02f051d65b3ad93c60e1)

ticket: 7210
version_fixed: 1.10.3
status: resolved

13 years agoDefine USE_CCAPI_V3 in krb5/ccache on windows
Kevin Wasserman [Thu, 12 Jul 2012 20:23:21 +0000 (16:23 -0400)] 
Define USE_CCAPI_V3 in krb5/ccache on windows

USE_CCAPI_V3 provides cccol iteration support for ccapi.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 227a1b093cb22eb7c6d7fee0759f28816572db70)

Build lib/krb5/ccache/ccapi on Windows only

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 8c3d2bfab7017a587d0c9a7de262cdcf18ce21c8)

ticket: 7209
version_fixed: 1.10.3
status: resolved

13 years agoUse %i, not %s to Tprintf GetLastError()
Kevin Wasserman [Mon, 21 May 2012 11:40:43 +0000 (07:40 -0400)] 
Use %i, not %s to Tprintf GetLastError()

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 692c1ccea5af4549437937a424b64ab40178fcc2)

ticket: 7206
version_fixed: 1.10.3
status: resolved

13 years agoKFW win-mac.h fixes
Kevin Wasserman [Wed, 6 Jun 2012 22:22:22 +0000 (18:22 -0400)] 
KFW win-mac.h fixes

kfw: add int16_t, uint16_t typedefs to win-mac.h
uint16_t is used in chpw.c

include stdlib.h, crtdbg.h in win-mac.h

Allows leak-tracking using built-in msvc tools on windows.
crtdbg.h needs to come _after_ stdlib.h, but _before_ checking for
strdup.  Define DEBUG and CRTDBG_MAP_ALLOC for full tracking.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 0a27c56e300990909317630e626ccdd8ae8e7f41)

ticket: 7204
version_fixed: 1.10.3
status: resolved

13 years agokfw add preauth_sam2 to OBJS for windows build
Kevin Wasserman [Wed, 6 Jun 2012 22:17:35 +0000 (18:17 -0400)] 
kfw add preauth_sam2 to OBJS for windows build

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit d319617ba9dd1256784fe325ae5a3858cf4603e7)

ticket: 7203
version_fixed: 1.10.3
status: resolved

13 years agoHandle huge /bin directories in libdb2 test
Tom Yu [Thu, 12 Jul 2012 18:26:15 +0000 (14:26 -0400)] 
Handle huge /bin directories in libdb2 test

The test suite for libdb2 uses /bin as a source of filenames and
contents for insertion into databases.  Fedora 17 (and possibly other
OSes) have /bin symlinked to /usr/bin, which can vastly increase the
number of files found, exceeding some limits of the test databases.
Truncate this list of files at 100 to prevent this problem.

(cherry picked from commit 18a378eb43a7a5a5e14a7e6c3b6504fe32804781)

ticket: 7201
version_fixed: 1.10.3
status: resolved

13 years agoAlways recreate acl files during dejagnu tests
Tom Yu [Thu, 12 Jul 2012 03:35:44 +0000 (23:35 -0400)] 
Always recreate acl files during dejagnu tests

The dejagnu tests create some persistent acl files containing
hostname-derived principal names.  These can get out of date if the
host has changed names since the last time the dejagnu tests were run,
causing failures (notably in iprop.exp).  To avoid this problem,
change the dejagnu tests to always create new acl files for each test
run.

(cherry picked from commit 244bb3fde58dd6bab0969e0501b537c5871088f0)

ticket: 7200
version_fixed: 1.10.3
status: resolved

13 years agoAdd krb5int_cc_user_set_default_name
Tom Yu [Mon, 23 Jul 2012 18:56:10 +0000 (14:56 -0400)] 
Add krb5int_cc_user_set_default_name

Set the default credential cache name for all processes for the current
user.  Currently implemented, for windows only, by setting
HKEY_CURRENT_USER\Software\MIT\Kerberos5:ccname to the specified
ccache name.  This will not override the environment variable 'KRB5CCNAME'.
It will override HKEY_LOCAL_MACHINE and 'indirect' registry values.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 80097093062822dde3f1140d250023576e52f59c)

ticket: 7199
version_fixed: 1.10.3
status: resolved

13 years agoImplement switch_to for ccapiv3
Kevin Wasserman [Sun, 6 May 2012 19:23:10 +0000 (15:23 -0400)] 
Implement switch_to for ccapiv3

krb5_stdccv3_switch_to() calls cc_ccache_set_default().
krb5_stdccv3_resolve() checks for NULL or empty residual and calls
cc_context_get_default_ccache_name() in those cases.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 2648a94ea1cf3dec91186dfec59b75de9dac793d)

ticket: 7198
version_fixed: 1.10.3
status: resolved

13 years agoTranslate WinSock errors to Posix counterparts
Kevin Wasserman [Fri, 20 Apr 2012 15:36:13 +0000 (11:36 -0400)] 
Translate WinSock errors to Posix counterparts

MSVC 2010 defines both Posix and WinSock error values so we can no longer
simply #define the Posix error values to be their WinSock counterpart.
This patch explicitly #includes <errno.h> in port-sockets.h and still
conditionally defines the Posix error values for compatibility with older
MSVC but also translates WinSock errors to Posix for MSVC 2010
compatibility.

The downside to this approach is that there are some Posix errors we
do not currently detect (e.g. EADDRINUSE) that are neither #defined nor
translated.  If we use one of those in the future but fail to update
TranslateWSAGetLastError() we'll once again be in the situation that the
windows build will compile but fail to work, possibly only when some rare
error condition occurs.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit fc08c21ab33fcc0c8851a2a0fb0e55721ff975ea)

ticket: 7197
version_fixed: 1.10.3
status: resolved

13 years agoFix crash on invalid DIR ccache primary file
Greg Hudson [Mon, 25 Jun 2012 15:19:56 +0000 (11:19 -0400)] 
Fix crash on invalid DIR ccache primary file

If read_primary_file() fails with an error other than ENOENT, abort
cache resolution rather than dereferencing a null pointer.  Reported
by Oliver Loch.

(cherry picked from commit 036ca94bdc00cc8eb248dc5c0da85ab556d3373e)

ticket: 7185
version_fixed: 1.10.3
status: resolved

13 years agoUse correct profile var in krb5_get_tgs_ktypes
Tom Yu [Fri, 15 Jun 2012 19:12:16 +0000 (15:12 -0400)] 
Use correct profile var in krb5_get_tgs_ktypes

In r21879, when we converted to using KRB5_CONF macros for profile
variable names, we made a typo in krb5_get_tgs_ktypes and erroneously
started using default_tkt_enctypes instead of default_tgs_enctypes for
TGS requests.  Fix the typo and return to the documented behavior.

(cherry picked from commit 627ed34ba368fe989b7498bddf9d9dae40d76135)

ticket: 7155
version_fixed: 1.10.3
status: resolved

13 years agoUpdate patchlevel.h to krb5-1.10.2-postrelease
Tom Yu [Fri, 1 Jun 2012 00:04:01 +0000 (20:04 -0400)] 
Update patchlevel.h to krb5-1.10.2-postrelease

13 years agoREADME and patchlevel.h for krb5-1.10.2 krb5-1.10.2-final
Tom Yu [Thu, 31 May 2012 23:47:15 +0000 (19:47 -0400)] 
README and patchlevel.h for krb5-1.10.2

13 years agoUpdate acknowledgments
Tom Yu [Wed, 30 May 2012 22:22:59 +0000 (18:22 -0400)] 
Update acknowledgments

13 years agoMake depend
Tom Yu [Wed, 30 May 2012 19:09:30 +0000 (15:09 -0400)] 
Make depend

13 years agoNull pointer deref in kadmind [CVE-2012-1013]
Richard Basch [Tue, 29 May 2012 18:07:03 +0000 (14:07 -0400)] 
Null pointer deref in kadmind [CVE-2012-1013]

The fix for #6626 could cause kadmind to dereference a null pointer if
a create-principal request contains no password but does contain the
KRB5_KDB_DISALLOW_ALL_TIX flag (e.g. "addprinc -randkey -allow_tix
name").  Only clients authorized to create principals can trigger the
bug.  Fix the bug by testing for a null password in check_1_6_dummy.

CVSSv2 vector: AV:N/AC:M/Au:S/C:N/I:N/A:P/E:H/RL:O/RC:C

[ghudson@mit.edu: Minor style change and commit message]

(cherry picked from commit c5be6209311d4a8f10fda37d0d3f876c1b33b77b)

ticket: 7152
version_fixed: 1.10.2
status: resolved

13 years agoExport gss_mech_krb5_wrong from libgssapi_krb5
Greg Hudson [Tue, 22 May 2012 17:45:18 +0000 (13:45 -0400)] 
Export gss_mech_krb5_wrong from libgssapi_krb5

Although there are few legitimate reasons to use gss_mech_krb5_wrong,
it's declared in the public header and exported in the Windows DLL.
So export it from the Unix library as well.

(cherry picked from commit 9b693c2c5370a3a792f594ccb08475465438cd19)

ticket: 7148
version_fixed: 1.10.2
status: resolved

13 years agoFix S4U user identification in preauth case
Greg Hudson [Thu, 24 May 2012 17:03:26 +0000 (13:03 -0400)] 
Fix S4U user identification in preauth case

In 1.10, encrypted timestamp became a built-in module instead of a
hardcoded padata handler.  This changed the behavior of
krb5_get_init_creds as invoked by s4u_identify_user such that
KRB5_PREAUTH_FAILED is returned instead of the gak function's error.
(Module failures are not treated as hard errors, while hardcoded
padata handler errors are.)  Accordingly, we should look for
KRB5_PREAUTH_FAILED in s4u_identify_user.

On a less harmful note, the gak function was returning a protocol
error code instead of a com_err code, and the caller was testing for a
different protocol error code (KDC_ERR_PREAUTH_REQUIRED) which could
never be returned by krb5_get_init_creds.  Clean up both of those by
returning KRB5_PREAUTH_FAILED from the gak function and testing for
that alone.

Reported by Michael Morony.

(cherry picked from commit 33a64a7f9dc7342880f7a477a8b3447891d20af5)

ticket: 7136
version_fixed: 1.10.2
status: resolved

13 years agoExport krb5_set_trace_callback/filename
Greg Hudson [Mon, 21 May 2012 05:39:14 +0000 (01:39 -0400)] 
Export krb5_set_trace_callback/filename

krb5_set_trace_callback and krb5_set_trace_filename were added to
krb5.h in krb5 1.9, but were mistakenly left out of the library export
lists.  Add them now.  Reported by Russ Allbery.

(backported from commit 61e6ab231b75f7ac3ff8967f002436e48ce05620)

ticket: 7143
version_fixed: 1.10.2
status: resolved

13 years agoIn sn2princ, getaddrinfo without AI_ADDRCONFIG
Greg Hudson [Thu, 3 May 2012 15:15:51 +0000 (15:15 +0000)] 
In sn2princ, getaddrinfo without AI_ADDRCONFIG

When canonicalizing a principal, use AI_CANONNAME alone in the hint
flags for getaddrinfo, for two reasons.  First, it works around a gnu
libc bug where getaddrinfo does a PTR lookup for the canonical name
(we tried to work around this in r24977 bug the addition of
AI_ADDRCONFIG caused the same problem as the use of AF_INET).  Second,
an IPv4-only host should be able create a principal for an IPv6-only
host even if it can't contact the host.

This does result in extra AAAA queries in the common case (IPv4-only
host contacting IPv4-only service), which is unfortunate.  But we need
to leave that optimization up to the platform at this point.

(cherry picked from commit c3ab5fe0b01a68b14d5657740006488721b48b7b)

ticket: 7124
version_fixed: 1.10.2
status: resolved

13 years agoConvert util/mkrel to use git instead of svn
Greg Hudson [Mon, 14 May 2012 19:06:51 +0000 (15:06 -0400)] 
Convert util/mkrel to use git instead of svn

(cherry picked from commit 933798d193ac406b43724f02837e401db09827e3)

Update CHANGES file generation for Git

Use the correct git log invocation for generating the CHANGES file.
(cherry picked from commit 6d204bc466e2038bacf3e2e3a4b4f5bdc56e6b5e)

Make mkrel work on non-master branches

Appending "--" to the git checkout arguments appears to prevent it
from automatically creating a local branch from the remote.  Also
correct the default git URL and clean up a spurious find warning.
(cherry picked from commit 4fc9c72e5d30c94399baf7069a0d0db25e940a68)

13 years agoUpdate patchlevel.h for Git repository
Tom Yu [Tue, 15 May 2012 22:58:42 +0000 (18:58 -0400)] 
Update patchlevel.h for Git repository

13 years agoMake password change work without default realm
Greg Hudson [Thu, 10 May 2012 17:34:01 +0000 (17:34 +0000)] 
Make password change work without default realm

This fix is not very general or clean, but is suitable for backporting
because it is minimally invasive.  A more comprehensive fix will
follow.

(cherry picked from commit b9ff95a51ef11742abc9687a70b6d8324eda6803)

ticket: 7127
version_fixed: 1.10.2
status: resolved

13 years agoUse correct name-type in TGS-REQs for 2008R2 RODCs
Tom Yu [Fri, 27 Apr 2012 22:40:21 +0000 (22:40 +0000)] 
Use correct name-type in TGS-REQs for 2008R2 RODCs

Correctly set the name-type for the TGS principals to KRB5_NT_SRV_INST
in TGS-REQs.  (Previously, only AS-REQs had the name-type set in this
way.)  Windows Server 2008 R2 read-only domain controllers (RODCs)
insist on having the correct name-type for the TGS principal in
TGS-REQs as well as AS-REQs, at least for the TGT-forwarding case.

Thanks to Sebastian Galiano for reporting this bug and helping with
testing.

(cherry picked from commit 5994d8928b8ff88751b14bc60c7d7bfce8b30e57)

ticket: 7120
version_fixed: 1.10.2
status: resolved

13 years agoClear preauth use counts for each AS request
Greg Hudson [Wed, 25 Apr 2012 17:20:20 +0000 (17:20 +0000)] 
Clear preauth use counts for each AS request

Initialize use_count fields in krb5_preauth_request_context_init,
which is invoked before each AS request.  Previously they were
initialized only in krb5_init_preauth_context, which is only invoked
once per krb5 library context.

(cherry picked from commit f469d77cc53c43a2e85f80ab3cf68caa82c4d24b)

ticket: 7119
version_fixed: 1.10.2
status: resolved

13 years agoTry all history keys to decrypt password history
Greg Hudson [Tue, 24 Apr 2012 01:05:41 +0000 (01:05 +0000)] 
Try all history keys to decrypt password history

A database created prior to 1.3 will have multiple password history
keys, and kadmin prior to 1.8 won't necessarily choose the first one.
So if there are multiple keys, we have to try them all.  If none of
the keys can decrypt a password history entry, don't fail the password
change operation; it's not worth it without positive evidence of
password reuse.

(backported from commit 2782e80a12bccd920fa71e23166ac97c4470a637)

ticket: 7099
version_fixed: 1.10.2
status: resolved

13 years agoMake localedir work in build with autoconf 2.5x
Greg Hudson [Mon, 19 Mar 2012 04:40:52 +0000 (04:40 +0000)] 
Make localedir work in build with autoconf 2.5x

autoconf 2.5x does not define localedir, so we have to detect that and
do it ourselves.

(backported from commit 6abd6ef1d125af12dcf061d677e4315195be4e27)

ticket: 7095
version_fixed: 1.10.2

13 years agokrb5-1.10.1-postrelease
Tom Yu [Thu, 8 Mar 2012 21:50:06 +0000 (21:50 +0000)] 
krb5-1.10.1-postrelease

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25757 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoREADME and patchlevel.h for krb5-1.10.1
Tom Yu [Thu, 8 Mar 2012 19:58:44 +0000 (19:58 +0000)] 
README and patchlevel.h for krb5-1.10.1

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25755 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoIan Abbott reported the bug where krb5_gss_get_name_attribute fails to
Tom Yu [Thu, 8 Mar 2012 17:34:15 +0000 (17:34 +0000)] 
Ian Abbott reported the bug where krb5_gss_get_name_attribute fails to
set display_value.

ticket: 7087
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25754 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoMark Davies reported the password expiry message bug
Tom Yu [Thu, 8 Mar 2012 17:34:12 +0000 (17:34 +0000)] 
Mark Davies reported the password expiry message bug

ticket: 7098
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25753 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoAdam Bernstein reported this bug and helped with analysis
Tom Yu [Thu, 8 Mar 2012 17:34:08 +0000 (17:34 +0000)] 
Adam Bernstein reported this bug and helped with analysis

ticket: 7092
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25752 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25730 from trunk
Tom Yu [Wed, 7 Mar 2012 23:44:36 +0000 (23:44 +0000)] 
Pull up r25730 from trunk

 ------------------------------------------------------------------------
 r25730 | ghudson | 2012-03-05 12:35:14 -0500 (Mon, 05 Mar 2012) | 15 lines

 ticket: 7098
 subject: Fix spurious password expiry warning
 target_version: 1.9.4
 tags: pullup

 r24241 (#6755) introduced a bug where if the KDC sends a LastReq entry
 containing an account expiry time, we send a prompter warning for
 password expiry even if there was no entry containing a password
 expiry time.  Typically, this results in the message "Warning: Your
 password will expire in less than one hour on Thu Jan  1 12:00:00
 1970".

 Fix this by explicitly checking for pw_exp == 0 in warn_pw_expiry()
 after we've gotten past the conditional for invoking the callback.

ticket: 7098
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25741 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25723 from trunk
Tom Yu [Wed, 7 Mar 2012 23:44:32 +0000 (23:44 +0000)] 
Pull up r25723 from trunk

 ------------------------------------------------------------------------
 r25723 | ghudson | 2012-03-01 15:49:17 -0500 (Thu, 01 Mar 2012) | 16 lines

 ticket: 7096
 subject: Fix KDB iteration when callback does write calls
 target_version: 1.10.1
 tags: pullup

 kdb_db2's ctx_iterate makes an convenience alias to dbc->db in order
 to call more invoke call the DB's seq method.  This alias may become
 invalidated if the callback writes to the DB, since ctx_lock() may
 re-open the DB in order to acquire a write lock.  Fix the bug by
 getting rid of the convenience alias.

 Most KDB iteration operations in the code base do not write to the DB,
 but kdb5_util update_princ_encryption does.

 Bug discovered and diagnosed by will.fiveash@oracle.com.

ticket: 7096
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25740 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25725 from trunk, along with backport of r25703
Tom Yu [Wed, 7 Mar 2012 23:44:28 +0000 (23:44 +0000)] 
Pull up r25725 from trunk, along with backport of r25703

 ------------------------------------------------------------------------
 r25725 | tlyu | 2012-03-02 17:24:38 -0500 (Fri, 02 Mar 2012) | 4 lines

 ticket: 7092

 Add test cases for Windows RODC kvno compatibility

 ------------------------------------------------------------------------
 r25703 | ghudson | 2012-02-21 13:57:44 -0500 (Tue, 21 Feb 2012) | 15 lines

 ticket: 7092
 subject: kvno ASN.1 encoding interop with Windows RODCs

 RFC 4120 defines the EncryptedData kvno field as an integer in the
 range of unsigned 32-bit numbers.  Windows encodes and decodes the
 field as a signed 32-bit integer.  Historically we do the same in our
 encoder in 1.6 and prior, and in our decoder through 1.10.  (Actually,
 our decoder through 1.10 decoded the value as a long and then cast the
 result to unsigned int, so it would accept positive values >= 2^31 on
 64-bit platforms but not on 32-bit platforms.)

 kvno values that large (or negative) are only likely to appear in the
 context of Windows read-only domain controllers.  So do what Windows
 does instead of what RFC 4120 says.

ticket: 7092
status: resolved
version_fixed: 1.10.1

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25739 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25716 from trunk
Tom Yu [Wed, 7 Mar 2012 23:44:20 +0000 (23:44 +0000)] 
Pull up r25716 from trunk

 ------------------------------------------------------------------------
 r25716 | tlyu | 2012-02-27 13:31:50 -0500 (Mon, 27 Feb 2012) | 6 lines

 ticket: 7074
 target_version: 1.10.1
 tags: pullup

 Patch from Richard Basch to work around Solaris 8 lacking isblank().

ticket: 7074
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25738 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25704 from trunk
Tom Yu [Wed, 22 Feb 2012 04:11:56 +0000 (04:11 +0000)] 
Pull up r25704 from trunk

 ------------------------------------------------------------------------
 r25704 | ghudson | 2012-02-21 14:14:47 -0500 (Tue, 21 Feb 2012) | 15 lines

 ticket: 7093
 subject: Access controls for string RPCs [CVE-2012-1012]
 target_version: 1.10.1
 tags: pullup

 In the kadmin protocol, make the access controls for
 get_strings/set_string mirror those of get_principal/modify_principal.
 Previously, anyone with global list privileges could get or modify
 string attributes on any principal.  The impact of this depends on how
 generous the kadmind acl is with list permission and whether string
 attributes are used in a deployment (nothing in the core code uses
 them yet).

 CVSSv2 vector: AV:N/AC:M/Au:S/C:P/I:P/A:N/E:H/RL:O/RC:C

ticket: 7093
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25709 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25700 from trunk
Tom Yu [Wed, 22 Feb 2012 04:11:51 +0000 (04:11 +0000)] 
Pull up r25700 from trunk

 ------------------------------------------------------------------------
 r25700 | ghudson | 2012-02-14 13:26:50 -0500 (Tue, 14 Feb 2012) | 9 lines

 ticket: 7089
 subject: Initialize gss_get_name_attribute output buffers
 target_version: 1.10.1
 tags: pullup

 GSS functions which accept gss_buffer_t output arguments should
 initialize those buffers to empty on startup (see gss_wrap, for
 instance).  Do so for gss_get_name_attribute in the mechglue.

ticket: 7089
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25708 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25674 from trunk
Tom Yu [Wed, 22 Feb 2012 04:11:45 +0000 (04:11 +0000)] 
Pull up r25674 from trunk

 ------------------------------------------------------------------------
 r25674 | ghudson | 2012-02-06 18:19:08 -0500 (Mon, 06 Feb 2012) | 18 lines

 ticket: 7087
 status: open
 target_version: 1.10.1
 tags: pullup

 Set display_value in krb5_gss_get_name_attribute

 A backwards conditional in r25358 caused krb5_gss_get_name_attribute
 not to set display_value on success.  Fix the sense of the
 conditional.

 We still don't quite correctly handle the cases where data_to_gss()
 fails, but those should be rare and the problem in those cases isn't
 severe, so it can be fixed separately.

 Also, value and display_value should probably be initialized to null
 buffers on failure, as is common with GSS interfaces.

ticket: 7087
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25707 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25679 from trunk
Tom Yu [Fri, 10 Feb 2012 21:19:13 +0000 (21:19 +0000)] 
Pull up r25679 from trunk

 ------------------------------------------------------------------------
 r25679 | ghudson | 2012-02-07 10:45:59 -0500 (Tue, 07 Feb 2012) | 9 lines

 ticket: 7088
 subject: Fix uninitialized variable warning in trval.c
 target_version: 1.10.1
 tags: pullup

 gcc -O3 is agressive enough to detect that do_cons() doesn't always
 set the value of rlen2, so trval2() gets a maybe-uninitialized
 warning.  Squash it by initializing rlen2.

ticket: 7088
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25683 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25666 from trunk
Tom Yu [Fri, 10 Feb 2012 21:19:10 +0000 (21:19 +0000)] 
Pull up r25666 from trunk

 ------------------------------------------------------------------------
 r25666 | ghudson | 2012-01-31 16:35:34 -0500 (Tue, 31 Jan 2012) | 12 lines

 ticket: 7084
 subject: Don't check mech in krb5_gss_inquire_cred_by_mech
 target_version: 1.10.1
 tags: pullup

 krb5_gss_inquire_cred_by_mech checks its mech argument against two of
 the four mechs a krb5 cred might have (the krb5 mech and the old krb5
 mech, but not the wrong Microsoft mech or the IAKERB mech), so would
 spuriously fail for the other two mechs.  There is no reason to check
 the mechanism if we assume a reasonable mechglue is interpreting
 application gss_inquire_cred_by_mech calls, so just remove the check.

ticket: 7084
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25682 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25660 from trunk
Tom Yu [Fri, 10 Feb 2012 21:19:07 +0000 (21:19 +0000)] 
Pull up r25660 from trunk

 ------------------------------------------------------------------------
 r25660 | ghudson | 2012-01-26 16:56:16 -0500 (Thu, 26 Jan 2012) | 22 lines

 ticket: 7082
 subject: Various lookaside cache fixes
 target_version: 1.10
 tags: pullup

 Don't touch the lookaside cache if we're responding with a lookaside
 cache entry.  Also, leave the null entry behind if we're deliberately
 dropping a request (a rare case) so that we don't have to process it
 again.  Fixes several lookaside problems in 1.10:

 * When dropping a request because it was already being processed, we
   were erroneously removing the null entry, causing us to process the
   request again upon a second retransmit.

 * When responding to a finished request with a lookaside entry, we
   were removing and re-adding the entry to the cache, resetting its
   time and performing unnecessary work.

 * We were not caching responses we couldn't deliver because they were
   too big for UDP, causing us to re-process the request when it came
   in again via TCP instead of simply delivering the cached response.

ticket: 7082
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25681 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25659 from trunk
Tom Yu [Fri, 10 Feb 2012 21:19:01 +0000 (21:19 +0000)] 
Pull up r25659 from trunk

 ------------------------------------------------------------------------
 r25659 | ghudson | 2012-01-26 12:01:05 -0500 (Thu, 26 Jan 2012) | 10 lines

 ticket: 7081
 subject: Don't use stack variable address in as_req state
 target_version: 1.10
 tags: pullup

 The KDC's process_as_req was storing the address of a stack variable
 (client_princ), which fails if the request is not immediately
 serviced.  Move that variable to the state structure so its address
 remains valid for the lifetime of the request.

ticket: 7081
version_fixed: 1.10.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25680 dc483132-0cff-0310-8789-dd5450dbe970

13 years agokrb5-1.10-postrelease
Tom Yu [Fri, 27 Jan 2012 20:16:21 +0000 (20:16 +0000)] 
krb5-1.10-postrelease

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25664 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoREADME and patchlevel.h for krb5-1.10
Tom Yu [Fri, 27 Jan 2012 19:42:58 +0000 (19:42 +0000)] 
README and patchlevel.h for krb5-1.10

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25662 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoUse INSTALL_DATA to install message catalogues
Tom Yu [Wed, 18 Jan 2012 16:37:02 +0000 (16:37 +0000)] 
Use INSTALL_DATA to install message catalogues

Pull up r25492 from trunk

 ------------------------------------------------------------------------
 r25492 | hartmans | 2011-11-29 16:22:26 -0500 (Tue, 29 Nov 2011) | 4 lines

 ticket: new target_version: 1.10 tags: pullup subject: Use INSTALL_DATA to install message catalogues

 Use INSTALL_DATA to avoid marking .mo files executable

ticket: 7078
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25656 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoLIBS should not include PKINIT_CRYPTO_IMPL_LIBS
Tom Yu [Wed, 18 Jan 2012 16:36:57 +0000 (16:36 +0000)] 
LIBS should not include PKINIT_CRYPTO_IMPL_LIBS

Pull up r25491 from trunk

 ------------------------------------------------------------------------
 r25491 | hartmans | 2011-11-29 16:22:21 -0500 (Tue, 29 Nov 2011) | 6 lines

 ticket: new Subject: LIBS should not include PKINIT_CRYPTO_IMPL_LIBS tags: pullup target_version: 1.10

 AC_CHECK_LIB should put -lcrypto in PKINIT_CRYPTO_IMPL_LIBS not LIBS
 for pkinit.  A similar problem exists for crypto_impl and is not
 addressed by this patch.

ticket: 7077
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25655 dc483132-0cff-0310-8789-dd5450dbe970

13 years agokrb5-1.10-beta1-postrelease
Tom Yu [Wed, 11 Jan 2012 23:46:42 +0000 (23:46 +0000)] 
krb5-1.10-beta1-postrelease

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25647 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoREADME and patchlevel.h for krb5-1.10-beta1
Tom Yu [Wed, 11 Jan 2012 23:32:56 +0000 (23:32 +0000)] 
README and patchlevel.h for krb5-1.10-beta1

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25645 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25584 from trunk
Tom Yu [Wed, 11 Jan 2012 03:59:22 +0000 (03:59 +0000)] 
Pull up r25584 from trunk

 ------------------------------------------------------------------------
 r25584 | ghudson | 2011-12-12 19:53:56 -0500 (Mon, 12 Dec 2011) | 9 lines

 ticket: 7051
 subject: krb5_server_decrypt_ticket_keytab wrongly succeeds

 If krb5_server_decrypt_ticket_keytab doesn't find a key of the
 appropriate enctype in an iterable keytab, it returns 0 (without
 decrypting the ticket) due to a misplaced initialization of retval.
 This bug causes kinit -k to claim "keytab entry valid" when it
 shouldn't.  Reported by mark@mproehl.net.

ticket: 7051
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25641 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25605 from trunk
Tom Yu [Tue, 10 Jan 2012 21:36:47 +0000 (21:36 +0000)] 
Pull up r25605 from trunk

 ------------------------------------------------------------------------
 r25605 | ghudson | 2011-12-27 20:31:59 -0500 (Tue, 27 Dec 2011) | 7 lines

 ticket: 7057

 Fix implicit declaration in ksu for some builds

 ksu's setenv implementation needs to include <string.h> for memcpy.
 Patch from basch@alum.mit.edu.

ticket: 7057
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25639 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25633 from trunk
Tom Yu [Tue, 10 Jan 2012 17:52:37 +0000 (17:52 +0000)] 
Pull up r25633 from trunk

 ------------------------------------------------------------------------
 r25633 | tlyu | 2012-01-09 23:23:56 -0500 (Mon, 09 Jan 2012) | 8 lines

 ticket: 7067
 subject: documentation license to CC-BY-SA 3.0 Unported
 target_version: 1.10
 tags: pullup

 Update documentation license to Creative Commons
 Attribution-ShareAlike 3.0 Unported.

ticket: 7067
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25637 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25631 from trunk
Tom Yu [Tue, 10 Jan 2012 17:43:23 +0000 (17:43 +0000)] 
Pull up r25631 from trunk

 ------------------------------------------------------------------------
 r25631 | tlyu | 2012-01-09 16:35:30 -0500 (Mon, 09 Jan 2012) | 7 lines

 ticket: 7065
 subject: delete duplicate NOTICE file
 status: open

 Delete the duplicate NOTICE file, as it is checked into the tree and
 relative include paths work for sphinx.

ticket: 7065
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25636 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25621 from trunk
Tom Yu [Mon, 9 Jan 2012 21:23:48 +0000 (21:23 +0000)] 
Pull up r25621 from trunk

 ------------------------------------------------------------------------
 r25621 | ghudson | 2012-01-07 15:57:36 -0500 (Sat, 07 Jan 2012) | 9 lines

 ticket: 7060
 subject: Convert securid module edata method
 target_version: 1.10
 tags: pullup

 r25348 made modified the edata method of the kdcpreauth interface to
 be async-capable, but neglected to convert the securid_sam2 module's
 edata function.  Do that now.

ticket: 7060
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25630 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25598 from trunk
Tom Yu [Mon, 9 Jan 2012 21:23:46 +0000 (21:23 +0000)] 
Pull up r25598 from trunk

 ------------------------------------------------------------------------
 r25598 | ghudson | 2011-12-20 13:08:07 -0500 (Tue, 20 Dec 2011) | 7 lines

 Table of Contents.hhc -> Table_of_Contents.hhc

 Avoid using spaces in filenames as it makes searching the source
 tree less convenient on Unix.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7055
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25629 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25591, r25604 from trunk
Tom Yu [Mon, 9 Jan 2012 21:23:43 +0000 (21:23 +0000)] 
Pull up r25591, r25604 from trunk

 ------------------------------------------------------------------------
 r25604 | ghudson | 2011-12-27 01:39:07 -0500 (Tue, 27 Dec 2011) | 4 lines

 ticket: 6936

 Fix an unlikely memory leak in r25591
 ------------------------------------------------------------------------
 r25591 | ghudson | 2011-12-16 18:19:01 -0500 (Fri, 16 Dec 2011) | 14 lines

 ticket: 6936
 target_version: 1.10
 tags: pullup

 Do mech fallback for first SPNEGO context token

 When producing the first SPNEGO security context token, if the first
 mechanism's init_sec_context fails, fall back to a later mechanism.

 This fixes a regression in 1.10 for SPNEGO initiators using non-krb5
 credentials.  The identity selection work causes errors to be deferred
 from krb5's acquire_cred in some cases, which means SPNEGO doesn't see
 an error until it tries the krb5 init_sec_context.

ticket: 6936
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25628 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoPull up r25590 from trunk
Tom Yu [Mon, 9 Jan 2012 21:23:40 +0000 (21:23 +0000)] 
Pull up r25590 from trunk

 ------------------------------------------------------------------------
 r25590 | ghudson | 2011-12-16 18:18:54 -0500 (Fri, 16 Dec 2011) | 11 lines

 ticket: 7053
 subject: Verify acceptor's mech in SPNEGO initiator
 target_version: 1.10
 tags: pullup

 In spnego_gss_ctx_id_rec, store the set of negotiable mechanisms as
 well as the currently selected internal_mech, which becomes an alias
 into mech_set.  In init_ctx_reselect, locate the acceptor's counter-
 proposal in sc->mech_set and consider the token defective if it is not
 found.

ticket: 7053
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25627 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoUpdate acknowledgments and some summary info
Tom Yu [Thu, 22 Dec 2011 21:27:16 +0000 (21:27 +0000)] 
Update acknowledgments and some summary info

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25603 dc483132-0cff-0310-8789-dd5450dbe970

13 years agokrb5-1.10-alpha2-postrelease
Tom Yu [Tue, 20 Dec 2011 04:01:28 +0000 (04:01 +0000)] 
krb5-1.10-alpha2-postrelease

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25597 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoREADME and patchlevel.h for krb5-1.10-alpha2
Tom Yu [Mon, 19 Dec 2011 21:21:58 +0000 (21:21 +0000)] 
README and patchlevel.h for krb5-1.10-alpha2

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25595 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25536 from trunk
Tom Yu [Wed, 14 Dec 2011 23:32:41 +0000 (23:32 +0000)] 
pull up r25536 from trunk

 ------------------------------------------------------------------------
 r25536 | ghudson | 2011-12-09 12:57:52 -0500 (Fri, 09 Dec 2011) | 8 lines

 ticket: 7049
 subject: Fix subkey memory leak in krb5_get_credentials
 target_version: 1.10
 tags: pullup

 If a get_credentials operation requires multiple TGS requests, we need
 to free the subkey from previous requests before saving a new one.

ticket: 7049
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25586 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoSquash commits for KfW updates
Tom Yu [Wed, 14 Dec 2011 00:07:54 +0000 (00:07 +0000)] 
Squash commits for KfW updates

windows ccapiserver: replace Sleep with event wait

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
fix warning in test_cc_credentials_iterator_next.c

include test_ccapi_iterators.h for check_cc_credentials_iterator_next

Make ccapiserver exit if its receiveloop thread terminates for any reason.

This happens, for example, when the rpc endpoint is already registered
by another ccapiserver process.  There's no reason to leave a zombie
process running that can't receive messages.

windows ccapi: launch server without console by default.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
windows ccapi: use a random challenge to authenticate ccapiserver.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
LeashView.cpp: only specify TVIF_TEXT if there is actually text.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: add runtime.wxi WIXINCLUDES in Makefile to fix dependencies.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Windows leash64 fixes: use proper names for leash and krb5 dlls

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Windows leash fixes: 'make install' installs leash exes.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: use MSVC 2010 merge modules

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: install leash32.exe

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: clean out unused #defines from Lglobals.h

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: use correct message id to obtain tgt from leash

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: update copyright notice in license.rtf

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fixes: install xpprof32

TODO: xpprof64!

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: purge support for old compilers

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: don't build installer into installer

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fixes: make leash ignore credentials that store config principals.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fix: make Leash_kdestroy() actually destroy k5 tickets

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fix: Add custom "Password incorrect" message to Leash_int_kinit_ex()

Overrides obscure KRB5KRB_AP_ERR_BAD_INTEGRITY message.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fixes: define USE_MESSAGE_BOX in leashdll code for user feedback.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fixes: krb5_get_init_creds_opt_init->krb5_get_init_creds_opt_alloc

Should enable leash to generate config credentials (needs verification!)

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fix: int -> size_t to fix warning in krb5routines.c

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fix: restructure low ticket warning popup code to workaround mfc bug

mfc bug causes assertions when dialog is generated from
within PreTranslateMessages() (MSG input param points to a global
variable which is corrupted in the dialog message loop).  So we need
to instead PostMessage() to cause the popup later.
Also fixed logic to cause warning dialog to actually be modal as intended
when the leash window is not minimized.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fixes: fix _snprintf usage; use full error code in leash_error_message

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw fixes: ccapiserver only quits after all clients detach.

Not sure if this is really a good idea or not...

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: generate manifests

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: generate leash shortcuts (desktop and start menu)

...also install xpprof64

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: fix 'K5_ORIGINAL_NAME' for 64 bit dlls.

...still need to actually to define _WIN64 for rc.exe though

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: purge bufferoverflowu from custom.dll

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: rename leash32/64.exe to simply leash.exe

Also install leash.exe in 64 bit installer.

Split cci_thread_init into per-process and per-thread portions

Call the per-thread code on thread attach and per-process once per
process.  Previously, while the function was named 'thread', it was
only actually called once per process.  Currently, the per-thread
code does nothing on non-windows platforms and is not even actually
invoked.

Fixes a windows bug when multiple non-main threads try to use ccapi
at the same time.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw leash: add -console option to create console for debug output

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: use _WIN64 names where appropriate

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw leash: bracket krb.con code with #ifndef NO_KRB4

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: install krb5.ini to CommonAppDataFolder, not WindowsFolder

...but only if there isn't already a krb5.ini in the WindowsFolder.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: "make install" also installs pdbs

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: leash32.pdb->leash.pdb

kfw installer: add site-local.wxi

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: leash htmlhelp file source

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: use html help in leash

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: "make install" installs htmlhelp (leash.chm)

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw installer: install leash help file (leash.chm)

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw: remove line breaks from html to fix table of contents generation

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw leash help: fix/add aliases for command help

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
kfw leash: fix bad data in get tickets dialog when -autoinit specified

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7050
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25585 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoMake depend
Tom Yu [Wed, 7 Dec 2011 05:26:47 +0000 (05:26 +0000)] 
Make depend

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25528 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25525 from trunk
Tom Yu [Tue, 6 Dec 2011 20:52:18 +0000 (20:52 +0000)] 
pull up r25525 from trunk

 ------------------------------------------------------------------------
 r25525 | tlyu | 2011-12-06 15:42:46 -0500 (Tue, 06 Dec 2011) | 8 lines

 ticket: 7042
 subject: SA-2011-007 KDC null pointer deref in TGS handling [CVE-2011-1530]
 target_version: 1.10
 tags: pullup

 Fix a null pointer dereference condition that could cause a denial of
 service.

ticket: 7042
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25526 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25504 from trunk
Tom Yu [Tue, 6 Dec 2011 00:07:11 +0000 (00:07 +0000)] 
pull up r25504 from trunk

 ------------------------------------------------------------------------
 r25504 | ghudson | 2011-12-04 17:38:36 -0500 (Sun, 04 Dec 2011) | 20 lines

 ticket: 7033
 target_version: 1.10
 tags: pullup

 Set a default enctype for optimistic preauth

 When the client application requests optimistic preauth for a preauth
 type which uses the password, we don't have an etype-info2 to
 interpret since we haven't talked to the KDC.  So we need to guess an
 enctype, salt, and s2k parameters.  In 1.9 and prior, encrypted
 timestamp contained code to use the first requested enctype in this
 case, but encrypted challenge did not.  In 1.10 prior to this change,
 neither mechanism uses a reasonable default.

 Set a default enctype in krb5_init_creds_init so that all
 password-based preauth mechanisms will use a reasonable default in the
 optimistic preauth case.  The default salt and s2k parameters for this
 case will be the principal-based default salt and the enctype-based
 default parameters.

ticket: 7033
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25524 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25500 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:31 +0000 (23:43 +0000)] 
pull up r25500 from trunk

 ------------------------------------------------------------------------
 r25500 | hartmans | 2011-12-02 14:42:12 -0500 (Fri, 02 Dec 2011) | 7 lines

 ticket: 7038
 subject: Added support for loading of Krb5.ini from Windows APPDATA
 target_version: 1.10
 tags: pullup

Signed-off-by: Alexey Melnikov <aamelnikov@gmail.com>
ticket: 7038
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25523 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25499 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:28 +0000 (23:43 +0000)] 
pull up r25499 from trunk

 ------------------------------------------------------------------------
 r25499 | hartmans | 2011-12-02 14:20:54 -0500 (Fri, 02 Dec 2011) | 7 lines

 ticket: 7037
 subject:  Use LsaDeregisterLogonProcess(), not CloseHandle()
 target_version: 1.10
 tags: pullup

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7037
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25522 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25498 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:25 +0000 (23:43 +0000)] 
pull up r25498 from trunk

 ------------------------------------------------------------------------
 r25498 | hartmans | 2011-12-02 13:52:22 -0500 (Fri, 02 Dec 2011) | 8 lines

 ticket: 7036
 subject: Fix free ofuninitialized memory in sname_to_princ
 tags: pullup
 Target_Version: 1.10

 Fix free of uninitialized memory in error case introduced in 1.10
 development cycle.

ticket: 7036
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25521 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25497 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:23 +0000 (23:43 +0000)] 
pull up r25497 from trunk

 ------------------------------------------------------------------------
 r25497 | hartmans | 2011-12-02 13:52:19 -0500 (Fri, 02 Dec 2011) | 7 lines

 ticket: 7035
 subject:  krb5_lcc_store() now ignores config credentials
 target_version: 1.10
 tags: pullup

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7035
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25520 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25496 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:17 +0000 (23:43 +0000)] 
pull up r25496 from trunk

 ------------------------------------------------------------------------
 r25496 | hartmans | 2011-12-02 13:52:12 -0500 (Fri, 02 Dec 2011) | 11 lines

 ticket: 7034
 subject: mk_cred: memory management
 target_version: 1.10
 tags: pullup

 Fix for mk_cred.c: calloc() not malloc()

 Avoid calling free() in cleanup on uninitialized sub-ptrs if error occurs.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7034
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25519 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25494 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:14 +0000 (23:43 +0000)] 
pull up r25494 from trunk

 ------------------------------------------------------------------------
 r25494 | hartmans | 2011-11-29 18:11:13 -0500 (Tue, 29 Nov 2011) | 7 lines

 ticket: 7030
 subject: Ldap dependency for parallel builds
 tags: pullup
 target_version: 1.10

 The ldap plugin needs to declare a dependency on the ldap library

ticket: 7030
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25518 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25493 from trunk
Tom Yu [Mon, 5 Dec 2011 23:43:11 +0000 (23:43 +0000)] 
pull up r25493 from trunk

 ------------------------------------------------------------------------
 r25493 | ghudson | 2011-11-29 17:49:56 -0500 (Tue, 29 Nov 2011) | 9 lines

 ticket: 7029
 subject: Fix --with-system-verto without pkg-config
 target_version: 1.10
 tags: pullup

 If we're using the system verto and pkg-config isn't found but
 libverto is, set VERTO_LIBS to just -lverto as there won't be a k5ev
 module.

ticket: 7029
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25517 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25486 from trunk
Tom Yu [Mon, 5 Dec 2011 23:12:03 +0000 (23:12 +0000)] 
pull up r25486 from trunk

 ------------------------------------------------------------------------
 r25486 | hartmans | 2011-11-22 20:00:27 -0500 (Tue, 22 Nov 2011) | 14 lines

     ticket: new
     subject: FAST PKINIT
     target_version: 1.10
     tags: pullup

     Per RFC 6113 fast should use the inner request body for the pkinit
     checksum. We did that on the KDC; now do so on the client.  Remove
     code that explicitly blocked pkinit under FAST.

     Also, use the reply key *before* the strengthen key is applied when
     verifying the PADATA_PKINIT_KX.

     Add FAST pkinit test.

ticket: 7027
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25516 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25483 and r25484 from trunk
Tom Yu [Mon, 5 Dec 2011 23:11:57 +0000 (23:11 +0000)] 
pull up r25483 and r25484 from trunk

 ------------------------------------------------------------------------
 r25484 | ghudson | 2011-11-22 12:48:29 -0500 (Tue, 22 Nov 2011) | 7 lines

 ticket: 7023

 Fix compile error in previous change

 A last-minute code editing mistake crept into the previous commit; fix
 it.

 ------------------------------------------------------------------------
 r25483 | ghudson | 2011-11-21 16:14:39 -0500 (Mon, 21 Nov 2011) | 21 lines

 ticket: 7023
 subject: Clean up client-side preauth error data handling
 target_version: 1.10
 tags: pullup

 Change the clpreauth tryagain method to accept a list of pa-data,
 taken either from the FAST response or from decoding the e_data as
 either pa-data or typed-data.  Also change the in_padata argument to
 contain just the type of the request padata rather than the whole
 element, since modules generally shouldn't care about the contents of
 their request padata (or they can remember it).

 In krb5int_fast_process_error, no longer re-encode FAST pa-data as
 typed-data for the inner error e_data, but decode traditional error
 e_data for all error types, and try both pa-data and typed-data
 encoding.

 In PKINIT, try all elements of the new pa-data list, since it may
 contain FAST elements as well as the actual PKINIT array.  (Fixes an
 outstanding bug in FAST PKINIT.)

ticket: 7023
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25515 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25480 from trunk
Tom Yu [Mon, 5 Dec 2011 20:53:52 +0000 (20:53 +0000)] 
pull up r25480 from trunk

 ------------------------------------------------------------------------
 r25480 | ghudson | 2011-11-20 00:19:45 -0500 (Sun, 20 Nov 2011) | 13 lines

 ticket: 7021
 subject: Fix failure interval of 0 in LDAP lockout code
 target_version: 1.10
 tags: pullup

 A failure count interval of 0 caused krb5_ldap_lockout_check_policy to
 pass the lockout check (but didn't cause a reset of the failure count
 in krb5_ldap_lockout_audit).  It should be treated as forever, as in
 the DB2 back end.

 This bug is the previously unknown cause of the assertion failure
 fixed in CVE-2011-1528.

ticket: 7021
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25512 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25482 from trunk
Tom Yu [Mon, 5 Dec 2011 20:32:57 +0000 (20:32 +0000)] 
pull up r25482 from trunk

 ------------------------------------------------------------------------
 r25482 | ghudson | 2011-11-21 12:30:41 -0500 (Mon, 21 Nov 2011) | 10 lines

 ticket: 7020
 target_version: 1.10
 tags: pullup

 Recognize IAKERB mech in krb5_gss_display_status

 Minor status codes were not displaying properly when originated from
 the IAKERB mech, because of a safety check on mech_type.  From Ralf
 Haferkamp <rhafer@suse.de>.

ticket: 7020
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25511 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25475 and r25479 from trunk
Tom Yu [Mon, 5 Dec 2011 20:16:05 +0000 (20:16 +0000)] 
pull up r25475 and r25479 from trunk

 ------------------------------------------------------------------------
 r25479 | ghudson | 2011-11-19 17:06:15 -0500 (Sat, 19 Nov 2011) | 8 lines

 ticket: 7019

 Improve documentation in preauth_plugin.h

 Also declare the verto_context structure to ensure that it is has the
 proper scope when used as the return type of the event_context
 callback.

 ------------------------------------------------------------------------
 r25475 | ghudson | 2011-11-14 21:42:58 -0500 (Mon, 14 Nov 2011) | 9 lines

 ticket: 7019
 subject: Make verto context available to kdcpreauth modules
 target_version: 1.10
 tags: pullup

 Add an event_context callback to kdcpreauth.  Adjust the internal KDC
 and main loop interfaces to pass around the event context, and expose
 it to kdcpreauth modules via the rock.

ticket: 7019
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25510 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25474 from trunk
Tom Yu [Mon, 5 Dec 2011 19:44:11 +0000 (19:44 +0000)] 
pull up r25474 from trunk

 ------------------------------------------------------------------------
 r25474 | ghudson | 2011-11-14 20:59:01 -0500 (Mon, 14 Nov 2011) | 10 lines

 ticket: 7018
 subject: Update verto to 0.2.2 release
 target_version: 1.10
 tags: pullup

 Update verto sources to 0.2.2 release versions.  verto_reinitialize()
 now has a return value; check it in kdc/main.c.  Store verto-libev.c
 alongside verto-k5ev.c to make it easy to diff corresponding versions
 when updating.

ticket: 7018
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25509 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25473 from trunk
Tom Yu [Mon, 5 Dec 2011 19:44:05 +0000 (19:44 +0000)] 
pull up r25473 from trunk

 ------------------------------------------------------------------------
 r25473 | ghudson | 2011-11-14 16:45:33 -0500 (Mon, 14 Nov 2011) | 16 lines

 ticket: 7017
 subject: Simplify and fix kdcpreauth request_body callback
 target_version: 1.10
 tags: pullup

 Alter the contract for the kdcpreauth request_body callback so that it
 returns an alias to the encoded body instead of a fresh copy.  At the
 beginning of AS request processing, save a copy of the encoded request
 body, or the encoded inner request body for FAST requests.  Previously
 the request_body callback would re-encode the request structure, which
 in some cases has been modified by the AS request code.

 No kdcpreauth modules currently use the request_body callback, but
 PKINIT will need to start using it in order to handle FAST requests
 correctly.

ticket: 7017
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25508 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoHandle TGS referrals to the same realm
Tom Yu [Mon, 5 Dec 2011 19:01:49 +0000 (19:01 +0000)] 
Handle TGS referrals to the same realm

pull up r25472 from trunk

 ------------------------------------------------------------------------
 r25472 | ghudson | 2011-11-14 13:02:52 -0500 (Mon, 14 Nov 2011) | 12 lines

 ticket: 7016
 subject: Handle TGS referrals to the same realm
 target_version: 1.9.3
 tags: pullup

 krb5 1.6 through 1.8 contained a workaround for the Active Directory
 behavior of returning a TGS referral to the same realm as the request.
 1.9 responds to this behavior by caching the returned TGT, trying
 again, and detecting a referral loop.  This is a partial regression of
 ticket #4955.  Detect this case and fall back to a non-referreal
 request.

ticket: 7039
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25507 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25470 from trunk
Tom Yu [Fri, 2 Dec 2011 21:20:22 +0000 (21:20 +0000)] 
pull up r25470 from trunk

 ------------------------------------------------------------------------
 r25470 | ghudson | 2011-11-12 17:03:54 -0500 (Sat, 12 Nov 2011) | 9 lines

 ticket: 7015
 subject: Add plugin interface_names entry for ccselect
 target_version: 1.10
 tags: pullup

 When the ccselect pluggable interface was added, the interface_names
 table wasn't updated, so configuring modules for it wouldn't work.
 Add it now.

ticket: 7015
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25503 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25468 from trunk
Tom Yu [Fri, 2 Dec 2011 21:20:18 +0000 (21:20 +0000)] 
pull up r25468 from trunk

 ------------------------------------------------------------------------
 r25468 | ghudson | 2011-11-10 23:04:58 -0500 (Thu, 10 Nov 2011) | 12 lines

 ticket: 7014
 subject: Fix com_err.h dependencies in gss-kernel-lib
 target_version: 1.10
 tags: pullup

 make check was failing in util/gss-kernel-lib due to dependencies
 when the build is configured with --with-system-et, because depfix.pl
 wasn't smart enough to substitute the dependency on com_err.h in the
 current directory.  Make depfix.pl smarter, and adjust COM_ERR_DEPS
 to be com_err.h in gss-kernel-lib when building with the bundled
 com_err.

ticket: 7014
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25502 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25469 from trunk
Tom Yu [Fri, 2 Dec 2011 21:20:13 +0000 (21:20 +0000)] 
pull up r25469 from trunk

 ------------------------------------------------------------------------
 r25469 | ghudson | 2011-11-11 12:01:12 -0500 (Fri, 11 Nov 2011) | 14 lines

 ticket: 6430
 subject: Avoid looping when preauth can't be generated
 target_version: 1.10
 tags: pullup

 If we receive a PREAUTH_REQUIRED error and fail to generate any real
 preauthentication, error out immediately instead of continuing to
 generate non-preauthenticated requests until we hit the loop count.

 There is a lot of room to generate a more meaningful error about why
 we failed to generate preauth (although in many cases the answer may
 be too complicated to explain in an error message), but that requires
 more radical restructuring of the preauth framework.

ticket: 6430
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25501 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25424 from trunk
Tom Yu [Mon, 7 Nov 2011 22:51:36 +0000 (22:51 +0000)] 
pull up r25424 from trunk

 ------------------------------------------------------------------------
 r25424 | ghudson | 2011-10-31 12:43:40 -0400 (Mon, 31 Oct 2011) | 9 lines

 ticket: 6996
 subject: Make krb5_check_clockskew public
 target_version: 1.10
 tags: pullup

 Rename krb5int_check_clockskew to krb5_check_clockskew and make it
 public, in order to give kdcpreauth plugins a way to check timestamps
 against the configured clock skew.

ticket: 6996
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25456 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25444 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:54 +0000 (22:35 +0000)] 
pull up r25444 from trunk

 ------------------------------------------------------------------------
 r25444 | ghudson | 2011-11-06 00:32:34 -0500 (Sun, 06 Nov 2011) | 10 lines

 ticket: 7003
 subject: Fix month/year units in getdate
 target_version: 1.10
 tags: pullup

 getdate strings like "1 month" or "next year" would fail some of the
 time, depending on the value of stack garbage, because DSTcorrect()
 doesn't set *error on success and RelativeMonth() doesn't initialize
 error.  Make DSTcorrect() responsible for setting *error in all cases.

ticket: 7003
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25455 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25443 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:51 +0000 (22:35 +0000)] 
pull up r25443 from trunk

 ------------------------------------------------------------------------
 r25443 | ghudson | 2011-11-05 15:55:34 -0400 (Sat, 05 Nov 2011) | 11 lines

 ticket: 7002
 target_version: 1.10
 tags: pullup

 Improve verto and libev documentation

 NOTICE was missing the copyright statement for verto (it's not quite
 the same as other Red Hat licenses).  util/verto had no README file,
 and neither the verto nor k5ev README contained pointers to the
 upstream project pages.

ticket: 7002
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25454 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25433 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:48 +0000 (22:35 +0000)] 
pull up r25433 from trunk

 ------------------------------------------------------------------------
 r25433 | ghudson | 2011-11-04 01:53:23 -0400 (Fri, 04 Nov 2011) | 9 lines

 ticket: 7000
 subject: Exit on error in kadmind kprop child
 target_version: 1.10
 tags: pullup

 When we fork from kadmind to dump the database and kprop to an iprop
 slave, if we encounter an error in the child process we should exit
 rather than returning to the main loop.

ticket: 7000
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25453 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25445 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:45 +0000 (22:35 +0000)] 
pull up r25445 from trunk

 ------------------------------------------------------------------------
 r25445 | ghudson | 2011-11-06 19:47:20 -0500 (Sun, 06 Nov 2011) | 8 lines

 ticket: 6999
 target_version: 1.10
 tags: pullup

 Fix warnings and version check for NSS pkinit

 From nalin@redhat.com.

ticket: 6999
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25452 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25425 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:41 +0000 (22:35 +0000)] 
pull up r25425 from trunk

 ------------------------------------------------------------------------
 r25425 | ghudson | 2011-10-31 23:49:16 -0400 (Mon, 31 Oct 2011) | 10 lines

 ticket: 6997
 target_version: 1.10
 tags: pullup

 Conditionalize po subdir on msgfmt, not dgetext

 The presence of dgettext in libc or libintl doesn't imply that msgfmt
 is installed, so conditionalize building the po subdir on whether
 msgfmt is installed.

ticket: 6997
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25451 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25419 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:39 +0000 (22:35 +0000)] 
pull up r25419 from trunk

 ------------------------------------------------------------------------
 r25419 | ghudson | 2011-10-28 11:53:50 -0400 (Fri, 28 Oct 2011) | 11 lines

 ticket: 6995
 subject: Initialize typed_e_data in as_req_state
 target_version: 1.10
 tags: pullup

 The typed_e_data field in struct as_req_state was not properly
 initialized, causing the KDC to sometimes respond with typed-data
 e_data for a preauth-required error when the client sends no padata.
 This bug was masked with recent clients, which send a
 KRB5_ENCPADATA_REQ_ENC_PA_REP padata.

ticket: 6995
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25450 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25418 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:35 +0000 (22:35 +0000)] 
pull up r25418 from trunk

 ------------------------------------------------------------------------
 r25418 | ghudson | 2011-10-28 11:45:03 -0400 (Fri, 28 Oct 2011) | 9 lines

 ticket: 6994
 subject: Fix intermediate key length in hmac-md5 checksum
 target_version: 1.10
 tags: pullup

 When using hmac-md5, the intermediate key length is the output of the
 hash function (128 bits), not the input key length.  Relevant if the
 input key is not an RC4 key.

ticket: 6994
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25449 dc483132-0cff-0310-8789-dd5450dbe970

13 years agoFix format string for TRACE_INIT_CREDS_SERVICE
Tom Yu [Mon, 7 Nov 2011 22:35:32 +0000 (22:35 +0000)] 
Fix format string for TRACE_INIT_CREDS_SERVICE

pull up r25417 from trunk

 ------------------------------------------------------------------------
 r25417 | ghudson | 2011-10-26 18:34:21 -0400 (Wed, 26 Oct 2011) | 7 lines

 ticket: 6993
 subject: Fix format string for TRACE_INIT_CREDS_SERVICE
 tags: pullup
 target_version: 1.9.2

 This should also be pulled up to 1.10.

ticket: 7006
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25448 dc483132-0cff-0310-8789-dd5450dbe970

13 years agopull up r25414 from trunk
Tom Yu [Mon, 7 Nov 2011 22:35:24 +0000 (22:35 +0000)] 
pull up r25414 from trunk

 ------------------------------------------------------------------------
 r25414 | ghudson | 2011-10-25 14:30:14 -0400 (Tue, 25 Oct 2011) | 7 lines

 ticket: 6992
 subject: Make krb5_find_authdata public
 target_version: 1.10
 tags: pullup

 Rename krb5int_find_authdata to krb5_find_authdata and make it public.

ticket: 6992
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25447 dc483132-0cff-0310-8789-dd5450dbe970