]> git.ipfire.org Git - thirdparty/krb5.git/log
thirdparty/krb5.git
12 years agoUpdate kerberos.ver for kfw-4.0-postrelease
Tom Yu [Wed, 5 Dec 2012 20:19:20 +0000 (15:19 -0500)] 
Update kerberos.ver for kfw-4.0-postrelease

12 years agoUpdate Camellia feature description
Tom Yu [Thu, 1 Nov 2012 22:25:56 +0000 (18:25 -0400)] 
Update Camellia feature description

Remove the potentially misleading "experimental" annotation on the
description of the Camellia encryption feature.

ticket: 7438 (new)
version_fixed: 1.10.4
status: resolved

12 years agoCache TGS-REPs too
Tom Yu [Thu, 27 Sep 2012 21:18:18 +0000 (17:18 -0400)] 
Cache TGS-REPs too

Changes in r25660 inadvertently failed to insert TGS-REPs into the
lookaside cache.  Call finish_dispatch_cache() at the end of
dispatch() to handle this case.

(cherry picked from commit 22206a061dfe55db5cbe2c70190b3bd923d9e615)

ticket: 7388
version_fixed: 1.10.4
status: resolved

12 years agoBack to krb5-1.10.3-postrelease
Tom Yu [Wed, 31 Oct 2012 15:47:13 +0000 (11:47 -0400)] 
Back to krb5-1.10.3-postrelease

12 years agoBump buildlevel for non-MIT KfW 4.0 release kfw-4.0-final
Ben Kaduk [Mon, 15 Oct 2012 15:16:34 +0000 (11:16 -0400)] 
Bump buildlevel for non-MIT KfW 4.0 release

12 years agoVersion info for KfW 4.0
Ben Kaduk [Wed, 26 Sep 2012 19:56:25 +0000 (15:56 -0400)] 
Version info for KfW 4.0

Switch away from beta to release versioning in site-local.wix,
and replace the beta tag with release.

Increment the buildlevel, as always.

Update patchlevel.h to indicate this is a KfW build.

12 years agoAdd version info for ccapiserver.exe
Ben Kaduk [Thu, 27 Sep 2012 19:16:28 +0000 (15:16 -0400)] 
Add version info for ccapiserver.exe

Executables and shared libraries should have a file version, so
that the upgrade process works as expected.

(cherry picked from commit cdaae4bd07e5b9d9ec0f7b14103f7e43b898d0aa)

ticket: 7386
version_fixed: 1.10.4
status: resolved

12 years agoFix typo
Ben Kaduk [Thu, 27 Sep 2012 17:11:41 +0000 (13:11 -0400)] 
Fix typo

Actually expand the OUTPRE variable instead of just using a literal
string.

(cherry picked from commit 6298655a778e58af6f0faaff554e126378ce7c4a)

ticket: 7387
version_fixed: 1.10.4
status: resolved

12 years agoRemoved unused leash help file
Greg Hudson [Sun, 9 Sep 2012 15:33:04 +0000 (11:33 -0400)] 
Removed unused leash help file

The file 'checkbox blank.png' is unneeded and contains a space in the
name, unnecessarily interfering with running find | xargs over the
source tree.  Remove it.

(cherry picked from commit 757860b48bcef42a9a5fddba984607edeb6e205c)

ticket: 7352
status: resolved

12 years agoUpdate windows/README
Ben Kaduk [Wed, 19 Sep 2012 16:13:30 +0000 (12:13 -0400)] 
Update windows/README

The build instructions have changed somewhat, as have the requirements
for a build environment.
The default behavior for KRB5_CONFIG and KRB5CCNAME has also changed.
Attempt to remove mention of overly specific Windows versions that
are now quite old when the behavior persists in newer versions of Windows.
Document the usage of DNS by default and the reduced need for a large
krb5.ini file.
Talk a little more about the LSA cache.

The kerbsrc.win target is no longer supported.

(cherry picked from commit d77308a1eaf9c996e10fbc2f82e79c4df3fc1078)

ticket: 7363
status: resolved

12 years agoRemove NSIS installs when upgrading to 64-bit
Ben Kaduk [Tue, 18 Sep 2012 21:53:18 +0000 (17:53 -0400)] 
Remove NSIS installs when upgrading to 64-bit

The NSIS installer appears to have only ever existed as a 32-bit
software.  As such, unconditionally check the 32-bit registry tree
for an uninstall string; the architecture of the current package
being installed is not relevant to what was previously installed.

(cherry picked from commit 4d3200ca369b47e8cf6966ae7670823d57ef2b3f)

ticket: 7362
status: resolved

12 years agoKfW version update for kfw-4.0-beta10
Ben Kaduk [Wed, 12 Sep 2012 22:32:02 +0000 (18:32 -0400)] 
KfW version update for kfw-4.0-beta10

Continue to increment the buildlevel as well.

12 years agoImprove LEASHAUTOINIT description
Ben Kaduk [Wed, 12 Sep 2012 18:17:59 +0000 (14:17 -0400)] 
Improve LEASHAUTOINIT description

This installer option determines whether the -autoinit argument
is passed to the MIT Kerberos executable.
On startup, if this argument is passed, and if there are no tickets
in the default cache, and if no useful tickets can be imported from
the LSA cache, MIT Kerberos will open the get ticket dialog and prompt
for a password; this option does not appear to have any other effect.

(cherry picked from commit d9af383d069b571457849dea77dbef01ccb55370)

ticket: 7357
status: resolved

12 years agoUnregister error message key on library unload
Ben Kaduk [Wed, 12 Sep 2012 15:35:04 +0000 (11:35 -0400)] 
Unregister error message key on library unload

Revision fcdd2de1 added the K5_KEY_GSS_KRB5_ERROR_MESSAGE key, and
registered it in the gssapi library initialization routine, but
did not unregister it in the libary finalization routine.
When the library is unloaded and reloaded in the same process,
this leads to an assertion failure, since we check that
destructors_set[keynum] is zero (no destructor set) when registering
a key in util/support/threads.c.
Unregister the key on library cleanup to resolve the error.

(cherry picked from commit 4ab584c830024757cc628b1783dde6220a9fec6d)

ticket: 7353
version_fixed: 1.10.4
status: resolved

12 years agoTry harder not to use clock_gettime in verto-k5ev
Greg Hudson [Mon, 3 Sep 2012 23:20:34 +0000 (19:20 -0400)] 
Try harder not to use clock_gettime in verto-k5ev

We already define EV_USE_REALTIME to 0 to avoid the use of
clock_gettime() (to avoid depending on librt).  But in some build
environments libev can detect support for a monotonic clock, which
also results in using clock_gettime().  Define EV_USE_MONOTONIC to 0
as well to prevent this.

(cherry picked from commit fe285ec16b65ac6177a404baa635c1d09054dc81)

ticket: 7350
version_fixed: 1.10.4
status: resolved

12 years agoDo not retrieve zero-length creds
Ben Kaduk [Fri, 31 Aug 2012 21:48:14 +0000 (17:48 -0400)] 
Do not retrieve zero-length creds

In the MSLSA cache, if we get back a zero-length ticket, don't
accept it as success; continue on to try and get an acceptable
ticket.

(cherry picked from commit cd58adf4b0f52d0293ec8bf9d7d3e87bd1e6ce3f)

ticket: 7349
version_fixed: 1.10.4
status: resolved

12 years agoKfW version update for kfw-4.0-beta9
Ben Kaduk [Fri, 31 Aug 2012 22:36:10 +0000 (18:36 -0400)] 
KfW version update for kfw-4.0-beta9

Continue to increment the buildlevel as well.

12 years agoUse separate components for shortcuts
Ben Kaduk [Fri, 31 Aug 2012 17:41:26 +0000 (13:41 -0400)] 
Use separate components for shortcuts

Since the Start Menu and Desktop are different folders, we should
use different components for the shortcuts in those folders, given
that components operate at directory granularity.

Take the opportunity to use the newer style for installing shortcuts
and registry keys, and make the names more descriptive.

Increment the buildlevel to ensure new files are installed.

(cherry picked from commit fe9a1d24c5ce9dd415658493c1811aa9e54aebce)

ticket: 7348
status: resolved

12 years agoDo not emit debug printfs under NODEBUG
Ben Kaduk [Thu, 23 Aug 2012 16:38:57 +0000 (12:38 -0400)] 
Do not emit debug printfs under NODEBUG

These printfs spew to the console when command-line utilities
such as 'klist' and 'aklog' are run, reducing usability.

These printfs can also cause application hangs.
On a multiprocessor machine, when PuTTY and the ccapiserver are
running on different CPUs, PuTTY appears to deadlock with three
concurrent threads inside cci_debug_printf().

(cherry picked from commit 932866ad41edf830123bdfef927f1314f3100be9)

ticket: 7342
version_fixed: 1.10.4
status: resolved

12 years agoKfW version update for kfw-4.0-beta8
Ben Kaduk [Wed, 22 Aug 2012 03:19:56 +0000 (23:19 -0400)] 
KfW version update for kfw-4.0-beta8

Also bump the build level, since beta 7 has started to escape into
the wild, and we want to ensure that the file version numbers
are strictly increasing.

12 years agoFix KfW startup shortcut installation
Kevin Wasserman [Tue, 21 Aug 2012 17:48:32 +0000 (13:48 -0400)] 
Fix KfW startup shortcut installation

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

ticket: 7341
status: resolved

12 years agoClean out dead code from ccapi
Kevin Wasserman [Tue, 21 Aug 2012 15:45:49 +0000 (11:45 -0400)] 
Clean out dead code from ccapi

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

ticket: 7237
version_fixed: 1.10.4
status: resolved

12 years agoFix KfW thread-local storage allocation issues
Kevin Wasserman [Tue, 21 Aug 2012 15:44:46 +0000 (11:44 -0400)] 
Fix KfW thread-local storage allocation issues

Allocate thread-local storage on demand; don't rely on
the DLL_THREAD_ATTACH case in DllMain() since pre-existing
threads will never execute that code.

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

ticket: 7340
version_fixed: 1.10.4
status: resolved

12 years agoImprove error translation for CCAPIv3 routines
Ben Kaduk [Fri, 17 Aug 2012 23:13:14 +0000 (19:13 -0400)] 
Improve error translation for CCAPIv3 routines

We can't mix the KRB5 and CC error constants; standardize on the CC ones
and translate appropriately.

(cherry picked from commit c326061409d6e48e68808e6f37b243e4f7356935)

ticket: 7339
version_fixed: 1.10.4
status: resolved

12 years agoReplace NIM with "MIT Kerberos" in installer text
Kevin Wasserman [Fri, 17 Aug 2012 16:15:53 +0000 (12:15 -0400)] 
Replace NIM with "MIT Kerberos" in installer text

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

ticket: 7338
status: resolved

12 years agoKill running processes on upgrades/uninstalls
Ben Kaduk [Thu, 16 Aug 2012 20:03:48 +0000 (16:03 -0400)] 
Kill running processes on upgrades/uninstalls

The InstallValidate action of the windows installer will bring up
a dialog informing us that some currently running processes must
be terminated before installation may proceed, and offers to do so,
but does not actually kill the processes.  We have our own code to
kill running processes which did not execute, for two reasons:
it was sequenced after InstallValidate, and we did not have a current
list of processes to look for.

Add the right processes to look for and kill, and use our own
process-killing code since it actually works.

(cherry picked from commit 79e5540860d077693e70b340db4d69d5e15107b7)

ticket: 7343
status: resolved

12 years agoMake finding 32-bit libs easier
Ben Kaduk [Wed, 15 Aug 2012 18:50:42 +0000 (14:50 -0400)] 
Make finding 32-bit libs easier

Our 64-bit installer provides 32-bit libraries as well as 64-bit
libraries, but not all 32-bit applications (e.g., PuTTY, Pidgin)
are able to locate them in C:\Program Files\MIT\Kerberos .
Including an InstallDir key under the Wow6432Node tree lets them
work out-of-the-box; while here set all the registry keys in this
component in the compatibility tree, for consistency.

(cherry picked from commit 356f0c238e02812d30d04b0cc6e22b0dab2b6c0a)

ticket: 7337
status: resolved

12 years agoAdd version info for ccapi dll
Kevin Wasserman [Thu, 16 Aug 2012 15:10:06 +0000 (11:10 -0400)] 
Add version info for ccapi dll

Without version info, this library would not get installed during
an upgrade scenario, causing the MIT Kerberos application to crash
on startup.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
[kaduk@mit.edu: add motivation to commit message]

(cherry picked from commit 69d4743dc83a2050e4e2c2fd60929abccfef498b)

ticket: 7336
status: resolved

12 years agoKfW version update for kfw-4.0-beta7
Ben Kaduk [Mon, 13 Aug 2012 22:37:45 +0000 (18:37 -0400)] 
KfW version update for kfw-4.0-beta7

12 years agoUpgrade 64-bit KfW installations
Ben Kaduk [Mon, 13 Aug 2012 22:01:47 +0000 (18:01 -0400)] 
Upgrade 64-bit KfW installations

We use separate UpgradeCodes for 32- and 64-bit installers, so
we must check for both of them when seeing if we are upgrading an
old/existing installation.

(cherry picked from commit 9470259dcd30c564af0eb30b9afbc9e0c492f79c)

ticket: 7335
status: resolved

12 years agoUpgrade from KfW betas, too
Ben Kaduk [Mon, 13 Aug 2012 19:03:45 +0000 (15:03 -0400)] 
Upgrade from KfW betas, too

Instead of using 3.9.9 as a conditional for the maximum version to
upgrade from, just use the current version.
This seems to pick up beta tags properly (so we can upgrade
from, e.g., beta 6 to beta 7 using the installer's upgrade tools),
and is future-proof.

Note that a 64-bit installer will not pick up an existing 32-bit
install (or vice versa), but there does not seem to be infrastructure
to deal with this situation easily.
Also, "downgrading" by running an older installer with a newer version
already installed will cause both versions to be simultaneously
installed; only do this if you know what you're doing.

(cherry picked from commit 343c3c44dd96e7f8f58208b05b6074c140e193ba)

ticket: 7334
status: resolved

12 years agoFix kfw message box titles
Kevin Wasserman [Sun, 12 Aug 2012 18:35:06 +0000 (14:35 -0400)] 
Fix kfw message box titles

"MIT Kerberos", not "Leash32"

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

ticket: 7333
status: resolved

12 years agoKfW version update for kfw-4.0-beta6
Kevin Wasserman [Sun, 12 Aug 2012 18:34:00 +0000 (14:34 -0400)] 
KfW version update for kfw-4.0-beta6

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
12 years agoFix window close issues
Kevin Wasserman [Tue, 7 Aug 2012 17:53:02 +0000 (13:53 -0400)] 
Fix window close issues

Stop filtering out SC_CLOSE. 'X' button works more reliably, also alt-F4.
Remove minimize box from style.

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

ticket: 7332
status: resolved

12 years agoKfW version update for kfw-4.0-beta5
Kevin Wasserman [Sun, 5 Aug 2012 16:18:54 +0000 (12:18 -0400)] 
KfW version update for kfw-4.0-beta5

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
12 years agoRefresh ticket display immediately after renew
Kevin Wasserman [Sun, 5 Aug 2012 16:15:28 +0000 (12:15 -0400)] 
Refresh ticket display immediately after renew

Set the CLeashApp::m_bUpdateDisplay flag to cause the display to
update on the next WM_IDLE message to the main thread.

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

ticket: 7331
status: resolved

12 years agoUpdate KfW installer graphics
Kevin Wasserman [Fri, 3 Aug 2012 21:22:31 +0000 (17:22 -0400)] 
Update KfW installer graphics

Replace dogheads with the new 'K'.

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

ticket: 7330
status: resolved

12 years agoAvoid a crash when attempting to change password
Benjamin Kaduk [Tue, 31 Jul 2012 20:12:27 +0000 (16:12 -0400)] 
Avoid a crash when attempting to change password

In some cases we could keep stack garbage in a local pointer
variable until the cleanup at the end of the function wherein
krb5_free_context() would choke on the invalid non-NULL value.
Initialize to zero to avoid the issue (should be written as NULL
but stick to the prevailing style).

(cherry picked from commit 023aac4a5d682ffeacc5121deaa771e08a5c9013)

ticket: 7329
status: resolved

12 years agoRename old krb5.ini files away
Benjamin Kaduk [Mon, 30 Jul 2012 20:50:55 +0000 (16:50 -0400)] 
Rename old krb5.ini files away

We want to always use a new krb5.ini (and our search order guarantees
that we will), but users might be confused if there is still a file
named krb5.ini in the old location which is now non-functional.
However, it is rude to unconditionally delete the old file which may
potentially be the only copy a user has of their local changes.
Instead, rename the old file to a non-functioning name that indicates
it is no longer being used, so that it may be consulted if needed.
Only attempt the rename if we found an existing krb5.ini, and ignore errors
since this is not a critical part of the installation.

(cherry picked from commit 02499b9c31124d66cdc5fd5d650e38f8c408a984)

ticket: 7328
status: resolved

12 years agoAdd domain_realm mappings to the athena krb5.ini
Kevin Wasserman [Mon, 30 Jul 2012 20:33:48 +0000 (16:33 -0400)] 
Add domain_realm mappings to the athena krb5.ini

These seem to be the only bits from the krb5.ini shipped with older
versions of KfW that remain useful.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
[kaduk@mit.edu: add motivation to commit message]

(cherry picked from commit f468fc02ff3b32c12f0f41662a05a9bf07680b87)

ticket: 7327
status: resolved

12 years agoFix renew_until check for auto-renewal
Kevin Wasserman [Mon, 30 Jul 2012 20:30:34 +0000 (16:30 -0400)] 
Fix renew_until check for auto-renewal

This was completely wrong, but only caused a severe problem on 64 bit
builds. On 32 bit builds the result was effectively always 'success',
so it would always attempt to renew even if there was not sufficient time
left in the renewable lifetime. This did not have much observable
adverse effect. But on 64 bit builds it always failed and so never
attempted renewal.

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

ticket: 7326
status: resolved

12 years agoFix warning caption "Leash"->"MIT Kerberos"
Kevin Wasserman [Mon, 30 Jul 2012 20:23:02 +0000 (16:23 -0400)] 
Fix warning caption "Leash"->"MIT Kerberos"

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

ticket: 7325
status: resolved

12 years agoAlways install krb5.ini in KfW 4.0 installer
Kevin Wasserman [Mon, 30 Jul 2012 13:46:24 +0000 (09:46 -0400)] 
Always install krb5.ini in KfW 4.0 installer

Pre-existing krb5.ini files from old kfw versions will be overridden
due to the new search path, but not removed.  This is the desired behavior
since old krb5.ini files are far more likely to cause problems than to
contain useful data.

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

ticket: 7324
status: resolved

12 years agoPut athena-specific krb5.ini in athena subdir
Kevin Wasserman [Sat, 28 Jul 2012 12:14:24 +0000 (08:14 -0400)] 
Put athena-specific krb5.ini in athena subdir

The installer only picks it up if MIT_INTERNAL is defined in
the environment; otherwise it uses the now-empty krb5.ini in
the base directory.

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

ticket: 7323
status: resolved

12 years agoKfW version update for kfw-4.0-beta4
Kevin Wasserman [Fri, 27 Jul 2012 20:43:09 +0000 (16:43 -0400)] 
KfW version update for kfw-4.0-beta4

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
12 years agoCCAPI client rpc fixes
Kevin Wasserman [Fri, 27 Jul 2012 20:41:06 +0000 (16:41 -0400)] 
CCAPI client rpc fixes

On Windows XP, cci_os_ipc_thread_init() causes additional threads to be
spawned immediately, which results in a vicious cycle until Windows
resources are exhausted.  Instead, defer thread_init() until it is really
needed.

Also, use the MSDN-recommended defaults for RPC calls instead of random
constants.

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

ticket: 7322
status: resolved

12 years agoHandle missing autocomplete object gracefully
Kevin Wasserman [Fri, 27 Jul 2012 01:08:14 +0000 (21:08 -0400)] 
Handle missing autocomplete object gracefully

Don't crash if we can't create a CLSID_AutoComplete instance.

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

ticket: 7321
status: resolved

12 years agoKfW version update for kfw-4.0-beta3
Kevin Wasserman [Thu, 26 Jul 2012 19:50:33 +0000 (15:50 -0400)] 
KfW version update for kfw-4.0-beta3

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
12 years agoAdd both x86 and x64 msm's to x64 installer
Kevin Wasserman [Thu, 26 Jul 2012 18:50:40 +0000 (14:50 -0400)] 
Add both x86 and x64 msm's to x64 installer

Since we have x86 dlls, we need the x86 msm's.

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

ticket: 7320
sattus: resolved

12 years agoUse env to determine config in installer build
Kevin Wasserman [Thu, 26 Jul 2012 10:57:35 +0000 (06:57 -0400)] 
Use env to determine config in installer build

Use NODEBUG and DEBUG_SYMBOL from the environment to determine whether or
not to define Debug and DebugSyms for the installer build.

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

ticket: 7319
status: resolved

12 years agoUse release MFC lib for NODEBUG builds
Kevin Wasserman [Thu, 26 Jul 2012 10:53:50 +0000 (06:53 -0400)] 
Use release MFC lib for NODEBUG builds

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

ticket: 7318
status: resolved

12 years agoDon't require pdbs for make install
Kevin Wasserman [Thu, 26 Jul 2012 10:37:47 +0000 (06:37 -0400)] 
Don't require pdbs for make install

When NODEBUG is defined and DEBUG_SYMBOL is not, no pdbs are generated.
This should not cause make install to fail.

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

ticket: 7316
status: resolved

12 years agoKfW version update for kfw-4.0-beta2
Kevin Wasserman [Wed, 25 Jul 2012 13:49:17 +0000 (09:49 -0400)] 
KfW version update for kfw-4.0-beta2

Update kerberos.ver and site-local.wxi

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
12 years agoAdd MIT krb5.ini to wix install directory
Kevin Wasserman [Wed, 25 Jul 2012 12:32:46 +0000 (08:32 -0400)] 
Add MIT krb5.ini to wix install directory

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

ticket: 7315
status: resolved

12 years agoFix installer UI field sizes
Kevin Wasserman [Tue, 24 Jul 2012 10:10:11 +0000 (06:10 -0400)] 
Fix installer UI field sizes

Increase title control height to make all text visible.
Adjust position of description controls accordingly.

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

ticket: 7314
status: resolved

12 years agoKfW release branch updates for kfw-4.0-beta1
Kevin Wasserman [Tue, 24 Jul 2012 10:07:23 +0000 (06:07 -0400)] 
KfW release branch updates for kfw-4.0-beta1

In src/windows/kerberos.ver:
define KRB5_RELTAIL "beta1"
define KRB5_RELTAG "KFW 4.0 beta1"
In src/windows/installer/wix/site-local.wxi:
define Beta="1"

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
[tlyu@mit.edu: squashed with a fixup commit]

12 years agoFix ribbon label hotkeys
Kevin Wasserman [Tue, 24 Jul 2012 18:26:33 +0000 (14:26 -0400)] 
Fix ribbon label hotkeys

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

ticket: 7311
status: resolved

12 years agoFix menu text change breakage
Kevin Wasserman [Tue, 24 Jul 2012 16:35:18 +0000 (12:35 -0400)] 
Fix menu text change breakage

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

ticket: 7310
status: resolved

12 years agoHelp -- remove principal drop-down refs
Kevin Wasserman [Mon, 23 Jul 2012 20:43:06 +0000 (16:43 -0400)] 
Help -- remove principal drop-down refs

Also a couple of minor fixups.

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

ticket: 7309
status: resolved

12 years agoDisable import/export buttons and checkbox
Kevin Wasserman [Thu, 19 Jul 2012 01:53:29 +0000 (21:53 -0400)] 
Disable import/export buttons and checkbox

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

ticket: 7308
status: resolved

12 years agoUpdate kfw installer OS version checks
Kevin Wasserman [Thu, 19 Jul 2012 01:14:30 +0000 (21:14 -0400)] 
Update kfw installer OS version checks

Require XP SP3 or Vista SP2 or Windows 7 or Server 2003 or Server 2008

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

ticket: 7307
status: resolved

12 years agoCall CWinAppEx::InitInstance()
Kevin Wasserman [Wed, 18 Jul 2012 21:32:31 +0000 (17:32 -0400)] 
Call CWinAppEx::InitInstance()

Without this, AfxGlobalsAddRef() is never called, so AfxGlobalsRelease()
does nothing, causing many leaks and a crash on exit in GdiplusShutdown()
on Vista.

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

ticket: 7306
status: resolved

12 years agoRemove unused leashdll functions
Kevin Wasserman [Tue, 17 Jul 2012 19:49:06 +0000 (15:49 -0400)] 
Remove unused leashdll functions

-not_an_API_LeashKRB5GetTickets
-not_an_API_LeashKRB5FreeTickets
and supporting routines.  Also remove the unused support routine one_addr.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
[kaduk@mit.edu: adjust commit message]

(cherry picked from commit 4b7fb670f3bad1c4f2251f5d1b7c7047ea6dd744)

ticket: 7305
status: resolved

12 years ago'Destroy tickets on exit' destroys all tickets
Kevin Wasserman [Mon, 16 Jul 2012 18:22:23 +0000 (14:22 -0400)] 
'Destroy tickets on exit' destroys all tickets

Previously destroyed only default ccache and used obsolete functions.

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

ticket: 7304
status: resolved

12 years agoUse cc_user_set_default_name to 'make default'
Kevin Wasserman [Tue, 17 Jul 2012 17:51:46 +0000 (13:51 -0400)] 
Use cc_user_set_default_name to 'make default'

In addition to calling krb5_cc_switch(), use
krb5int_cc_user_set_default_name() in CLeashView::OnMakeDefault()
to set the default ccache for all processes for the current user.

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

ticket: 7303
status: resolved

12 years agoMinor 'Get Tickets' dialog fixes
Kevin Wasserman [Tue, 10 Jul 2012 22:56:10 +0000 (18:56 -0400)] 
Minor 'Get Tickets' dialog fixes

-Move 'Remember this principal' and keep visible even when 'advanced'
options are hidden.
-Increase size of 'Forwardable and Proxiable' checkbox.

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

ticket: 7301
status: resolved

12 years agoHelp updates for kfw 4.0
Kevin Wasserman [Sat, 5 May 2012 14:53:44 +0000 (10:53 -0400)] 
Help updates for kfw 4.0

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
[kaduk@mit.edu: Squash commits, a couple of grammar fixes, and also turn
 a few instances of "Leash" into "MIT Kerberos".  Trim trailing whitespace
 and other whitespace tweaks to pass the commit hooks.]

(cherry picked from commit 095ae2aa5072282f4b1842e78baeb4c82bd31098)

ticket: 7300
queue: kfw
status: resolved

12 years agoReduce 'get tickets' dialog height
Kevin Wasserman [Tue, 3 Jul 2012 16:45:18 +0000 (12:45 -0400)] 
Reduce 'get tickets' dialog height

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

ticket: 7299
status: resolved

12 years agoAdd 'Remember this principal' checkbox
Kevin Wasserman [Tue, 3 Jul 2012 14:19:40 +0000 (10:19 -0400)] 
Add 'Remember this principal' checkbox

Added to the 'Get Tickets' dialog.

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

ticket: 7298
status: resolved

12 years agoUpdate kfw change password dialog
Kevin Wasserman [Mon, 2 Jul 2012 01:06:46 +0000 (21:06 -0400)] 
Update kfw change password dialog

Use combined username/realm principal edit control.

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

ticket: 7297
status: resolved

12 years agoKfW rename lacFoo -> Leash_pec_
Kevin Wasserman [Sun, 1 Jul 2012 02:42:12 +0000 (22:42 -0400)] 
KfW rename lacFoo -> Leash_pec_

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

ticket: 7294
status: resolved

12 years agoKfW make 64-bit MSI include 32-bit dlls
Kevin Wasserman [Fri, 29 Jun 2012 19:15:08 +0000 (15:15 -0400)] 
KfW make 64-bit MSI include 32-bit dlls

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

ticket: 7293
status: resolved

12 years agoRename "Leash" to "MIT Kerberos"
Kevin Wasserman [Fri, 29 Jun 2012 17:07:48 +0000 (13:07 -0400)] 
Rename "Leash" to "MIT Kerberos"

In the executable name and many GUI elements.

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

ticket: 7292
status: resolved

12 years agoKfW GUI -- clean up 'About' dialog
Kevin Wasserman [Thu, 28 Jun 2012 22:16:21 +0000 (18:16 -0400)] 
KfW GUI -- clean up 'About' dialog

By default, hide the debug list of loaded modules; change LeashView.cpp
and recompile to get the list.

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

ticket: 7291
status: resolved

12 years agoKfW update copyright date (2012) for all modules
Kevin Wasserman [Thu, 28 Jun 2012 18:53:25 +0000 (14:53 -0400)] 
KfW update copyright date (2012) for all modules

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

ticket: 7290
status: resolved

12 years agoKfW WiX installer update copyright notice
Kevin Wasserman [Thu, 28 Jun 2012 18:51:12 +0000 (14:51 -0400)] 
KfW WiX installer update copyright notice

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

ticket: 7289
status: resolved

12 years agoRemove copyright/version from Get Tickets dialog
Kevin Wasserman [Thu, 28 Jun 2012 16:30:40 +0000 (12:30 -0400)] 
Remove copyright/version from Get Tickets dialog

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

ticket: 7288
status: resolved

12 years agoKfW GUI -- add 'Options' category
Kevin Wasserman [Thu, 28 Jun 2012 12:28:09 +0000 (08:28 -0400)] 
KfW GUI -- add 'Options' category

Move 'View' and 'Options' panels from Home to Options category.
Rename to 'View Options' and 'Ticket Options' respectively.

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

ticket: 7287
status: resolved

12 years agoUse bold for entire row for default principal
Kevin Wasserman [Thu, 28 Jun 2012 11:43:06 +0000 (07:43 -0400)] 
Use bold for entire row for default principal

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

ticket: 7286
status: resolved

12 years agoRename 'Get Ticket' to 'MIT Kerberos: Get Ticket'
Kevin Wasserman [Thu, 28 Jun 2012 01:54:31 +0000 (21:54 -0400)] 
Rename 'Get Ticket' to 'MIT Kerberos: Get Ticket'

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

ticket: 7284
status: resolved

12 years agoKfW GUI -- abbreviate durations
Kevin Wasserman [Thu, 28 Jun 2012 01:46:04 +0000 (21:46 -0400)] 
KfW GUI -- abbreviate durations

Map days -> d; hours -> h; minutes -> m

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

ticket: 7285
status: resolved

12 years agoChange 'Get Ticket' to 'MIT Kerberos: Get Ticket'
Kevin Wasserman [Thu, 28 Jun 2012 01:31:33 +0000 (21:31 -0400)] 
Change 'Get Ticket' to 'MIT Kerberos: Get Ticket'

Also improve string copy safety.

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

ticket: 7284
status: resolved

12 years agoRename and move 'Clear Principal History'
Kevin Wasserman [Thu, 28 Jun 2012 01:04:27 +0000 (21:04 -0400)] 
Rename and move 'Clear Principal History'

Move it closer to the Principal edit box and rename to 'Clear History'

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

ticket: 7283
status: resolved

12 years agoMerge forwardable/proxiable in Get Tickets dialog
Kevin Wasserman [Thu, 28 Jun 2012 00:14:39 +0000 (20:14 -0400)] 
Merge forwardable/proxiable in Get Tickets dialog

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

ticket: 7282
status: resolved

12 years agoUpdate kfw ribbon button graphics
Kevin Wasserman [Wed, 27 Jun 2012 23:48:29 +0000 (19:48 -0400)] 
Update kfw ribbon button graphics

Integrate bmp's from ui team.

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

ticket: 7281
status: resolved

12 years agoKfW GUI -- show ticket flags
Kevin Wasserman [Wed, 27 Jun 2012 23:05:22 +0000 (19:05 -0400)] 
KfW GUI -- show ticket flags

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

ticket: 7280
status: resolved

12 years agoKfW GUI -- update expand/collapse icon rendering
Kevin Wasserman [Mon, 25 Jun 2012 10:03:32 +0000 (06:03 -0400)] 
KfW GUI -- update expand/collapse icon rendering

Use DrawThemeBackground() to draw the icons from the explorer treeview.

(cherry picked from commit 28d8e44e3474afcc1ea3b472c3336bd1017b55a6)

ticket: 7279
status: resolved

12 years agoFix leashdll code to search for existing tickets
Kevin Wasserman [Tue, 17 Jul 2012 17:17:46 +0000 (13:17 -0400)] 
Fix leashdll code to search for existing tickets

When we have a desired principal, search the entire credential cache
collection for existing tickets for that principal before using a prompter.
If no principal is specified, check only the default cache.

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

ticket: 7278
status: resolved

12 years agoUse file mapping to marshall message data
Kevin Wasserman [Thu, 21 Jun 2012 19:30:24 +0000 (15:30 -0400)] 
Use file mapping to marshall message data

GlobalAlloc() is no longer supported for this purpose.
Also split out leash message marshalling code into a separate function
acquire_tkt_send_message_leash and improve string copy safety.

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

ticket: 7276
status: resolved

12 years agoSet kfw GUI read-only princ flag when appropriate
Kevin Wasserman [Thu, 21 Jun 2012 17:27:27 +0000 (13:27 -0400)] 
Set kfw GUI read-only princ flag when appropriate

When receiving a request to obtain tickets (from another process), if a
particular principal is requested, set the read-only flag to prevent
the user from changing the principal.

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

ticket: 7275
status: resolved

12 years agoAdd 'read-only principal' flag
Kevin Wasserman [Thu, 21 Jun 2012 17:22:39 +0000 (13:22 -0400)] 
Add 'read-only principal' flag

Reserve the high-order 16 bits of dlgtype for flags.
Add DLGFLAG_READONLY_PRINC.  When specified, the get tickets dialog
does not allow the user to change the principal.

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

ticket: 7274
status: resolved

12 years agoSend kfw 'obtain ticket' messages to main frame
Kevin Wasserman [Fri, 15 Jun 2012 02:57:59 +0000 (22:57 -0400)] 
Send kfw 'obtain ticket' messages to main frame

Previous versions of kfw would attempt to send 'obtain tickets' messages
directly to the 'view' window by sending to the first child of the main
frame.  But with the ribbon UI, the ribbon toolbar is now the first child,
so that method no longer works.  Instead we now send the message to the
main frame and the main frame forwards to the active view.

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

ticket: 7273
status: resolved

12 years agoFix 'renewable' checkbox text
Kevin Wasserman [Fri, 15 Jun 2012 02:46:40 +0000 (22:46 -0400)] 
Fix 'renewable' checkbox text

fix 'renwable' typo and pad size.

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

ticket: 7272
status: resolved

12 years agoFix ribbon breakage
Kevin Wasserman [Fri, 15 Jun 2012 02:44:49 +0000 (22:44 -0400)] 
Fix ribbon breakage

Controls were accidentally broken when moved

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

ticket: 7271
status: resolved

12 years agoAdd Forget Principals to Get Tickets dialog
Kevin Wasserman [Fri, 8 Jun 2012 12:06:01 +0000 (08:06 -0400)] 
Add Forget Principals to Get Tickets dialog

And remove remnants of it from the "more" panel.

Clear the registry key that stores the principal list.
Also clear the autocomplete strings on the active control.

[kaduk@mit.edu: squashed commits and rewrote commit message.]

(cherry picked from commit 1b80ae9b2c18a25447372871c48aecd17809e022)

ticket: 7269
status: resolved

12 years agoKfW GUI -- add 'More' Panel
Kevin Wasserman [Thu, 7 Jun 2012 01:17:21 +0000 (21:17 -0400)] 
KfW GUI -- add 'More' Panel

'Import Tickets', 'Export Tickets', and 'Forget Principals' buttons.

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

ticket: 7268
status: resolved

12 years agoCombine username and realm in get tickets dialog
Kevin Wasserman [Wed, 6 Jun 2012 18:30:58 +0000 (14:30 -0400)] 
Combine username and realm in get tickets dialog

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

ticket: 7266
status: resolved

12 years agoFix NSIS uninstall to work with UAC
Kevin Wasserman [Tue, 5 Jun 2012 17:03:21 +0000 (13:03 -0400)] 
Fix NSIS uninstall to work with UAC

Use ShellExecuteEx() to elevate privilege if CreateProcess() fails.

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

ticket: 7265
status: resolved

12 years agoKfW auto-complete support
Kevin Wasserman [Sat, 2 Jun 2012 14:34:09 +0000 (10:34 -0400)] 
KfW auto-complete support

Use the registry to store and retrieve principals for auto-complete.
Remember principals from successful autentications.
TODO: combine realm/username in principal; 'remember principal' checkbox;
reset button; add to support 'change password' dialog as well.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
[kaduk@mit.edu: style cleanup, copyright/license on new file.]

(cherry picked from commit 6201bbc23f1c307e6278af72eaa8e93dc898fedf)

ticket: 7264
status: resolved

12 years agoC++ safety for leashdll.h
Kevin Wasserman [Wed, 13 Jun 2012 15:23:31 +0000 (11:23 -0400)] 
C++ safety for leashdll.h

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

ticket: 7270
status: resolved