]> git.ipfire.org Git - thirdparty/krb5.git/log
thirdparty/krb5.git
12 years agoUse protocol error for PKINIT cert expiry
Greg Hudson [Mon, 14 Oct 2013 21:02:31 +0000 (17:02 -0400)] 
Use protocol error for PKINIT cert expiry

If we fail to create a cert chain in cms_signeddata_create(), return
KRB5KDC_ERR_PREAUTH_FAILED, which corresponds to a protocol code,
rather than KRB5_PREAUTH_FAILED, which doesn't.  This is also more
consistent with other error clauses in the same function.

(cherry picked from commit cd59782cb32b79e4001a86b0fe47af8b6275ef0c)

ticket: 7726 (new)
version_fixed: 1.11.4
status: resolved

12 years agoChange KRB5KDC_ERR_NO_ACCEPTABLE_KDF to 100
Greg Hudson [Wed, 9 Oct 2013 17:37:17 +0000 (13:37 -0400)] 
Change KRB5KDC_ERR_NO_ACCEPTABLE_KDF to 100

draft-ietf-krb-wg-pkinit-alg-agility-07 specifies
KDC_ERR_NO_ACCEPTABLE_KDF as 82, but this value conflicts with
KRB_AP_ERR_PRINCIPAL_UNKNOWN from RFC 6111.  The former value has been
reassigned to 100 to fix the conflict.  Use the correct value.

We believe that this error won't crop up in practice for a long time
(when SHA-2 has been superceded by other hash algorithms and people
are desupporting it), by which time implementations will mostly have
been upgraded to use the new value.

(cherry picked from commit 2938851a5ec77ab68bcd1f5cfd07991c7ccabea6)

ticket: 7724 (new)
version_fixed: 1.11.4
status: resolved

12 years agoFix GSSAPI krb5 cred ccache import
Tom Yu [Thu, 17 Oct 2013 22:20:37 +0000 (18:20 -0400)] 
Fix GSSAPI krb5 cred ccache import

json_to_ccache was incorrectly indexing the JSON array when restoring
a memory ccache.  Fix it.

Add test coverage for a multi-cred ccache by exporting/importing the
synthesized S4U2Proxy delegated cred in t_s4u2proxy_krb5.c; move
export_import_cred from t_export_cred.c to common.c to facilitate
this.  Make a note in t_export_cred.py that this case is covered in
t_s4u.py.

(cherry picked from commit 48dd01f29b893a958a64dcf6eb0b734e8463425b)

ticket: 7723 (new)
version_fixed: 1.11.4
status: resolved

12 years agoDon't warn or error on variadic macros
Greg Hudson [Sat, 25 May 2013 18:35:41 +0000 (14:35 -0400)] 
Don't warn or error on variadic macros

Our portability assumptions now allow the use of variadic macros, so
don't warn or error on them.

(cherry picked from commit d211001ba17fddfb952beb00118dc5c7e598355e)

ticket: 7702
version_fixed: 1.11.4
status: resolved

12 years agoAdd test case for CVE-2013-1417
Tom Yu [Tue, 2 Jul 2013 02:20:41 +0000 (22:20 -0400)] 
Add test case for CVE-2013-1417

(back ported from commit f3328214a01fe9ca4de72cb9593ee10c39c638e9)

ticket: 7670
version_fixed: 1.11.4
status: resolved

12 years agoKDC null deref due to referrals [CVE-2013-1417]
Tom Yu [Fri, 21 Jun 2013 21:58:25 +0000 (17:58 -0400)] 
KDC null deref due to referrals [CVE-2013-1417]

An authenticated remote client can cause a KDC to crash by making a
valid TGS-REQ to a KDC serving a realm with a single-component name.
The process_tgs_req() function dereferences a null pointer because an
unusual failure condition causes a helper function to return success.

While attempting to provide cross-realm referrals for host-based
service principals, the find_referral_tgs() function could return a
TGS principal for a zero-length realm name (indicating that the
hostname in the service principal has no known realm associated with
it).

Subsequently, the find_alternate_tgs() function would attempt to
construct a path to this empty-string realm, and return success along
with a null pointer in its output parameter.  This happens because
krb5_walk_realm_tree() returns a list of length one when it attempts
to construct a transit path between a single-component realm and the
empty-string realm.  This list causes a loop in find_alternate_tgs()
to iterate over zero elements, resulting in the unexpected output of a
null pointer, which process_tgs_req() proceeds to dereference because
there is no error condition.

Add an error condition to find_referral_tgs() when
krb5_get_host_realm() returns an empty realm name.  Also add an error
condition to find_alternate_tgs() to handle the length-one output from
krb5_walk_realm_tree().

The vulnerable configuration is not likely to arise in practice.
(Realm names that have a single component are likely to be test
realms.)  Releases prior to krb5-1.11 are not vulnerable.

Thanks to Sol Jerome for reporting this problem.

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

(cherry picked from commit 3c7f1c21ffaaf6c90f1045f0f5440303c766acc0)

ticket: 7668
version_fixed: 1.11.4
status: resolved

12 years agoInstall ccselect_plugin.h
Tom Yu [Mon, 1 Jul 2013 19:34:36 +0000 (15:34 -0400)] 
Install ccselect_plugin.h

The ccselect pluggable interface was added in release 1.10, but we
neglected to install its header file.

(back ported from commit a1933d02c87e9d78ddbc586d460028aabbd747cb)

ticket: 7671
version_fixed: 1.11.4
status: resolved

12 years agoFix spin loop reading from KDC TCP socket
Tom Yu [Mon, 1 Jul 2013 19:18:33 +0000 (15:18 -0400)] 
Fix spin loop reading from KDC TCP socket

In the k5_sendto code for reading from a TCP socket, detect
end-of-stream when reading the length.  Otherwise we can get stuck in
an infinite loop of poll() and read().

[ghudson@mit.edu: commit message]

(back ported from commit 53e5c850e05f011e9e7f25c2032aec51d8b352a9)

ticket: 7508
version_fixed: 1.11.4
status: resolved

12 years agoBuild with Visual Studio 2012
Ben Kaduk [Mon, 24 Jun 2013 22:19:45 +0000 (18:19 -0400)] 
Build with Visual Studio 2012

It's more aggressive about enforcing that keywords are not macros
in C++ mode, and has bumped the MFC version to 11.

Keep compatibility with older versions of Visual Studio, appropriately
conditionalized.

(cherry picked from commit 7bca89626e53f258397818a9b0d838a0a3e00f5b)

ticket: 7664
version_fixed: 1.11.4
status: resolved

12 years agoProperly handle use_master in k5_init_creds_get
Greg Hudson [Thu, 30 May 2013 15:39:54 +0000 (11:39 -0400)] 
Properly handle use_master in k5_init_creds_get

If we make multiple requests in an initial creds exchange, the
krb5_sendto_kdc call in k5_init_creds_get may flip the use_master
value from 0 to 1 if it detects that the response was from a master
KDC.  Don't turn this into a requirement for future requests during
the same exchange, or we may have trouble following AS referrals.
Reported by Sumit Bose.

(cherry picked from commit a12a5ddb9b932061bad7b83df058c7c6e2e4b044)

ticket: 7650
version_fixed: 1.11.4
status: resolved

12 years agoUpdate for krb5-1.11.3-postrelease
Tom Yu [Mon, 3 Jun 2013 21:49:05 +0000 (17:49 -0400)] 
Update for krb5-1.11.3-postrelease

12 years agoUpdates for krb5-1.11.3 krb5-1.11.3-final
Tom Yu [Fri, 31 May 2013 21:50:55 +0000 (17:50 -0400)] 
Updates for krb5-1.11.3

12 years agoClean up dangling antecedent in allow_weak_crypto
Ben Kaduk [Fri, 31 May 2013 16:48:46 +0000 (12:48 -0400)] 
Clean up dangling antecedent in allow_weak_crypto

The "previous three lists" are not previous any more.
Say explicitly which three lists, and make the parenthetical bind
to the correct noun.

(cherry picked from commit 2a10e19e19c65af0e3890bdeae03c37089ef02ea)

ticket: 7655
version_fixed: 1.11.3
status: resolved

12 years agoClarify retiring-des based on user feedback
Ben Kaduk [Fri, 31 May 2013 16:40:10 +0000 (12:40 -0400)] 
Clarify retiring-des based on user feedback

Explain why DES keys should be removed from principals, and clarify
that allow_weak_crypto overrides all other configuration.

(cherry picked from commit fa6de1bf73926751a2f68bff31ef020eb7db9260)

ticket: 7654
version_fixed: 1.11.3
status: resolved

12 years agoDocument preauth flags for service principals
Ben Kaduk [Thu, 30 May 2013 22:49:36 +0000 (18:49 -0400)] 
Document preauth flags for service principals

These flags are overloaded to mean different things for clients and
servers; previously we only documented the client behavior.

(cherry picked from commit 7425e9b69566c241c54eb2686fb37f216122423f)

ticket: 7653
version_fixed: 1.11.3
status: resolved

12 years agoClarify krb5_rd_req documentation
Greg Hudson [Wed, 22 May 2013 05:55:12 +0000 (01:55 -0400)] 
Clarify krb5_rd_req documentation

For the user-to-user case, document that callers should pass a server
principal to krb5_rd_req.  For the keytab case, more accurately
document which keytab keys are tried against the ticket.

(cherry picked from commit 98aa233e18245981b491affe5fa70623cb83b705)

ticket: 7641
version_fixed: 1.11.3
status: resolved

12 years agoFix transited handling for GSSAPI acceptors
Greg Hudson [Mon, 20 May 2013 15:03:04 +0000 (11:03 -0400)] 
Fix transited handling for GSSAPI acceptors

The Acceptor Names project (#6855) extended krb5_rd_req so that it can
accept a "matching principal" in the server parameter.  If the
matching principal has an empty realm, rd_req_decoded_opt attempted to
do transited checking with an empty server realm.

To fix this, always reset server to req->ticket->server for future
processing steps if we decrypt the ticket using a keytab.
decrypt_ticket replaces req->ticket->server with the principal name
from the keytab entry, so we know this name is correct.

Based on a bug report and patch from nalin@redhat.com.

(cherry picked from commit 57acee11b5c6682a7f4f036e35d8b2fc9292875e)

ticket: 7639
version_fixed: 1.11.3
status: resolved

12 years agoClarify that kdc.conf and krb5.conf are merged
Ben Kaduk [Mon, 20 May 2013 17:04:32 +0000 (13:04 -0400)] 
Clarify that kdc.conf and krb5.conf are merged

These two files are merged into the profile for KDC applications

(cherry picked from commit e818d27a372d021bc6025e7bce867ed06a8fc1ad)

ticket: 7460
version_fixed: 1.11.3
status: resolved

12 years agoClean up python bytecode from doc build
Ben Kaduk [Tue, 2 Apr 2013 16:03:40 +0000 (12:03 -0400)] 
Clean up python bytecode from doc build

Otherwise they escape into the release tarball.

(cherry picked from commit 424bed7b2943e0bc32a3feab4c55a4ea056bfa21)

ticket: 7644
version_fixed: 1.11.3
status: resolved

12 years agoRename internal Camellia symbols
Greg Hudson [Tue, 14 May 2013 02:59:35 +0000 (22:59 -0400)] 
Rename internal Camellia symbols

Symbols from the NTT Camellia sources, used in the builtin crypto
provider, could conflict with symbols from other libraries such as
OpenSSL's libcrypto.  Rename those like we rename the Gladman AES
symbols.

(cherry picked from commit 19c9cc879c6fdc9420d3d9e9fb3affbb692668b9)

ticket: 7626
version_fixed: 1.11.3
status: resolved

12 years agoFix kpasswd UDP ping-pong [CVE-2002-2443]
Tom Yu [Fri, 3 May 2013 20:26:46 +0000 (16:26 -0400)] 
Fix kpasswd UDP ping-pong [CVE-2002-2443]

The kpasswd service provided by kadmind was vulnerable to a UDP
"ping-pong" attack [CVE-2002-2443].  Don't respond to packets unless
they pass some basic validation, and don't respond to our own error
packets.

Some authors use CVE-1999-0103 to refer to the kpasswd UDP ping-pong
attack or UDP ping-pong attacks in general, but there is discussion
leading toward narrowing the definition of CVE-1999-0103 to the echo,
chargen, or other similar built-in inetd services.

Thanks to Vincent Danen for alerting us to this issue.

CVSSv2: AV:N/AC:L/Au:N/C:N/I:N/A:P/E:P/RL:O/RC:C

(cherry picked from commit cf1a0c411b2668c57c41e9c4efd15ba17b6b322c)

ticket: 7637
version_fixed: 1.11.3
status: resolved

12 years agoSet msg_type when decoding FAST requests
Greg Hudson [Fri, 12 Apr 2013 20:28:14 +0000 (16:28 -0400)] 
Set msg_type when decoding FAST requests

An RFC 6113 KrbFastReq contains a padata sequence and a KDC-REQ-BODY,
neither of which contain the msg-type field found in a KDC-REQ.  So
when we decode the FAST request, the resulting krb5_kdc_req structure
has a msg_type of 0.  Copy msg_type from the outer body, since we make
use of it in further KDC processing.

(cherry picked from commit 3a447c5a8c95758501cf5a20c161a2d735a02f6d)

ticket: 7605
version_fixed: 1.11.3
status: resolved

12 years agoAllow config of dh_min_bits < 2048
Tom Yu [Wed, 10 Apr 2013 03:47:54 +0000 (23:47 -0400)] 
Allow config of dh_min_bits < 2048

Allow configuration to override the default dh_min_bits of 2048 to
1024.  Disallow configuration of dh_min_bits < 1024, but continue to
default to 2048.

(cherry picked from commit cae44d2d014985022a001924dce4a56d12c63818)

ticket: 7602
version_fixed: 1.11.3
status: resolved

12 years agoIgnore missing Q in dh_params
Tom Yu [Thu, 28 Mar 2013 23:09:04 +0000 (19:09 -0400)] 
Ignore missing Q in dh_params

Some implementations don't send the required Q value in dh_params, so
allow it to be absent.

(cherry picked from commit ed77a25c53ed6afd41372838f205a98a561a89fb)

ticket: 7596
version_fixed: 1.11.3
status: resolved

12 years agoUpdate for krb5-1.11.2-postrelease
Tom Yu [Sat, 13 Apr 2013 01:59:41 +0000 (21:59 -0400)] 
Update for krb5-1.11.2-postrelease

12 years agoUpdates for krb5-1.11.2 release
Tom Yu [Wed, 10 Apr 2013 22:44:29 +0000 (18:44 -0400)] 
Updates for krb5-1.11.2 release

Update README and patchlevel.h for krb5-1.11.2 release.  Regenerate
man pages also.

12 years agoUpdate documentation copyright dates: 1985-2013
Tom Yu [Wed, 10 Apr 2013 21:09:04 +0000 (17:09 -0400)] 
Update documentation copyright dates: 1985-2013

(cherry picked from commit 48e750799dff48239a044c6a732f41ded25cc624)

12 years agoInstall krb5-config man page
Ben Kaduk [Wed, 3 Apr 2013 22:46:25 +0000 (18:46 -0400)] 
Install krb5-config man page

Don't just build it.

(cherry picked from commit 2defbe8939c1c11a9f76334443c63603a8b749bf)

ticket: 7601
version_fixed: 1.11.2
status: resolved

12 years agoRegenerate man pages
Tom Yu [Tue, 9 Apr 2013 20:38:12 +0000 (16:38 -0400)] 
Regenerate man pages

12 years agoAdd a krb5-config man page
Ben Kaduk [Wed, 3 Apr 2013 04:06:45 +0000 (00:06 -0400)] 
Add a krb5-config man page

Missed when converting the old nroff man pages.

(cherry picked from commit 5a6d14918a3b5d003f248b66e88028f1b5e450b7)

ticket: 7601

12 years agoReset ulog if database load failed
rbasch [Mon, 4 Mar 2013 03:55:41 +0000 (22:55 -0500)] 
Reset ulog if database load failed

If an iprop slave tries to load a dump from the master and it fails,
reset the ulog header so we take another full dump, instead of
reporting that the slave is current when it isn't.

[ghudson@mit.edu: commit message]

ticket: 7530
version_fixed: 1.11.2
status: resolved

12 years agoExport verto_set_flags from libverto
Greg Hudson [Mon, 25 Mar 2013 16:42:49 +0000 (12:42 -0400)] 
Export verto_set_flags from libverto

When the bundled libverto was updated from 0.2.2 to 0.2.5,
verto_set_flags should have been added to libverto.exports along with
the other new functions.

(cherry picked from commit fb92e73d12081d36b0497e55489293d296eb416d)

ticket: 7594
version_fixed: 1.11.2
status: resolved

12 years agoFix import_sec_context with interposers
Simo Sorce [Sat, 16 Mar 2013 19:23:03 +0000 (15:23 -0400)] 
Fix import_sec_context with interposers

The code was correctly selecting the mechanism to execute, but it was
improperly setting the mechanism type of the internal context when the
selected mechanism was that of an interposer and vice versa.

When an interposer is involved the internal context is that of the
interposer, so the mechanism type of the context needs to be the
interposer oid.  Conversely, when an interposer re-enters gssapi and
presents a token with a special oid, the mechanism called is the real
mechanism, and the context returned is a real mechanism context.  In
this case the mechanism type of the context needs to be that of the
real mechanism.

(cherry picked from commit 36c76aa3c625afc9291b9e1df071db51ccf37dab)

ticket: 7592
version_fixed: 1.11.2
status: resolved

12 years agoFix condition with empty body
David Benjamin [Wed, 13 Mar 2013 05:08:01 +0000 (01:08 -0400)] 
Fix condition with empty body

Found by clang's warnings.

(cherry picked from commit 18796a2eb6c05706c6635453b3e425955aab93f4)

ticket: 7591
version_fixed: 1.11.2
status: resolved

12 years agoFix dependencies in tests/gssapi
Nickolai Zeldovich [Sun, 3 Mar 2013 06:38:22 +0000 (01:38 -0500)] 
Fix dependencies in tests/gssapi

Use $(COMMON_DEPS) instead of $(COMMON_DEPLIBS) for dependencies; the
latter appears to be a typo.  Fixes build when using "make -j".

(cherry picked from commit 055d1ffa81d0730e92aa3f1ed5045cd805c74957)

ticket: 7587
version_fixed: 1.11.2
status: resolved

12 years agoFix a memory leak in krb5_get_init_creds_keytab
Greg Hudson [Thu, 28 Feb 2013 23:55:31 +0000 (18:55 -0500)] 
Fix a memory leak in krb5_get_init_creds_keytab

lookup_etypes_for_keytab was not freeing the keytab entries it
iterated over.  Reported by nalin@redhat.com.

(cherry picked from commit a39af2971e03d3dc6da2cfd8959feebd40a0ffc0)

ticket: 7586
version_fixed: 1.11.2
status: resolved

12 years agoUpdate patchlevel.h for krb5-1.11.1-postrelease
Tom Yu [Fri, 22 Feb 2013 04:34:13 +0000 (23:34 -0500)] 
Update patchlevel.h for krb5-1.11.1-postrelease

12 years agoUpdate README and patchlevel.h for krb5-1.11.1 krb5-1.11.1-final
Tom Yu [Thu, 21 Feb 2013 21:30:47 +0000 (16:30 -0500)] 
Update README and patchlevel.h for krb5-1.11.1

12 years agoUpdate acknowledgments in README
Tom Yu [Thu, 21 Feb 2013 19:38:58 +0000 (14:38 -0500)] 
Update acknowledgments in README

Also update copyright years.

12 years agoFix fd leak in DIR ccache cursor function
Greg Hudson [Thu, 21 Feb 2013 17:36:07 +0000 (12:36 -0500)] 
Fix fd leak in DIR ccache cursor function

If dcc_ptcursor_next reached the end of a directory, it called free()
on the directory handle instead of closedir(), causing the directory
fd to be leaked.  Call closedir() instead.

(cherry picked from commit c29d5f61af301aa8993b01ed0e3eb4f529d6862c)

ticket: 7573
version_fixed: 1.11.1
status: resolved

12 years agoFix memory leak closing DIR ccaches
Greg Hudson [Wed, 20 Feb 2013 17:06:12 +0000 (12:06 -0500)] 
Fix memory leak closing DIR ccaches

A ccache type's close function is supposed to free the cache container
as well as the type-specific data.  dcc_close was not doing so,
causing a small memory leak each time a ccache is created or
destroyed.

(cherry picked from commit c264c4e824e1abe77806e7bf43ab2641459b7ee9)

ticket: 7574
version_fixed: 1.11.1
status: resolved

12 years agoConvert success in krb5_chpw_result_code_string
Jonathan Reams [Fri, 15 Feb 2013 07:11:57 +0000 (02:11 -0500)] 
Convert success in krb5_chpw_result_code_string

Result code 0 used to be converted properly by krb5_set_password,
though not krb5_change_password; this changed in 1.10 when
krb5int_setpw_result_code_string was folded into
krb5_chpw_result_code_string.  Restore the old behavior, and make it
apply to krb5_change_password as well, by making
krb5_chpw_result_code_string convert result code 0.

[ghudson@mit.edu: commit message]

(cherry picked from commit 316bf74b4696058e2b60c95c9d0fc90d6c2c2ffe)

ticket: 7569
version_fixed: 1.11.1
status: resolved

12 years agoAllow multi-hop SAM-2 exchanges
Greg Hudson [Sun, 17 Feb 2013 17:23:30 +0000 (12:23 -0500)] 
Allow multi-hop SAM-2 exchanges

Prior to 1.11, it was possible to do SAM-2 preauth exchanges with
multiple hops by sending repeated preauth-required errors with
different challenges (which is not the way multi-hop exchanges are
described in RFC 6113, but it can still work).  This stopped working
when SAM-2 was converted to a built-in module because of the use_count
field.  Disable the use count for SAM-2 specifically.

ticket: 7571
version_fixed: 1.11.1
status: resolved

12 years agoPKINIT null pointer deref [CVE-2013-1415]
Xi Wang [Thu, 14 Feb 2013 23:17:40 +0000 (18:17 -0500)] 
PKINIT null pointer deref [CVE-2013-1415]

Don't dereference a null pointer when cleaning up.

The KDC plugin for PKINIT can dereference a null pointer when a
malformed packet causes processing to terminate early, leading to
a crash of the KDC process.  An attacker would need to have a valid
PKINIT certificate or have observed a successful PKINIT authentication,
or an unauthenticated attacker could execute the attack if anonymous
PKINIT is enabled.

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

This is a minimal commit for pullup; style fixes in a followup.
[kaduk@mit.edu: reformat and edit commit message]

(cherry picked from commit c773d3c775e9b2d88bcdff5f8a8ba88d7ec4e8ed)

ticket: 7570
version_fixed: 1.11.1
status: resolved

12 years agoFix RFC 5587 const pointer typedefs
Greg Hudson [Tue, 12 Feb 2013 02:13:15 +0000 (21:13 -0500)] 
Fix RFC 5587 const pointer typedefs

gss_const_ctx_id_t, gss_const_cred_id_t, and gss_const_name_t are
supposed to be const pointers to the appropriate structures, not the
structures themselves.  These are not used by any prototypes yet, and
no application would have any reason to use them as they are, so it
should be safe to change them within the public header.

(cherry picked from commit 884e040c0478c94585395a03dfbb0bbdee7c5ed4)

ticket: 7567
version_fixed: 1.11.1
status: resolved

12 years agoMake kprop/kpropd work with RC4 session key
Greg Hudson [Sun, 3 Feb 2013 18:21:34 +0000 (13:21 -0500)] 
Make kprop/kpropd work with RC4 session key

In krb5_auth_con_initivector and mk_priv/rd_priv, stop assuming that
the enctype's block size is the size of the cipher state.  Instead,
make and discard a cipher state to get the size.

(cherry picked from commit 8d01455ec9ed88bd3ccae939961a6e123bb3d45f)

ticket: 7561
version_fixed: 1.11.1
status: resolved

12 years agoFix kdb5_util dump.c uninitialized warnings
Greg Hudson [Fri, 1 Feb 2013 16:52:48 +0000 (11:52 -0500)] 
Fix kdb5_util dump.c uninitialized warnings

Some versions of clang report an uninitialized variable warning (which
we treat as an error) in process_k5beta_record.  Due to the if-ladder
style of the function, uninitialized tmpint values can be copied
around in certain error cases, although the garbage values would be
ultimately ignored.  As a minimal fix, initialize the tmpint
variables.

(cherry picked from commit 1b7f7eef8a95bda0135159b2c06a168b56d9f42b)

ticket: 7560
version_fixed: 1.11.1
status: resolved

12 years agoFix "search" accesskey in layout.html
Tom Yu [Fri, 18 Jan 2013 03:42:23 +0000 (22:42 -0500)] 
Fix "search" accesskey in layout.html

The accesskey for the "search" link conflicted with the one for the
"contents" link.

(cherry picked from commit ba8a8a6b25027079ffd3e565a6e6ed450217a024)

ticket: 7559
version_fixed: 1.11.1
status: resolved

12 years agoFix typos in layout.html
Tom Yu [Fri, 18 Jan 2013 03:39:57 +0000 (22:39 -0500)] 
Fix typos in layout.html

There were multiple misplaced semicolons, etc.

(cherry picked from commit 95fc179c21cab802469907b2759f0e8bd1cafef1)

ticket: 7558
version_fixed: 1.11.1
status: resolved

12 years agoFix h1 end tag in Sphinx header titles
Tom Yu [Thu, 17 Jan 2013 22:56:53 +0000 (17:56 -0500)] 
Fix h1 end tag in Sphinx header titles

A </h1> end tag was incorrectly written as <h1>.  Also adjust style
settings so that the resulting computed style remains the same for
div.rel.

(cherry picked from commit 21e14aed841e109b31a9f27c0e78751e450364f2)

ticket: 7557
version_fixed: 1.11.1
status: resolved

12 years agoCheck for negative poll timeout in k5_sendto_kdc
Greg Hudson [Fri, 25 Jan 2013 18:11:27 +0000 (13:11 -0500)] 
Check for negative poll timeout in k5_sendto_kdc

(cherry picked from commit 74bee54227deb64a41c2e79f57dd2a2c5ea010a3)

ticket: 7553
version_fixed: 1.11.1
status: resolved

12 years agoFix iprop safety net in kdb5_util load
Greg Hudson [Thu, 17 Jan 2013 17:49:57 +0000 (12:49 -0500)] 
Fix iprop safety net in kdb5_util load

The error message was missing a newline, and the exit behavior causes
the database to be destroyed.

(cherry picked from commit b264161818eba43263b4d7f137dbae6b266907f0)

ticket: 7370
version_fixed: 1.11.1
status: resolved

12 years agoFix no_host_referral concatention in KDC
Greg Hudson [Fri, 11 Jan 2013 15:13:25 +0000 (10:13 -0500)] 
Fix no_host_referral concatention in KDC

If no_host_referral is set in both [kdcdefaults] and the realm
subsection, we're supposed to concatenate their values.  But the logic
in handle_referral_params would overwrite the value with the
non-concatenated realm value.  Similar bugs of this nature were fixed
in 639c9d0f5a7c68dc98a2a452abc05ca32443cddf (r22037) but this one was
missed.

(cherry picked from commit 6338d039cbd0b138642e3b123ac58dc802d1d907)

ticket: 7539
version_fixed: 1.11.1
status: resolved

12 years agoFix various result checks
Nickolai Zeldovich [Mon, 7 Jan 2013 06:37:19 +0000 (01:37 -0500)] 
Fix various result checks

Correct three cases where the wrong expression was checked to see if
an allocation function returned null.

[ghudson@mit.edu: commit message, patch splitting]

(cherry picked from commit a9ee4a040eeacab1d410ff9e4c862484b531c401)

ticket: 7534
version_fixed: 1.11.1
status: resolved

12 years agoFix initial call to svcraw_create
Nickolai Zeldovich [Mon, 7 Jan 2013 06:33:15 +0000 (01:33 -0500)] 
Fix initial call to svcraw_create

gssrpc raw services could not work because svcraw_create did not set
svcraw_private after allocating memory for it.

[ghudson@mit.edu: commit message, patch splitting]

(cherry picked from commit 5e3bf4ac6cb02601c5f10c5b2804fd5028c80119)

ticket: 7534

12 years agoFix gss_str_to_oid for OIDs with zero-valued arcs
Luke Howard [Sun, 30 Dec 2012 15:36:25 +0000 (10:36 -0500)] 
Fix gss_str_to_oid for OIDs with zero-valued arcs

gss_str_to_oid wasn't outputting any bytes for a zero-valued arc.  It
should output one byte with value 0.

[ghudson@mit.edu: commit message]

(cherry picked from commit 54fa4433df7412267375240aba40959e97ac4fe2)

ticket: 7523
version_fixed: 1.11.1
status: resolved

12 years agoFix DPRINT in ipropd_svc.c
Guillaume Rousse [Tue, 1 Jan 2013 06:40:34 +0000 (01:40 -0500)] 
Fix DPRINT in ipropd_svc.c

cea0b28045b262b1098f17f17f78b2efbf89a6c1 contained an incorrect
definition of DPRINT.  Fix it.

[ghudson@mit.edu: commit message]

(cherry picked from commit 02de9812378cf62293b4acbdaa5f1e13d9c38c6d)

ticket: 7525
version_fixed: 1.11.1
status: resolved

12 years agoAdd more formats to krb5_timestamp_to_sfstring
Tom Yu [Fri, 21 Dec 2012 20:45:53 +0000 (15:45 -0500)] 
Add more formats to krb5_timestamp_to_sfstring

krb5_timestamp_to_string() can produce ambiguous dates.  The final
fallback, "%d/%m/%Y %R", contains a European order date format that
can be confused with a US date format.  Add some additional strftime()
format strings, including locale-dependent formats and some ISO 8601
formats.  Remove the hardcoded strftime() format that had an ambiguous
date order.

(cherry picked from commit e8e34ead59b3e1fd28beb151c5e6efb47bc57bee)

ticket: 7458
version_fixed: 1.11.1
status: resolved

12 years agoUpdate patchlevel.h for krb5-1.11-postrelease
Tom Yu [Tue, 18 Dec 2012 03:27:54 +0000 (22:27 -0500)] 
Update patchlevel.h for krb5-1.11-postrelease

12 years agoUpdate README and patchlevel.h for krb5-1.11 krb5-1.11-final
Tom Yu [Tue, 18 Dec 2012 02:35:02 +0000 (21:35 -0500)] 
Update README and patchlevel.h for krb5-1.11

12 years agoAdd release string to index.rst page heading
Tom Yu [Tue, 18 Dec 2012 01:56:05 +0000 (20:56 -0500)] 
Add release string to index.rst page heading

(cherry picked from commit 296c51d3208ddc37b64f5a0b06812e2705995c4b)

ticket: 7515
version_fixed: 1.11
status: resolved

12 years agoUpdate acknowledgments
Tom Yu [Mon, 17 Dec 2012 23:59:20 +0000 (18:59 -0500)] 
Update acknowledgments

12 years agoRegenerate manpages
Tom Yu [Tue, 18 Dec 2012 00:43:35 +0000 (19:43 -0500)] 
Regenerate manpages

12 years agoClarify enctype settings in krb5_conf.rst
Tom Yu [Tue, 18 Dec 2012 00:22:52 +0000 (19:22 -0500)] 
Clarify enctype settings in krb5_conf.rst

Clarify the krb5.conf settings default_tkt_enctypes and
default_tgs_enctypes in krb5_conf.rst.

(cherry picked from commit b11883ad8647a73a12a17c1be2c75f5365719342)

ticket: 7513
version_fixed: 1.11
status: resolved

12 years agoAdd web pages to resources.rst
Tom Yu [Tue, 18 Dec 2012 00:04:59 +0000 (19:04 -0500)] 
Add web pages to resources.rst

In resources.rst, add links to the MIT Kerberos software and MIT
Kerberos Consortium web pages.

(cherry picked from commit 58774a2c96b3c19368b48864698b97f6e020cae4)

ticket: 7512
version_fixed: 1.11
status: resolved

12 years agoUpdate retiring-des with real-world experience
Ben Kaduk [Thu, 13 Dec 2012 20:26:38 +0000 (15:26 -0500)] 
Update retiring-des with real-world experience

We took notes when upgrading the ZONE.MIT.EDU realm to reduce
its usage of single-DES.  Use these to give examples for the upgrade
procedure, and flesh out some parts of it that were missing or
under-specified.

(cherry picked from commit d44dfe4c097c7bc8eff6fe4931208ebfd968dc44)

ticket: 7501
version_fixed: 1.11
status: resolved

12 years agoDocument enctypes
Tom Yu [Mon, 17 Dec 2012 02:13:10 +0000 (21:13 -0500)] 
Document enctypes

Add enctypes.rst to document Kerberos enctypes, including some
considerations about configuring and choosing enctypes.

[kaduk@mit.edu: normalize formatting and describe reply keys a bit more.]

(cherry picked from commit 2c70d6d4d679957f1b2a4770b87e1e111361320d)

ticket: 7507
version_fixed: 1.11
status: resolved

12 years agoAdd copyright footer to HTML docs
Tom Yu [Mon, 17 Dec 2012 20:44:27 +0000 (15:44 -0500)] 
Add copyright footer to HTML docs

The technique we use for inserting the feedback link in the footer
overrides the Sphinx basic/layout.html and agogo/layout.html footers
in a way that prevents us from getting the copyright link footer.
Copy the relevant part of the Sphinx basic/layout.html for now.

Add a copyright.rst that links to mitK5license.rst.

(cherry picked from commit 49d31402d77744a58dcd03808a94361ef011a594)

ticket: 7510
version_fixed: 1.11
status: resolved

12 years agoUpdate README for Sphinx documentation
Tom Yu [Mon, 17 Dec 2012 19:45:57 +0000 (14:45 -0500)] 
Update README for Sphinx documentation

The README pointed at the obsolete Texinfo documentation.  Update it
to point at the Sphinx documentation.

(cherry picked from commit 2af891a5112642636986c88b474519075c392a64)

ticket: 7509
version_fixed: 1.11
status: resolved

12 years agoPKINIT (draft9) null ptr deref [CVE-2012-1016]
Nalin Dahyabhai [Thu, 13 Dec 2012 19:26:07 +0000 (14:26 -0500)] 
PKINIT (draft9) null ptr deref [CVE-2012-1016]

Don't check for an agility KDF identifier in the non-draft9 reply
structure when we're building a draft9 reply, because it'll be NULL.

The KDC plugin for PKINIT can dereference a null pointer when handling
a draft9 request, leading to a crash of the KDC process.  An attacker
would need to have a valid PKINIT certificate, or an unauthenticated
attacker could execute the attack if anonymous PKINIT is enabled.

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

[tlyu@mit.edu: reformat comment and edit log message]

(cherry picked from commit cd5ff932c9d1439c961b0cf9ccff979356686aff)

ticket: 7506
version_fixed: 1.11
status: resolved

12 years agoConditionally include MITKC logo in HTML doc
Tom Yu [Thu, 13 Dec 2012 23:07:51 +0000 (18:07 -0500)] 
Conditionally include MITKC logo in HTML doc

Conditionally include the MITKC logo in the HTML output from Sphinx if
the environment variable HTML_LOGO is set.  During official builds for
the web site, that environment variable will point to an appropriately
scaled copy of the MITKC logo.

Adjust HTML document colors to match logo.

(cherry picked from commit 7a0f65b38e471a69f2f7d900758260ed1f242d5f)

ticket: 7504
version_fixed: 1.11
status: resolved

12 years agoFix documentation browser resizing behavior
Tom Yu [Thu, 13 Dec 2012 14:53:23 +0000 (09:53 -0500)] 
Fix documentation browser resizing behavior

Remove hardcoded dimensions from a few CSS parameters to prevent
layout problems when readers resize their browsers to have a narrower
window.

Set a max-width: 60em on the main content so that text remains
readable on wide browser windows.

(cherry picked from commit bba7ed92a0b9800d9f5fdb14f5f66f755e9d92fa)

ticket: 7503
version_fixed: 1.11
status: resolved

12 years agoBetter names for doxygen-Sphinx bridge functions
Ben Kaduk [Wed, 12 Dec 2012 18:23:03 +0000 (13:23 -0500)] 
Better names for doxygen-Sphinx bridge functions

It is confusing when the codepath for the production doc build
involves calling functions with names like "test".  Rename things
which are in active use so that routines which are actually only
used for testing are more discernable as such.

(cherry picked from commit 060b1eb1e38b294495adab784da32ca4e9871d20)

ticket: 7505
version_fixed: 1.11
status: resolved

12 years agoMake the doc build quieter
Ben Kaduk [Wed, 12 Dec 2012 15:36:18 +0000 (10:36 -0500)] 
Make the doc build quieter

Don't print out every node processed (or not processed) in the
doxygen-Sphinx bridge, nor print out a summary of how many types
or functions were processed.

While here, tell doxygen to be quiet in its output as well, and
not print out each file that is generated.  It still outputs
warnings, though.

(cherry picked from commit 311347e5e9d9208e2d341b8f8aed37791a4de090)

ticket: 7495
version_fixed: 1.11
status: resolved

12 years agoAdd examples to init_creds.rst
Greg Hudson [Thu, 13 Dec 2012 20:53:43 +0000 (15:53 -0500)] 
Add examples to init_creds.rst

(cherry picked from commit 4dade44544dc838a2ca8929111c131b0dc5fe53a)

ticket: 7500
version_fixed: 1.11
status: resolved

12 years agoUse an empty challenge for the password question
Greg Hudson [Thu, 13 Dec 2012 19:53:58 +0000 (14:53 -0500)] 
Use an empty challenge for the password question

If a question's challenge is NULL, it is unnecessarily difficult for a
responder callback to detect whether it was asked.  So it's better to
use an empty challenge when there is no challenge data to communicate.
Do this for the "password" question.

(cherry picked from commit 70f2d9a093c71624269b2317c62ad0993126bc40)

ticket: 7499
version_fixed: 1.11
status: resolved

12 years agoDocument principal name interactions with DNS
Tom Yu [Mon, 10 Dec 2012 05:21:15 +0000 (00:21 -0500)] 
Document principal name interactions with DNS

Add princ_dns.rst to document the interactions of host-based Keberos
service principal names and DNS.

(cherry picked from commit 85c378e9e44ca184209056f118e75b6511cb40b8)

ticket: 7498
version_fixed: 1.11
status: resolved

12 years agoUpdate for krb5-1.11-beta2-postrelease
Tom Yu [Thu, 13 Dec 2012 01:49:58 +0000 (20:49 -0500)] 
Update for krb5-1.11-beta2-postrelease

12 years agoREADME and patchlevel.h for krb5-1.11-beta2 krb5-1.11-beta2
Tom Yu [Thu, 13 Dec 2012 01:05:14 +0000 (20:05 -0500)] 
README and patchlevel.h for krb5-1.11-beta2

12 years agoUpdate mkrel for SPHINX_ARGS
Tom Yu [Thu, 13 Dec 2012 01:19:17 +0000 (20:19 -0500)] 
Update mkrel for SPHINX_ARGS

Update mkrel so that it will explicitly set SPHINX_ARGS=-W to make
warnings fatal and so that it will work in an unconfigured tree.

(cherry picked from commit 6fbc0e5616a89368de6771208a5f2df8815842b0)

ticket: 7497
version_fixed: 1.11
status: resolved

12 years agoFix various integer issues
Tom Yu [Wed, 12 Dec 2012 21:51:02 +0000 (16:51 -0500)] 
Fix various integer issues

In kdc_util.c and spnego_mech.c, error returns from ASN.1 length
functions could be ignored because they were assigned to unsigned
values.  In spnego_mech.c, two buffer size checks could be rewritten
to reduce the likelihood of pointer overflow.  In dump.c and
kdc_preauth.c, calloc() could be used to simplify the code and avoid
multiplication overflow.

Reported by Nickolai Zeldovich <nickolai@csail.mit.edu>.

(cherry picked from commit d3c5450ddf0b20855e86dab41735d56c6860156b)

[tlyu@mit.edu: omitted pkinit fix because it's not conservative]

ticket: 7488
version_fixed: 1.11

12 years agoDocument API for getting anonymous tickets
Greg Hudson [Wed, 12 Dec 2012 20:46:41 +0000 (15:46 -0500)] 
Document API for getting anonymous tickets

In init_creds.rst, document how to get anonymous credentials from an
application.

(cherry picked from commit 9973812776fc69bc5fb8e3c7f85784cb295625f0)

ticket: 7496
version_fixed: 1.11
status: resolved

12 years agoRegenerate checked-in man pages
Ben Kaduk [Tue, 11 Dec 2012 22:19:44 +0000 (17:19 -0500)] 
Regenerate checked-in man pages

Pick up changes to kadmin.rst and krb5_conf.rst adding cross-references
for account lockout and detailing parameter expansion for keytab
and credentials cache names in krb5.conf

(cherry picked from commit 26481ee22377a46badbbf4bbdd8ae04265057205)

ticket: 7494
version_fixed: 1.11
status: resolved

12 years agoMake sphinx warnings fatal for doc build
Ben Kaduk [Tue, 27 Nov 2012 23:45:59 +0000 (18:45 -0500)] 
Make sphinx warnings fatal for doc build

We currently do not have any warnings.  Let us keep it that way by
making warnings fatal in maintainer-mode (and configurable on the
buildslaves).  Using sphinx-build -W also causes errors to be reported
in the exit status and picked up by make, which is quite useful.

In order to allow the build bot to use -W but end-users to not use it,
SPHINX_ARGS must be passed on the command line; it cannot be set by
the convenience target 'htmlsrc'.  Document this.

(cherry picked from commit 7b6758a09f92ccc386022bcc86e3a5fea472fdce)

ticket: 7468
version_fixed: 1.11
status: resolved

12 years agoMake building docs easier in an unconfigured tree
Ben Kaduk [Tue, 11 Dec 2012 05:13:30 +0000 (00:13 -0500)] 
Make building docs easier in an unconfigured tree

Instead of requiring the user to specify srcdir, top_srcdir, PYTHON,
and possibly more in the future, make an 'htmlsrc' target that does so
for them.

This also lets us do the clean in the same step, so that only one
command is required of the user.

(cherry picked from commit f6ef297fe537de3712fce751bad8a597ef32e0ed)

ticket: 7491
version_fixed: 1.11
status: resolved

12 years agoUpdate comments for RFC 3244 kpasswd extensions
Ben Kaduk [Mon, 10 Dec 2012 20:51:06 +0000 (15:51 -0500)] 
Update comments for RFC 3244 kpasswd extensions

Remove the inaccurate comments "unused" and replace them with
more useful representations of what they mean.

(cherry picked from commit f2cec6d908a8b15908f4de199540e5ad3486882b)

ticket: 7490
version_fixed: 1.11
status: resolved

12 years agoDo not document unused symbols
Ben Kaduk [Mon, 10 Dec 2012 20:02:14 +0000 (15:02 -0500)] 
Do not document unused symbols

The macro KRB5_KEYUSAGE_PA_REFERRAL was defined in an early revision
of draft-ietf-krb-wg-kerberos-referrals but did not make it into
RFC 6806.  We retain the definition so as to not break code implementing
the early draft, but need not document it.

Likewise, the krb5_octet_data structure and krb5_free_octet_data routine
are marked as having been originally introduced for PKINIT and "Do not
use this."  They are in fact unused, and should not be documented, but
the actual definitions must remain for compatibility.

(cherry picked from commit 6e6364f7c7613a6b8002f0f64864e7d34acea8be)

ticket: 7489
version_fixed: 1.11
status: resolved

12 years agoDon't use $(RM) in src/doc/Makefile.in
Ben Kaduk [Mon, 10 Dec 2012 23:13:52 +0000 (18:13 -0500)] 
Don't use $(RM) in src/doc/Makefile.in

We allow these rules to be used in an unconfigured tree, and some
makes do not supply a value for RM by default.

(cherry picked from commit 3f7394c1440f7526bc6f008f841b438d84411f3d)

ticket: 7492
version: 1.11
status: resolved

12 years agoFix typo
Ben Kaduk [Thu, 29 Nov 2012 00:15:05 +0000 (19:15 -0500)] 
Fix typo

We do not have any files with extension "rxt".

(cherry picked from commit db26cd1b6f422c20c062385e0daeb8c95137428d)

ticket: 7471
version_fixed: 1.11
status: resolved

12 years agoNote notice.txt's dependency on version.py
Ben Kaduk [Thu, 29 Nov 2012 00:06:44 +0000 (19:06 -0500)] 
Note notice.txt's dependency on version.py

This dependency has been in effect since the notice build was changed
to use the main conf.py, due to its unconditional execfile('version.py').
Adding another conditional in conf.py seems to add needless complication,
it is easier to just note the dependency in the Makefile and carry on.

(cherry picked from commit 9031b739fc4f9e4215e537855a853d2134a69ba9)

ticket: 7470
version_fixed: 1.11
status: resolved

12 years agoDo not include hidden files in the sidebar
Ben Kaduk [Wed, 28 Nov 2012 18:33:20 +0000 (13:33 -0500)] 
Do not include hidden files in the sidebar

We play games with hidden toctrees in the RST source to avoid
Sphinx warnings; make sure that they do not affect the rendered
output.

(cherry picked from commit b017751b711dfd70c8735f655a51e5ff860af49b)

ticket: 7467
version_fixed: 1.11
status: resolved

12 years agoDo not generate unused parts of toctree
Ben Kaduk [Tue, 27 Nov 2012 18:31:34 +0000 (13:31 -0500)] 
Do not generate unused parts of toctree

Our css only displays up to depth 3 of the toctree, partially
because the API reference content explodes at depth 4 and that would
not be pretty to see in the sidebar.  However, we would previously
always generate HTML for the full toctree and hide parts with CSS.
For the apiref, this proved to be about 65k per html file, and we
have one html file per function/type/macro.

Limit the depth of the toctree that gets generated to save on space
in the release tarball.

Unfortunately, there seems to be a Sphinx bug wherein the toctree
will only be generated to depth 1 for a document at a depth greater
than the maxdepth of the toctree, so the sidebar table of contents
on individual apiref pages will just be the toplevel toctree.
This issue is being tracked at
https://bitbucket.org/birkenfeld/sphinx/issue/1046/

(cherry picked from commit 81fc0331cdf8a41b346daaee32977d76ab645139)

ticket: 7466
version_fixed: 1.11
status: resolved

12 years agoReformat RST to avoid sphinx warnings
Ben Kaduk [Wed, 28 Nov 2012 19:19:43 +0000 (14:19 -0500)] 
Reformat RST to avoid sphinx warnings

Old versions of docutils will see inline markup (e.g., :ref:`foo`)
at the beginning of a line in the content of a directive block
and attempt to interpret that markup as options or arguments
to the directive.  RST intended as inline markup (as opposed to
modifying the behavior of the directive) will not be interpretable
in this context, and causes Sphinx to emit a warning.

Work around this behavior by always leaving a blank line before
the content of a directive block, forcing it to be interpreted
as content and not options or arguments.

The buggy behavior was only encountered in note environments, but
for consistency of style, also reformat warning and error blocks.

Note the new style constraint in doc/README.

(cherry picked from commit 8bff1e50c28b6f11b771add7bd7d4a57419a567b)

ticket: 7469
version_fixed: 1.11
status: resolved

12 years agoMake resources.rst more useful to non-devs
Tom Yu [Thu, 6 Dec 2012 23:35:59 +0000 (18:35 -0500)] 
Make resources.rst more useful to non-devs

Reorder the IRC channel listing so #kerberos is first.  (Developers
form a smaller part of our audience for this documentation set.)
Remove some details that are available on the wiki and not of interest
to non-developers.

Add a pointer to the wiki.

Fix minor grammar errors in Archives.

(cherry picked from commit 4e0d270faad7fabd773cb159b8cb8e03adb19462)

ticket: 7482
version_fixed: 1.11
status: resolved

12 years agoDon't return a host referral to the service realm
Greg Hudson [Fri, 7 Dec 2012 02:40:05 +0000 (21:40 -0500)] 
Don't return a host referral to the service realm

A host referral to the same realm we just looked up the principal in
is useless at best and confusing to the client at worst.  Don't
respond with one in the KDC.

(cherry picked from commit ee0d5eac353a13a194759b72cb44203fda1bf0fa)

ticket: 7483
version_fixed: 1.11
status: resolved

12 years agoFix typo for windows versions
Ben Kaduk [Wed, 5 Dec 2012 23:21:53 +0000 (18:21 -0500)] 
Fix typo for windows versions

We omit the patchlevel if it is zero, but the check whether
the patchlevel was zero was checking the wrong variable, and thus
always succeeding.

(cherry picked from commit de80646215b623b1ce16fe8a2c2db85bba531532)

ticket: 7487 (new)
queue: kfw

12 years agoAccess keys for the KfW ribbon interface
Ben Kaduk [Mon, 3 Dec 2012 19:21:55 +0000 (14:21 -0500)] 
Access keys for the KfW ribbon interface

Improve accessibility by actually enabling access keys for ribbon
elements (tap alt and follow the onscreen hints for keys to press),
instead of just underlining a letter in the name of each element.

Supply an underlined letter in the text of each element, corresponding
to this access key, even if there is not a shortcut key bound to that
element.  While here, fix conflicting assignment to 'R' on the 'options'
tab (between "Renewable Until" and "Automatic Ticket Renewal") by
making "Automatic Ticket Renewal" use 'T'.  Microsoft's UI recommendations
seem to say that access keys should be easy to locate when searching
through the menu, and thus using the first letter of the first or
second word is advisable.

The Ribbon XML Reference seems to indicate that these elements should
be "keytip" elements, but MSVS creates "keys" elements, which seem
to work, whereas "keytip" does not.  Apparently 'F' is standard for
the application button menu (which contains exit).  Access keys work
somewhat poorly for us in this menu, as they appear on top of the text
of the menu items, since we have no icons here.

(cherry picked from commit eacf40bdc52ae3c43dad58429086c39a8ce4d395)

ticket: 7486 (new)
queue: kfw

12 years agoRewrap the Leash ribbon conf file
Ben Kaduk [Tue, 4 Dec 2012 16:19:39 +0000 (11:19 -0500)] 
Rewrap the Leash ribbon conf file

A big pile of XML on one line is not very readable.
Use 'xmllint --format' to make things more sane.

(cherry picked from commit 1e362883dddc36bfb63b253e66485bbd8a1a50f7)

ticket: 7485 (new)
queue: kfw

12 years agoLeave 'OK' button visible in Leash AboutBox
Ben Kaduk [Mon, 3 Dec 2012 17:25:07 +0000 (12:25 -0500)] 
Leave 'OK' button visible in Leash AboutBox

The AboutBox dialog as specified in the resource file is larger than
the one we display; the dialog init routine marks several things as
non-visible, moves the 'OK' button up to where the now-invisible items
were, and shrinks the dialog's bounding rectangle.

However, the edit boxes containing copyright and version information
seem to always present as being on top of the 'OK' button, and their
background causes the button to appear almost invisible with the current
repositioning.

To keep the 'OK' button visible, reduce the amount that it is moved
(and the amount the dialog is shrunk) so that the button does not overlap
with the edit box.

(cherry picked from commit ceb486df4301608d5b2462011fed6534e60721bd)

ticket: 7484 (new)
queue: kfw

12 years agoRun make depend
Tom Yu [Wed, 5 Dec 2012 20:54:58 +0000 (15:54 -0500)] 
Run make depend