krb5.git
17 years agopull up r19154 from trunk
Tom Yu [Fri, 30 Mar 2007 00:36:20 +0000 (00:36 +0000)]
pull up r19154 from trunk

 r19154@cathode-dark-space:  jaltman | 2007-02-12 09:54:28 -0500
 ticket: new
 subject: hack to permit GetEnvironmentVariable usage without requiring getenv() conversion
 tags: pullup

  Windows has a major flaw when it comes to the use of getenv/putenv.
  getenv/putenv do not modify the actual environment of the process.
  Instead, they modify a copy of the environment block at the time the
  C Runtime Library was initialized for the current module.  In other
  words, the C Runtime Library environment block for the executable
  is not the same as the C Runtime Library environment block for the
  krb5_32.dll library, etc.

  This results in problems when a process wants to set the default
  ccache name outside the krb5_context.  The krb5_context default ccname
  disappears when the context is destroyed.  gss_acquire_cred() suffers
  from the creation and destruction of krb5_contexts and therefore the
  krb5_context default ccname cannot be used to set a default ccname.
  Instead, the process environment must be used.

  In order to modify the process environment, SetEnvironmentVariable()
  must be used.  However, this does not result in the C Runtime Library
  environment blocks being updated.  putenv() does not see the definition
  of "KRB5CCNAME".

  This patch modifies get_os_ccname() for Windows to check
  GetEnvironmentVariable() before checking the registry.  This hack will
  work as long as there is no "KRB5CCNAME" variable in the C Runtime
  Library environment block.

  The long term solution is to replace all calls to getenv and putenv
  with GetEnvironmentVariable/SetEnvironmentVariable for Windows.

ticket: 5437
version_fixed: 1.6.1

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

17 years agopull up r19125 from trunk
Tom Yu [Fri, 30 Mar 2007 00:36:08 +0000 (00:36 +0000)]
pull up r19125 from trunk

 r19125@cathode-dark-space:  jaltman | 2007-01-30 06:23:59 -0500
 ticket: 5419

  Conditionalize ssize_t declaration

ticket: 5419
version_fixed: 1.6.1

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

17 years agopull up r19123 from trunk
Tom Yu [Fri, 30 Mar 2007 00:35:56 +0000 (00:35 +0000)]
pull up r19123 from trunk

 r19123@cathode-dark-space:  jaltman | 2007-01-30 06:17:35 -0500
 ticket: new
 subject: Microsoft Windows Visual Studio does not define ssize_t
 tags: pullup

  Microsoft defines size_t but not ssize_t.
  Provide a definition in win-mac.h that follows the style
  used by Microsoft providing a preprocessor macro
  SSIZE_T_DEFINED which can be used for conditional
  definition and testing in case Microsoft decides to add
  it later.

ticket: 5419

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

17 years agopull up r19122 from trunk
Tom Yu [Fri, 30 Mar 2007 00:35:43 +0000 (00:35 +0000)]
pull up r19122 from trunk

 r19122@cathode-dark-space:  jaltman | 2007-01-30 06:02:32 -0500
 ticket: new
 subject: KFW: 32-bit builds use the pismere krbv4w32.dll library
 tags: pullup

  Only the 32-bit builds should use the pismere krbv4w32.dll
  library.   Pismere does not provide 64-bit support.

ticket: 5418
version_fixed: 1.6.1

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

17 years agopull up r19124 from trunk
Tom Yu [Fri, 30 Mar 2007 00:35:31 +0000 (00:35 +0000)]
pull up r19124 from trunk

 r19124@cathode-dark-space:  jaltman | 2007-01-30 06:22:45 -0500
 ticket: 5414

  The fix for the command line race conditions
  broke the ability to cancel and restart the
  Obtain New Credentials dialog

ticket: 5414
version_fixed: 1.6.1

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

17 years agopull up r19110 from trunk
Tom Yu [Fri, 30 Mar 2007 00:35:18 +0000 (00:35 +0000)]
pull up r19110 from trunk

 r19110@cathode-dark-space:  jaltman | 2007-01-23 19:09:13 -0500
 ticket: new
 subject: NIM Bug Fixes
 component: windows

  Document User Interface Callbacks

  Fix a race condition when performing renewal actions
  triggered by command line parameters.

  When importing credentials, kickoff a renewal after
  the credentials after the API: ccache is created.

  Another fix for identity expiration states.  This one
  fixes the behavior of the system tray icon.

ticket: 5414
version_fixed: 1.6.1

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

17 years agopull up r19078 from trunk
Tom Yu [Fri, 30 Mar 2007 00:35:04 +0000 (00:35 +0000)]
pull up r19078 from trunk

 r19078@cathode-dark-space:  jaltman | 2007-01-20 00:50:41 -0500
 ticket: new
 subject: KFW MSI installer corrections
 tags: pullup
 component: windows

  Add missing registry keys and values for
  Network Identity Manager plug-ins.

  Correct short names.

ticket: 5409
version_fixed: 1.6.1

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

17 years agopull up r19101 from trunk
Tom Yu [Fri, 30 Mar 2007 00:34:52 +0000 (00:34 +0000)]
pull up r19101 from trunk

 r19101@cathode-dark-space:  jaltman | 2007-01-20 17:21:13 -0500
 ticket: 5408

  small fixes

ticket: 5408
version_fixed: 1.6.1

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

17 years agopull up r19100 from trunk
Tom Yu [Fri, 30 Mar 2007 00:34:40 +0000 (00:34 +0000)]
pull up r19100 from trunk

 r19100@cathode-dark-space:  jaltman | 2007-01-20 16:10:10 -0500
 ticket: 5408

  Move files to their correct location

ticket: 5408
version_fixed: 1.6.1

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

17 years agopull up r19077 from trunk
Tom Yu [Fri, 30 Mar 2007 00:34:24 +0000 (00:34 +0000)]
pull up r19077 from trunk

 r19077@cathode-dark-space:  jaltman | 2007-01-20 00:42:30 -0500
 ticket: new
 subject: NIM - Context sensitive system tray menu and more
 component: windows

   Adds context sensitive menus for renew and destroy
  to the system tray menu.  Select either all identities
     or one of the identities with credentials.

  Increases the API to 1.1.9 and adds a new interactive
  callback mechanism.

ticket: 5408
version_fixed: 1.6.1

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

17 years agopull up r19069 from trunk
Tom Yu [Fri, 30 Mar 2007 00:34:11 +0000 (00:34 +0000)]
pull up r19069 from trunk

 r19069@cathode-dark-space:  jaltman | 2007-01-18 07:43:58 -0500
 ticket: new
 subject: NIM Kerberos 5 Provider corrections
 tags: pullup
 component: windows

  When validating a Kerberos 5 principal name, the request
  to the KDC should not request forwardable, renewable, or
  proxiable options as these may be blocked by policy and
  will result in the return of an error.

  Always treat the Kerberos 5 principal name as valid
  unless the KDC returns an error that clearly indicates that
  the principal name does not exist.

  Use a MEMORY: ccache for temporary storage instead of an
  API: ccache.

  Initialize pointer values with NULL instead of 0.

ticket: 5400
version_fixed: 1.6.1

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

17 years agopull up r19068 from trunk
Tom Yu [Fri, 30 Mar 2007 00:33:58 +0000 (00:33 +0000)]
pull up r19068 from trunk

 r19068@cathode-dark-space:  jaltman | 2007-01-18 07:39:06 -0500
 ticket: new
 subject: NIM Correct Visual Identity Expiration Status
 tags: pullup
 component: windows

  The visual status for the identities in NIM 1.1 was based
  upon the highest alert status of any credential that was
  associated with the identity.  The correct behavior that is
  now implemented is that the identity status should be based
  solely upon the expiration state of the credentials obtained
  by the identity provider.

  For example, the Kerberos v5 identity provider will based the
  identity expiration status on the initial TGT.  Service tickets
  with short lifetimes that expire do not prevent the acquisition
  of additional service tickets.  Therefore, the identity should
  not be listed as expired.

ticket: 5399
version_fixed: 1.6.1

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

17 years agopull up r19067 from trunk
Tom Yu [Fri, 30 Mar 2007 00:33:45 +0000 (00:33 +0000)]
pull up r19067 from trunk

 r19067@cathode-dark-space:  jaltman | 2007-01-18 07:33:47 -0500
 ticket: new
 subject: NIM Kerberos v4 configuration dialog
 tags: pullup

  The Kerberos v4 options for individual identities
  was never wired.  The controls were visible but they
  did not do anything.  Implement them now for NIM 1.2.

ticket: 5398
version_fixed: 1.6.1

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

17 years agopull up r19066 from trunk
Tom Yu [Fri, 30 Mar 2007 00:33:32 +0000 (00:33 +0000)]
pull up r19066 from trunk

 r19066@cathode-dark-space:  jaltman | 2007-01-18 07:31:23 -0500
 ticket: new
 subject: NIM string tables
 tags: pullup

  Update the string tables for NIM so that they are consistent.
  Always use "Kerberos v5" or "Kerberos v4".  Refer to credentials
  instead of tickets.  Do not abbreviate "Network Identity Manager".
  Etc.

ticket: 5397
version_fixed: 1.6.1

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

17 years agopull up r19061 from trunk
Tom Yu [Fri, 30 Mar 2007 00:33:19 +0000 (00:33 +0000)]
pull up r19061 from trunk

 r19061@cathode-dark-space:  jaltman | 2007-01-14 03:04:46 -0500
 ticket: new
 subject: kfw wix installer - memory overwrite error
 tags: pullup
 component: windows

    The custom handler allocates a buffer that is smaller
  than is required to hold the input.  Allocate the correct
   sized buffer.

ticket: 5353
version_fixed: 1.6.1

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

17 years agopull up r19060 from trunk
Tom Yu [Fri, 30 Mar 2007 00:33:07 +0000 (00:33 +0000)]
pull up r19060 from trunk

 r19060@cathode-dark-space:  jaltman | 2007-01-13 12:08:28 -0500
 ticket: new
 component: windows
 tags: pullup
 subject: Update to KFW NSIS installer

 Update copyright date, samples directory, and shortcut
 to NetIDMgr documentation

ticket: 5344
version_fixed: 1.6.1

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

17 years agopull up r19059 from trunk
Tom Yu [Fri, 30 Mar 2007 00:32:53 +0000 (00:32 +0000)]
pull up r19059 from trunk

 r19059@cathode-dark-space:  jaltman | 2007-01-13 12:04:44 -0500
 ticket: new
 subject: updated Windows README
 tags: pullup
 component: windows

 Revise the readme text for Windows.  Remove references
 to old beta SDKs.

ticket: 5343
version_fixed: 1.6.1

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

17 years agopull up r19208 from trunk
Tom Yu [Thu, 29 Mar 2007 21:36:50 +0000 (21:36 +0000)]
pull up r19208 from trunk

 r19208@cathode-dark-space:  raeburn | 2007-03-05 18:51:22 -0500
 ticket: new
 subject: osf1: get proper library dependencies installed
 target_version: 1.6.1
 tags: pullup

 The LDCOMBINE setting for Tru64 left out $(CFLAGS), which meant the
 -pthread option wasn't being passed in, so the libraries didn't
 indicate a dependency on the pthread library despite the fact that we
 need it unconditionally (if thread support is enabled).  Including
 $(CFLAGS) should fix this.

 Our own binaries get linked with -pthread anyways, so they build okay,
 but other binaries trying to link against or load our libraries could
 have problems.

ticket: 5458
version_fixed: 1.6.1

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

17 years agopull up r19196 from trunk
Tom Yu [Thu, 29 Mar 2007 21:36:38 +0000 (21:36 +0000)]
pull up r19196 from trunk

 r19196@cathode-dark-space:  raeburn | 2007-02-28 21:19:41 -0500
 ticket: new
 target_version: 1.6.1
 tags: pullup
 subject: valgrind detects uninitialized (but really unused) bytes in 'queue'

 The gsstest program exports a GSSAPI security context to a blob in
 memory, writes that memory to a file, and reads it back to use it.
 Under valgrind, the writing phase triggers a warning about
 uninitialized storage.

 The "queue" structure as implemented in generic/util_ordering.c holds
 an array of values, some of which may never be initialized.  As far as
 I can tell, those uninitialized values are never used before being
 initialized, either, but valgrind doesn't know that.

 This patch zaps the structure contents (including the array) before
 using the queue object.

ticket: 5455
version_fixed: 1.6.1

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

17 years agopull up r19039 from trunk
Tom Yu [Thu, 29 Mar 2007 21:36:26 +0000 (21:36 +0000)]
pull up r19039 from trunk

 r19039@cathode-dark-space:  raeburn | 2007-01-08 17:51:23 -0500
 ticket: new
 subject: create KDC database directory

 The default directory for the KDC database files doesn't exist after a
 normal "make install".  Reported by Jeff Blaine.

 * Makefile.in (INSTALLMKDIRS): Add var (really localstatedir) and var/krb5kdc
 to directories to be created at "make install" time, even though it'll be
 empty on most machines (since most probably aren't KDCs).

ticket: 5294
version_fixed: 1.6.1

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

17 years agopull up r19038 from trunk
Tom Yu [Thu, 29 Mar 2007 21:36:12 +0000 (21:36 +0000)]
pull up r19038 from trunk

 r19038@cathode-dark-space:  raeburn | 2007-01-08 17:41:01 -0500
 ticket: new
 subject: crash creating db2 database in non-existent directory

 * kdb_db2.c (krb5_db2_db_create): If the creation of the first database file
 fails, return the error, instead of attempting to create the second (and using
 a null pointer as an input string in formatting a filename).

 Reported by Jeff Blaine.

ticket: 5293
version_fixed: 1.6.1

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

17 years agopullup from trunk
Alexandra Ellwood [Mon, 19 Mar 2007 21:17:02 +0000 (21:17 +0000)]
pullup from trunk

------------------------------------------------------------------------
r19235 | lxs | 2007-03-19 16:21:54 -0400 (Mon, 19 Mar 2007) | 9 lines

ticket: new
target_version: 1.6.1
tags: pullup
subject: Zero sockaddrs in fai_add_entry() so we can compare them with memcmp()

If we don't zero the struct sockaddrs in fai_add_entry() then any sin_zero
fields will be left as random memory and the memcmp() will return that the
addresses are different even if they aren't.

------------------------------------------------------------------------

ticket: 5476

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

17 years agoBack out changes accidentally made to branch instead of trunk
Ken Raeburn [Sat, 10 Mar 2007 04:10:59 +0000 (04:10 +0000)]
Back out changes accidentally made to branch instead of trunk

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

17 years agoSimple signed/unsigned fixes
Ken Raeburn [Sat, 10 Mar 2007 03:56:06 +0000 (03:56 +0000)]
Simple signed/unsigned fixes

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

17 years agoSimple signed/unsigned fixes
Ken Raeburn [Sat, 10 Mar 2007 03:55:03 +0000 (03:55 +0000)]
Simple signed/unsigned fixes

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

17 years agoNeed stdio.h to print no-krb4 warning
Ken Raeburn [Sat, 10 Mar 2007 03:54:08 +0000 (03:54 +0000)]
Need stdio.h to print no-krb4 warning

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

17 years agopull up r19195 from trunk
Tom Yu [Thu, 1 Mar 2007 20:29:57 +0000 (20:29 +0000)]
pull up r19195 from trunk

 r19195@cathode-dark-space:  jaltman | 2007-02-28 20:49:11 -0500
 ticket: new
 subject: krb5_get_cred_from_kdc fails to null terminate the tgt list
 tags: pullup

  if the next tgt in a cross-realm traversal cannot be
  obtained find_nxt_kdc() was calling krb5_free_creds()
  on the last tgt in the list but was failing to nullify
  the pointer to the cred that was just freed.

  if there were no additional tgts obtained,
  krb5_get_cred_from_kdc() would return a non-NULL terminated
  cred list to the caller.  This would result in a crash
  when attempting to manipulate the non-existent cred past
  the end of the list.

  This commit nullifies the credential pointer in
  find_nxt_kdc() after the call to krb5_free_creds()

ticket: 5454
version_fixed: 1.6.1

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

17 years agopull up r19139 from trunk
Tom Yu [Tue, 27 Feb 2007 22:49:00 +0000 (22:49 +0000)]
pull up r19139 from trunk

 r19139@cathode-dark-space:  rra | 2007-02-03 13:33:23 -0500
 Ticket: 2724
 Component: krb5-doc
 Target_Version: 1.6.1
 Tags: pullup

 The default K4 compatibility mode is now none, not preauth.  Also document
 that the valid values for v4_mode are the valid arguments to the -4 flag
 to krb5kdc.

ticket: 2724
version_fixed: 1.6.1

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

17 years agopull up r19172 from trunk
Tom Yu [Tue, 27 Feb 2007 22:41:36 +0000 (22:41 +0000)]
pull up r19172 from trunk

 r19172@cathode-dark-space:  raeburn | 2007-02-23 19:58:05 -0500
 ticket: 5445
 status: open

 When importing a name with a valid (non-null) handle but a zero
 length, set GSS_S_BAD_NAME but not GSS_S_CALL_INACCESSIBLE_READ.

ticket: 5445
version_fixed: 1.6.1

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

17 years agopull up r19171 from trunk
Tom Yu [Tue, 27 Feb 2007 22:41:24 +0000 (22:41 +0000)]
pull up r19171 from trunk

 r19171@cathode-dark-space:  raeburn | 2007-02-23 19:56:23 -0500
 ticket: 5445
 status: open

 If a reflection is detected, zap the message buffer pointer output
 argument as well as actually freeing the buffer.  (Found while using
 the gsstest option to exercise error conditions.)

ticket: 5445

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

17 years agopull up r19170 from trunk
Tom Yu [Tue, 27 Feb 2007 22:41:09 +0000 (22:41 +0000)]
pull up r19170 from trunk

 r19170@cathode-dark-space:  raeburn | 2007-02-22 17:57:34 -0500
 ticket: 5445
 status: open

 Initialize "loopback" field in newly allocated name structure.

ticket: 5445

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

17 years agoback-port k5-int.h change to krb5.hin
Tom Yu [Tue, 13 Feb 2007 05:18:37 +0000 (05:18 +0000)]
back-port k5-int.h change to krb5.hin

ticket: 5349

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

17 years agopull up r19159 from trunk
Tom Yu [Tue, 13 Feb 2007 05:18:28 +0000 (05:18 +0000)]
pull up r19159 from trunk

 r19159@cathode-dark-space:  tlyu | 2007-02-12 19:35:48 -0500
 ticket: 5349

 rename krb5_server_decrypt_ticket_keyblock() to
 krb5int_server_decrypt_ticket_keyblock()

ticket: 5349

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

17 years agopull up r19063 from trunk
Tom Yu [Tue, 13 Feb 2007 05:18:19 +0000 (05:18 +0000)]
pull up r19063 from trunk

 r19063@cathode-dark-space:  raeburn | 2007-01-16 18:29:46 -0500
 ticket: 5349

 Fix typo in checked-in version.

ticket: 5349

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

17 years agopull up r19062 from trunk
Tom Yu [Tue, 13 Feb 2007 05:18:04 +0000 (05:18 +0000)]
pull up r19062 from trunk

 r19062@cathode-dark-space:  jaltman | 2007-01-15 23:18:02 -0500
 ticket: 5349
 tags: pullup

   This commit adds two new functions, krb5_server_decrypt_ticket_keyblock
   (private) and krb5_server_decrypt_ticket_keytab (public).  These
   functions take a krb5_ticket as input and decrypt it using the provided
   key data.  The public function is useful for higher level application
   protocols such a TLS-KRB5 and AFS RX-KRB5 which exchange a service
   but do not use the AP-REQ/AP-REP messages.

   This commit also adds new functionality to kvno which permits kvno
   when provided a keytab as input to verify whether or not the keytab
   contains a key that can successfully decrypt the obtains service ticket.

ticket: 5349

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

17 years agoDelete krb5_get_init_creds_opt_set_pkinit, somehow missed in merges
Tom Yu [Mon, 5 Feb 2007 23:45:39 +0000 (23:45 +0000)]
Delete krb5_get_init_creds_opt_set_pkinit, somehow missed in merges

ticket: 5420

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

17 years agopull up r19085 from trunk
Tom Yu [Mon, 5 Feb 2007 23:45:29 +0000 (23:45 +0000)]
pull up r19085 from trunk

This is needed to deal with changes to the def-check run required by
the API changes.

 r19085@cathode-dark-space:  raeburn | 2007-01-20 07:13:15 -0500
 Handle function names immediately preceded by "*", like "*strdup"
 in k5-int.h+krb5.h.

ticket: 5420

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

17 years agopull up r19131 from trunk
Tom Yu [Mon, 5 Feb 2007 23:45:17 +0000 (23:45 +0000)]
pull up r19131 from trunk

 r19131@cathode-dark-space:  tlyu | 2007-01-30 19:53:11 -0500
 ticket: 5420
 status: open

 Fix merge botches:

 restore krb5_get_init_creds_opt_set_change_password_prompt()

 undo accidental reversion of preauth_tryagain change to
 krb5_get_init_creds()

ticket: 5420
version_fixed: 1.6.1

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

17 years agopull up r19130 from trunk
Tom Yu [Mon, 5 Feb 2007 23:45:07 +0000 (23:45 +0000)]
pull up r19130 from trunk

 r19130@cathode-dark-space:  tlyu | 2007-01-30 19:52:59 -0500
 ticket: 5420
 status: open

 remove krb5_get_init_creds_opt_set_pkinit() for now

ticket: 5420
status: open

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

17 years agokrb5-1.6-postrelease
Tom Yu [Mon, 5 Feb 2007 23:45:00 +0000 (23:45 +0000)]
krb5-1.6-postrelease

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

17 years agopull up r19128 from trunk
Tom Yu [Mon, 5 Feb 2007 23:44:50 +0000 (23:44 +0000)]
pull up r19128 from trunk

 r19128@cathode-dark-space:  tlyu | 2007-01-30 16:40:20 -0500
 ticket: 5420
 status: open

 update def-check to look at preauth_plugin.h

ticket: 5420
status: open

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

17 years agopull up r19127 from trunk
Tom Yu [Mon, 5 Feb 2007 23:44:34 +0000 (23:44 +0000)]
pull up r19127 from trunk

 r19127@cathode-dark-space:  tlyu | 2007-01-30 16:38:47 -0500
 ticket: new
 status: open
 subject: get_init_creds_opt extensibility
 component: krb5-libs

  r18922@cathode-dark-space:  coffman | 2006-12-04 18:30:15 -0500
  First cut at making the get_init_creds_opt structure extendable
  and adding library functions to set options for preauthentication
  plugins.

  This does *not* include a compatibility function to work like
  Heimdal's krb5_get_init_creds_opt_set_pkinit() function.

  Hopefully, the test code that doesn't belong in kinit.c is
  obvious.

  r18929@cathode-dark-space:  coffman | 2006-12-07 10:01:20 -0500
  Remove extra "user_id" parameter.

  Add function which duplicates the Heimdal interface (if we can agree on
  what the matching attribute names should be).

  r18934@cathode-dark-space:  coffman | 2006-12-08 15:28:03 -0500
  Update to use the simplified interface for krb5_get_init_creds_opt_set_pa()

  Add code in kinit to process "-X" options as preauth options and pass
  them along.

  r18936@cathode-dark-space:  coffman | 2006-12-11 12:04:26 -0500
  Move prototypes for get_init_creds_opt_get_pa() and
  krb5_get_init_creds_opt_free_pa() into the
  preauth_plugin.h header rather than krb5.hin.

ticket: 5420
status: open

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

17 years agopull up r19104 from trunk
Tom Yu [Sat, 27 Jan 2007 02:07:08 +0000 (02:07 +0000)]
pull up r19104 from trunk

 r19104@cathode-dark-space:  jaltman | 2007-01-22 20:18:17 -0500
 ticket: new
 subject: kt_file.c memory leak on error in krb5_kt_resolve / krb5_kt_wresolve
 tags: pullup

  The krb5_kt_resolve and krb5_kt_wresolve functions leak the 'data'
  memory allocation if the lock cannot be initialized.

ticket: 5410
version_fixed: 1.6.1

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

17 years agopull up r19070 from trunk
Tom Yu [Fri, 26 Jan 2007 22:01:06 +0000 (22:01 +0000)]
pull up r19070 from trunk

 r19070@cathode-dark-space:  jaltman | 2007-01-18 10:28:07 -0500
 ticket: 5393
 tags: pullup

  In addition to setting the kpasswd port after
  searching for kadmind host addresses we must also
  set the socket type according to the request.

ticket: 5393
version_fixed: 1.6.1

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

17 years agopull up r19065 from trunk
Tom Yu [Wed, 24 Jan 2007 21:35:30 +0000 (21:35 +0000)]
pull up r19065 from trunk

 r19065@cathode-dark-space:  jaltman | 2007-01-18 06:35:33 -0500
 ticket: 5394
 tags: pullup

    sendto_kdc.c: use of a variable index into a dynamically
  allocated array to determine the sizeof() an object makes
  it unclear what type of object is involved.  It also requires
  a runtime check instead of a compile time replacement.
  Not to mention that it could lead to the evaluation of an
  uninitialized variable as was done in this case.  Replace
  sizeof(array index variable) with sizeof(type).

  memset() the correct data structure.

ticket: 5394
version_fixed: 1.6.1

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

17 years agopull up r19022 from trunk
Tom Yu [Sat, 20 Jan 2007 00:20:53 +0000 (00:20 +0000)]
pull up r19022 from trunk

 r19022@cathode-dark-space:  epeisach | 2006-12-30 01:09:25 -0500
 ticket: 5233
 tags: pullup

 If gss_krb5int_unseal_token_v3() unwraps a message of length 0 - free
 memory and return in message_buffer a NULL pointer for value.  This
 is consistant with gss_release_buffer in the mechglue implementation in which
 memory is only freed if the buffer length != 0.

ticket: 5233
version_fixed: 1.6.1

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

17 years agopull up r19021 from trunk
Tom Yu [Sat, 20 Jan 2007 00:20:40 +0000 (00:20 +0000)]
pull up r19021 from trunk

 r19021@cathode-dark-space:  epeisach | 2006-12-30 01:05:12 -0500
 subject: memory leak if defective header present in gss_krb5int_unseal_token_v3
 ticket: new
 tags: pullup

 If after unsealing the message, the TOK_ID is not 05 04, free memory
 before returning a defective token error.

ticket: 5238
version_fixed: 1.6.1

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

17 years agoPullup from trunk
Alexandra Ellwood [Thu, 18 Jan 2007 23:27:30 +0000 (23:27 +0000)]
Pullup from trunk

   r19071 | lxs | 2007-01-18 18:24:13 -0500 (Thu, 18 Jan 2007) | 6 lines

   ticket: 5403

   Added KDC timesyncing support to the CCAPI ccache backend for CCAPI v5
   and later.  v5 is the first version of the CCAPI to support the kdc
   timesyncing API.

ticket: 5403

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

17 years agofix typo
Tom Yu [Tue, 9 Jan 2007 23:59:45 +0000 (23:59 +0000)]
fix typo

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

17 years agoREADME and patchlevel.h for krb5-1.6
Tom Yu [Tue, 9 Jan 2007 23:59:38 +0000 (23:59 +0000)]
README and patchlevel.h for krb5-1.6

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

17 years agopull up r19043 from trunk
Tom Yu [Tue, 9 Jan 2007 20:21:43 +0000 (20:21 +0000)]
pull up r19043 from trunk

 r19043@cathode-dark-space:  tlyu | 2007-01-09 14:45:25 -0500
 ticket: new
 target_version: 1.6
 tags: pullup
 subject: MITKRB5-SA-2006-003: mechglue argument handling too lax
 component: krb5-libs

 Fix mechglue argument checks so that output pointers are always
 initialized regardless of whether the other arguments fail to validate
 for some reason.  This avoids freeing of uninitialized pointers.

 Initialize the gss_buffer_descs in ovsec_kadmd.c.

ticket: 5302
version_fixed: 1.6

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

17 years agopull up r19042 from trunk
Tom Yu [Tue, 9 Jan 2007 20:21:31 +0000 (20:21 +0000)]
pull up r19042 from trunk

 r19042@cathode-dark-space:  tlyu | 2007-01-09 14:45:10 -0500
 ticket: new
 target_version: 1.6
 tags: pullup
 subject: MITKRB5-SA-2006-002: svctcp_destroy() can call uninitialized function pointer
 component: krb5-libs

 Explicitly null out xprt->xp_auth when AUTH_GSSAPI is being used, so
 that svctcp_destroy() will not call through an uninitialized function
 pointer after code in svc_auth_gssapi.c has destroyed expired state
 structures.  We can't unconditionally null it because the RPCSEC_GSS
 implementation needs it to retrieve state.

ticket: 5301
version_fixed: 1.6

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

17 years agopull up r19036 from trunk
Tom Yu [Tue, 9 Jan 2007 01:06:04 +0000 (01:06 +0000)]
pull up r19036 from trunk

 r19036@cathode-dark-space:  rra | 2007-01-05 16:42:38 -0500
 Ticket: 5279
 Subject: Document what the kadmind ACL is for
 Component: krb5-doc
 Version_Reported: 1.5.1
 Target_Version: 1.6
 Tags: pullup

 Add a sentence documenting the purpose of the kadmind ACL to the node
 explaining how to create it.

ticket: 5279
version_fixed: 1.6

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

17 years agopull up r19035 from trunk
Tom Yu [Tue, 9 Jan 2007 01:05:52 +0000 (01:05 +0000)]
pull up r19035 from trunk

 r19035@cathode-dark-space:  rra | 2007-01-04 17:32:41 -0500
 ticket: new
 Subject: Document KDC behavior without stash file
 Component: krb5-doc
 Version_Reported: 1.5.1
 Target_Version: 1.6
 Tags: pullup

 After the discussion of the optional stash file, document the effects of
 not creating a stash file.

ticket: 5271
version_fixed: 1.6

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

17 years agopull up r19031 from trunk
Tom Yu [Thu, 4 Jan 2007 00:27:26 +0000 (00:27 +0000)]
pull up r19031 from trunk

 r19031@cathode-dark-space:  raeburn | 2007-01-03 18:54:25 -0500
 ticket: 5260

 * ldap_principal.c (attributes_set): Swap first two elements.

 Also add comments indicating that this array and the KDB_*_ATTR macros
 need to be in sync.

ticket: 5260
version_fixed: 1.6

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

17 years agopull up r19030 from trunk
Tom Yu [Thu, 4 Jan 2007 00:27:17 +0000 (00:27 +0000)]
pull up r19030 from trunk

 r19030@cathode-dark-space:  raeburn | 2007-01-03 18:15:55 -0500
 ticket: new
 subject: update ldap/Makefile.in for newer autoconf substitution requirements
 target_version: 1.6
 tags: pullup

 The other makefile.in files have had the makefile-fragment
 substitution lines updated to not have "#" at the front, because some
 recent versions of autoconf require that the @-pattern start at the
 beginning of the line.  We missed plugins/kdb/ldap/Makefile.in at the
 time.

 Patch from Michael Calmer.

ticket: 5265
version_fixed: 1.6

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

17 years agopull up r19029 from trunk
Tom Yu [Thu, 4 Jan 2007 00:27:06 +0000 (00:27 +0000)]
pull up r19029 from trunk

 r19029@cathode-dark-space:  raeburn | 2007-01-03 17:53:33 -0500
 ticket: 3906
 tags: pullup

 * Makefile.in (install): Install kdb5_ldap_util.M.  Based on patch from
 Michael Calmer.

ticket: 3906
version_fixed: 1.6

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

17 years agopull up r19023 from trunk
Tom Yu [Wed, 3 Jan 2007 21:44:25 +0000 (21:44 +0000)]
pull up r19023 from trunk

 r19023@cathode-dark-space:  jaltman | 2006-12-31 11:24:54 -0500
 ticket: new
 subject: Repair broken links in NetIdMgr Help
 tags: pullup

   A small number of links contained the wrong root directory.

ticket: 5245
version_fixed: 1.6

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

17 years agopull up r19020 from trunk
Tom Yu [Wed, 3 Jan 2007 21:44:14 +0000 (21:44 +0000)]
pull up r19020 from trunk

 r19020@cathode-dark-space:  rra | 2006-12-28 13:05:28 -0500
 Ticket: new
 Subject: Fix typo in user-guide.texinfo
 Component: krb5-doc
 Version_Reported: 1.4.4
 Target_Version: 1.6
 Tags: pullup

 Typo fix (network instead of netword).  Thanks, Matt Zagrabelny.

ticket: 5223
version_fixed: 1.6

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

18 years agokrb5-1.6-beta2-postrelease
Tom Yu [Fri, 22 Dec 2006 22:56:43 +0000 (22:56 +0000)]
krb5-1.6-beta2-postrelease

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

18 years agopatchlevel.h for krb5-1.6-beta2
Tom Yu [Fri, 22 Dec 2006 22:55:10 +0000 (22:55 +0000)]
patchlevel.h for krb5-1.6-beta2

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

18 years agoupdate for krb5-1.6-beta2
Tom Yu [Fri, 22 Dec 2006 22:55:03 +0000 (22:55 +0000)]
update for krb5-1.6-beta2

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

18 years agopull up r19009 from trunk
Tom Yu [Fri, 22 Dec 2006 04:28:09 +0000 (04:28 +0000)]
pull up r19009 from trunk

 r19009@cathode-dark-space:  raeburn | 2006-12-21 20:26:59 -0500
 ticket: 4453
 target_version: 1.6
 tags: pullup

 Some related changes were already in, and I found a couple more to make:

 * ldap_realm.c (ldap_filter_correct): Change string argument to char *.  Delete
 length argument, which was always strlen of the string argument, and compute
 it locally, using size_t instead of (unsigned) int for length-related values.
 Update all calls.

 * ldap_realm.h (ldap_filter_correct): Updated declaration.

 * ldap_misc.c (remove_overlapping_subtrees): Add forward declaration.  Make
 static.
 (is_principal_in_realm): Change local variable defrealmlen to size_t.
 (store_tl_data): Change local variable curr to point to unsigned char, since
 that's what the tl_data_contents array is declared as, and what the STORE16_INT
 macro is happier with.
 (krb5_ldap_get_reference_count): Make local variable i unsigned.

ticket: 4453
version_fixed: 1.6

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

18 years agopull up r19007 from trunk
Tom Yu [Fri, 22 Dec 2006 01:21:33 +0000 (01:21 +0000)]
pull up r19007 from trunk

 r19007@cathode-dark-space:  tlyu | 2006-12-21 20:19:55 -0500
 ticket: 5123

  * src/lib/krb5/krb/get_in_tkt.c (krb5_get_init_creds): Fix
  ordering bug in previous patch.

ticket: 5123

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

18 years agopull up r18976 from trunk
Tom Yu [Thu, 21 Dec 2006 22:27:40 +0000 (22:27 +0000)]
pull up r18976 from trunk

 r18976@cathode-dark-space:  tlyu | 2006-12-18 23:16:22 -0500
 ticket: new
 status: open
 target_version: 1.6
 subject: don't pass null pointer to krb5_do_preauth_tryagain()

  * src/lib/krb5/krb/get_in_tkt.c (krb5_get_init_creds): If
  the error isn't PREAUTH_NEEDED and preauth_to_use is null, return
  the error in err_reply, rather than attempting to pass a null
  pointer to krb5_do_preauth_tryagain().

ticket: 5123
version_fixed: 1.6

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

18 years agopull up r19001 from trunk
Tom Yu [Thu, 21 Dec 2006 22:07:31 +0000 (22:07 +0000)]
pull up r19001 from trunk

 r19001@cathode-dark-space:  raeburn | 2006-12-20 16:40:20 -0500
 ticket: new
 subject: misc cleanups in admin guide ldap sections
 target: 1.6
 tags: pullup

 There are a bunch of instances of incorrect punctuation, inconsistent
 use of @-commands with option names, typos in names of principal
 flags, and a couple spelling errors.  I only fixed what I noticed; I
 haven't subjected the rest to careful review.

 Also, the long section names for eDirectory-specific documentation
 cause the tar files generated for snapshots (which include generated
 html docs) to reach the 100-character limit for file names in
 traditional tar format; GNU tar can create archives holding them, but
 older tar implementations cannot read the archives properly.  So,
 several eDirectory-related section names have been shortened.

ticket: 5152
version_fixed: 1.6

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

18 years agopull up r19000 from trunk
Tom Yu [Thu, 21 Dec 2006 22:07:20 +0000 (22:07 +0000)]
pull up r19000 from trunk

 r19000@cathode-dark-space:  raeburn | 2006-12-20 16:12:35 -0500
 ticket: 5116

 Merge r18962 to trunk, with minor tweaks; ready to merge to 1.6 branch.

 Changes fix up some sample names used, remove some options described
 from certain commands, and fix filling in man pages.

  r18962:  rsavitha | 2006-12-18 10:04:18 -0500
  Changed paths:
    M  /mirror/krb5/users/rsavitha/ldap_plugin_patch/src/kadmin/cli/kadmin.M
    M  /mirror/krb5/users/rsavitha/ldap_plugin_patch/src/kadmin/server/kadmind.M
    M  /mirror/krb5/users/rsavitha/ldap_plugin_patch/src/kdc/krb5kdc.M
    M  /mirror/krb5/users/rsavitha/ldap_plugin_patch/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.M

  ticket: new
  subject: minor ldap specific changes in man page
  Target_Version: 1.6
  Tags: pullup

  Updated the man pages with some ldap specific changes

ticket: 5116
version_fixed: 1.6

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

18 years agopull up r19002 from trunk
Tom Yu [Thu, 21 Dec 2006 22:07:10 +0000 (22:07 +0000)]
pull up r19002 from trunk

 r19002@cathode-dark-space:  tlyu | 2006-12-21 16:58:10 -0500
 ticket: new
 target_version: 1.6
 tags: pullup
 subject: don't split HTML output from makeinfo

  * doc/Makefile (HTML): To avoid generating excessively long
  filenames, don't split HTML output.

ticket: 5159
version_fixed: 1.6

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

18 years agopull up r18955 from trunk
Tom Yu [Tue, 19 Dec 2006 21:10:19 +0000 (21:10 +0000)]
pull up r18955 from trunk

 r18955@cathode-dark-space:  rra | 2006-12-15 21:08:40 -0500
 ticket: new
 subject: Add -clearpolicy to kadmin addprinc usage
 Component: krb5-admin
 Version_Reported: 1.4.4
 Target_Version: 1.6
 Tags: pullup

 Add -clearpolicy to the usage message returned by kadmin when one types
 addprinc without any arguments.

ticket: 5125
version_fixed: 1.6

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

18 years agopull up r18977 from trunk
Tom Yu [Tue, 19 Dec 2006 05:05:41 +0000 (05:05 +0000)]
pull up r18977 from trunk

 r18977@cathode-dark-space:  tlyu | 2006-12-18 23:16:30 -0500
 ticket: new
 target_version: 1.6
 tags: pullup
 component: krb5-libs
 subject: use KRB5KRB_ERR_GENERIC, not KRB_ERR_GENERIC in preauth2.c

  * src/lib/krb5/krb/preauth2.c (krb5_do_preauth_tryagain): Use
  KRB5KRB_ERR_GENERIC, not KRB_ERR_GENERIC.

ticket: 5124
version_fixed: 1.6

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

18 years agopull up r18975 from trunk
Tom Yu [Tue, 19 Dec 2006 05:05:37 +0000 (05:05 +0000)]
pull up r18975 from trunk

 r18975@cathode-dark-space:  raeburn | 2006-12-18 20:31:11 -0500
 ticket: 5121
 tags: pullup

 ktfns.c (krb5_kt_get_entry): If the supplied server principal has an empty
 realm name, replace it with the default realm, in a private copy.

ticket: 5121

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

18 years agopull up r18974 from trunk
Tom Yu [Tue, 19 Dec 2006 05:05:32 +0000 (05:05 +0000)]
pull up r18974 from trunk

 r18974@cathode-dark-space:  raeburn | 2006-12-18 20:28:32 -0500
 ticket: 5121
 status: open

 krb5_is_referral_realm now takes a pointer to const krb5_data, since it doesn't
 modify it.

ticket: 5121
version_fixed: 1.6

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

18 years ago r18970@cathode-dark-space: tlyu | 2006-12-18 19:21:38 -0500
Tom Yu [Tue, 19 Dec 2006 00:23:40 +0000 (00:23 +0000)]
 r18970@cathode-dark-space:  tlyu | 2006-12-18 19:21:38 -0500
 ticket: 5090

 export krb5_get_init_creds_opt_set_change_password_prompt

ticket: 5090

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

18 years agopull up r18954 from trunk
Tom Yu [Tue, 19 Dec 2006 00:12:47 +0000 (00:12 +0000)]
pull up r18954 from trunk

 r18954@cathode-dark-space:  jaltman | 2006-12-14 18:33:53 -0500
 ticket: new
 subject: krb5_get_init_creds_opt_set_change_password_prompt

      krb5_get_init_creds_opt_set_change_password_prompt is a new
      gic option that permits the prompter code to be skipped
      when the password has expired.  This option is meant to
      be used by credential managers such as NetIDMgr and
      Kerberos.app that have their own built in password change
      dialogs.

      This patch adds the new function, exports it on Windows,
      and makes use of it within the Krb5 identity provider
      for NetIDMgr.

      The patch is written to ensure that no changes to the
      krb5_get_init_creds_opt structure are required and
      to ensure that the default behavior, prompting, is
      maintained.

      The export lists for UNIX and KFM must still be updated.

      The function prototype was committed as part of ticket 3642.

ticket: 5090
version_fixed: 1.6

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

18 years agopull up r18931 from trunk
Tom Yu [Tue, 19 Dec 2006 00:12:42 +0000 (00:12 +0000)]
pull up r18931 from trunk

 r18931@cathode-dark-space:  jaltman | 2006-12-07 17:13:50 -0500
 ticket: 3642

  Undo revision 18930 which was not supposed to include this
         file.

ticket: 3642

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

18 years agopull up r18930 from trunk
Tom Yu [Tue, 19 Dec 2006 00:12:32 +0000 (00:12 +0000)]
pull up r18930 from trunk

 r18930@cathode-dark-space:  jaltman | 2006-12-07 16:56:20 -0500
 ticket: 3642
 tags: pullup

     Modifications to support the generation and embedding
     of library manifests into generated EXEs and DLLs.
     Manifests are required for Windows XP and above when
     applications are built with Microsoft Visual Studio 2005
     (aka VS8) or above.

ticket: 3642
version_fixed: 1.6

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

18 years agopull up r18961 from trunk
Tom Yu [Mon, 18 Dec 2006 23:11:28 +0000 (23:11 +0000)]
pull up r18961 from trunk

 r18961@cathode-dark-space:  epeisach | 2006-12-18 06:26:59 -0500
 ticket: new
 subject: krb5_rc_io_open_internal on error will call close(-1)

 If there is an error in opening the replay cache - memory is freed, but
 close() is invoked with -1 (failure from open()).  While technically,
 close() will return EBADF in such a case, and nothing bad will happen,
 valgrind picks up on this and provides an error...

ticket: 5115
version_fixed: 1.6

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

18 years agopull up r18914 from trunk
Tom Yu [Mon, 18 Dec 2006 23:11:24 +0000 (23:11 +0000)]
pull up r18914 from trunk

 r18914@cathode-dark-space:  epeisach | 2006-12-02 21:52:11 -0500
 ticket: new
 Subject: Remove unused prototype for krb5_find_config_files

 The prototype for krb5_find_config_files() no longer is necessary
 as the function does not exist in the source tree anymore.

ticket: 4980
version_fixed: 1.6

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

18 years agopull up r18814 from trunk
Tom Yu [Mon, 18 Dec 2006 23:11:20 +0000 (23:11 +0000)]
pull up r18814 from trunk

 r18814@cathode-dark-space:  raeburn | 2006-11-15 19:53:10 -0500
 ticket: new
 subject: fix warning in preauth_plugin.h header

 * preauth_plugin.h (enum krb5plugin_preauth_client_request_type): Omit trailing
 comma.

ticket: 4773
version_fixed: 1.6

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

18 years agopull up r18893 from trunk
Tom Yu [Mon, 18 Dec 2006 23:11:15 +0000 (23:11 +0000)]
pull up r18893 from trunk

 r18893@cathode-dark-space:  tlyu | 2006-12-01 12:09:42 -0500
 ticket: 3218

  * src/kadmin/dbutil/dump.c (load_db): Open the dumpfile as
  read-only; we only get a shared lock, so no reason to open for
  writing for the sake of getting a lock.

ticket: 3218
version_fixed: 1.6

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

18 years agopull up r18957 from trunk
Tom Yu [Mon, 18 Dec 2006 03:45:33 +0000 (03:45 +0000)]
pull up r18957 from trunk

 r18957@cathode-dark-space:  tlyu | 2006-12-17 22:40:15 -0500
 ticket: 5027

 Restore inadvertently deleted section.  Minor editorial changes.

ticket: 5027

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

18 years agopull up r18956 from trunk
Tom Yu [Mon, 18 Dec 2006 03:45:28 +0000 (03:45 +0000)]
pull up r18956 from trunk

 r18956@cathode-dark-space:  tlyu | 2006-12-17 22:40:03 -0500
 ticket: 5027

 pull up r18933 to trunk

  r18933@cathode-dark-space:  rsavitha | 2006-12-08 04:37:01 -0500
  ticket: new
  subject: admin guide changes for the LDAP backend
  Target_Version: 1.6
  Tags: pullup

  Added LDAP backend related information to the admin guide

ticket: 5027
version_fixed: 1.6

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

18 years agopull up r18948 from trunk
Tom Yu [Wed, 13 Dec 2006 22:11:39 +0000 (22:11 +0000)]
pull up r18948 from trunk

 r18948@cathode-dark-space:  raeburn | 2006-12-12 23:25:27 -0500
 ticket: 5009
 tags: pullup

 Pull r18927 up to trunk, and tweak check for "history" principal name
 to be a little more precise.

 Ready for pullup to 1.6 branch; make depend should be run.

K/M and kadmin/history principals were created with different enctypes.
With this fix kadmin/history is created with the same enctype as K/M.
This checkin also fixes the issue of principals being created only with
the default enctypes during realm creation.

Commit By: rsavitha

Revision: 18927
Changed Files:
U   users/rsavitha/ldap_plugin_patch/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c

ticket: 5009
version_fixed: 1.6

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

18 years agopull up r18946 from trunk
Tom Yu [Wed, 13 Dec 2006 22:11:35 +0000 (22:11 +0000)]
pull up r18946 from trunk

 r18946@cathode-dark-space:  raeburn | 2006-12-12 20:27:24 -0500
 ticket: 5005

 pull r18926 up to trunk; ready for pullup to 1.6 branch

LDAP plugin was returning the code defaults if maxlife, maxrenewlife and
ticket flags were not set in the realm object. The plugin would now
return values from the conf file if not present in directory.

Commit By: rsavitha

Revision: 18926
Changed Files:
U   users/rsavitha/ldap_plugin_patch/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
U   users/rsavitha/ldap_plugin_patch/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c

ticket: 5005

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

18 years agopull up r18919 from trunk
Tom Yu [Wed, 13 Dec 2006 22:03:09 +0000 (22:03 +0000)]
pull up r18919 from trunk

 r18919@cathode-dark-space:  wfiveash | 2006-12-04 17:06:13 -0500
 ticket: new
 subject: minor update to kdb5_util man page for LDAP plugin
 Target_Version: krb5-1.6
 Tags: pullup

 I added some info to the kdb5_util man page regarding the LDAP plugin.

ticket: 4994
version_fixed: 1.6

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

18 years agopull up r18918 from trunk
Tom Yu [Wed, 13 Dec 2006 22:03:04 +0000 (22:03 +0000)]
pull up r18918 from trunk

 r18918@cathode-dark-space:  wfiveash | 2006-12-04 16:47:50 -0500
 ticket: new
 subject: fix for kdb5_util load bug with dumps from a LDAP KDB
 Target_Version: krb5-1.6
 Tags: pullup

 I found a bug when I did a "kdb5_util load -update ldap-dump" where
 ldap-dump was a dump done from a LDAP based KDB.  The issue is that this
 sort of dump contains principal_dn data which is not the case for a db2
 KDB dump.

ticket: 4991
version_fixed: 1.6

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

18 years agopull up r18932 from trunk
Tom Yu [Tue, 12 Dec 2006 23:37:53 +0000 (23:37 +0000)]
pull up r18932 from trunk

 r18932@cathode-dark-space:  jaltman | 2006-12-07 19:28:59 -0500
 ticket: new
 subject: build the trunk on Windows (again)

  This revision corrects a number of missing or extraneous
  KRB5_CALLCONV symbols; exposes symbols for _WIN32;
    and avoids including headers that don't exist

ticket: 5022
version_fixed: 1.6

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

18 years agopull up r18935 from trunk
Tom Yu [Tue, 12 Dec 2006 23:37:48 +0000 (23:37 +0000)]
pull up r18935 from trunk

 r18935@cathode-dark-space:  coffman | 2006-12-08 16:02:02 -0500
 ticket: new
 subject: Don't leak padata when looping for krb5_do_preauth_tryagain()
 component: krb5-libs
 Target_Version: 1.6
 Tags: pullup

     * src/lib/krb5/krb/get_in_tkt.c: krb5_get_init_creds()

  Free any existing request.padata at the top of the loop
  calling krb5_do_preauth() and krb5_do_preauth_tryagain().

ticket: 5032
version_fixed: 1.6

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

18 years agopull up r18915 from trunk
Tom Yu [Tue, 12 Dec 2006 23:37:36 +0000 (23:37 +0000)]
pull up r18915 from trunk

 r18915@cathode-dark-space:  epeisach | 2006-12-03 08:53:32 -0500
 ticket: new
 Subject: Make clean in lib/krb5/os does not clean test objs
 tags: pullup

 make clean failed to remove t_locate_kdc.o

ticket: 4981
version_fixed: 1.6

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

18 years agopull up r18923 from trunk
Tom Yu [Wed, 6 Dec 2006 22:57:06 +0000 (22:57 +0000)]
pull up r18923 from trunk

 r18923@cathode-dark-space:  lxs | 2006-12-05 18:21:56 -0500
 ticket: new
 owner: tlyu
 target_version: 1.6
 subject: krb5_cc_remove should work for the CCAPI
 tags: pullup

 Implemented a working krb5_cc_remove for the CCAPI cache type.  Added a
 private support function krb5_creds_compare() which checks if two krb5_creds
 are identical.  This function should be needed by implementations of
 krb5_cc_remove for other ccache types.

ticket: 5003
version_fixed: 1.6

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

18 years agokrb5-1.6-beta1-postrelease
Tom Yu [Sat, 2 Dec 2006 00:16:08 +0000 (00:16 +0000)]
krb5-1.6-beta1-postrelease

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

18 years agore-do patchlevel.h for krb5-1.6-beta1
Tom Yu [Sat, 2 Dec 2006 00:13:14 +0000 (00:13 +0000)]
re-do patchlevel.h for krb5-1.6-beta1

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

18 years agomake depend
Tom Yu [Sat, 2 Dec 2006 00:10:25 +0000 (00:10 +0000)]
make depend

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

18 years agokrb5-1.6-beta1-postrelease
Tom Yu [Sat, 2 Dec 2006 00:10:21 +0000 (00:10 +0000)]
krb5-1.6-beta1-postrelease

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

18 years agogit-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18906 dc483132-0cff-0310...
Tom Yu [Fri, 1 Dec 2006 23:40:17 +0000 (23:40 +0000)]
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18906 dc483132-0cff-0310-8789-dd5450dbe970

18 years agopullup r18904 from trunk
Tom Yu [Fri, 1 Dec 2006 23:38:47 +0000 (23:38 +0000)]
pullup r18904 from trunk

 r18904@cathode-dark-space:  tlyu | 2006-12-01 18:36:41 -0500
 update for krb5-1.6-beta1

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

18 years agopull up r18896 from trunk
Tom Yu [Fri, 1 Dec 2006 23:23:19 +0000 (23:23 +0000)]
pull up r18896 from trunk

 r18896@cathode-dark-space:  coffman | 2006-12-01 14:36:38 -0500
 subject: send a new request with the new padata returned by krb5_do_preauth_tryagain()
 ticket: new
 Component: krb5-libs
 Target_Version: 1.6
 Tags: pullup

     Send another request containing the padata obtained from tryagain.

     * src/include/k5-int.h
     Update prototype

     * src/lib/krb5/krb/get_in_tkt.c
     Send pointer to the request.padata so krb5_do_preauth_tryagain()
     can update the request to be sent.

     * src/lib/krb5/krb/preauth2.c
     If a module returns modified padata, add it to the return_padata
     and return.

ticket: 4973
version_fixed: 1.6

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

18 years agopull up r18895 from trunk
Tom Yu [Fri, 1 Dec 2006 23:23:14 +0000 (23:23 +0000)]
pull up r18895 from trunk

 r18895@cathode-dark-space:  coffman | 2006-12-01 14:18:26 -0500
 subject: Return edata from non-"PA_REQUIRED" preauth types
 ticket: new
 Target_Version: 1.6
 tags: pullup
 Component: krb5-kdc

     * src/kdc/kdc_preauth.c (check_padata)
     Return e-data from any failing preauth module.
     Save the e-data and return value from the first failing module.
     If a subsequent module marked as PA_REQUIRED fails, return
     its e-data and error instead.

     * src/kdc/kdc_preauth.c (load_preauth_plugins)
     Quiet compiler warning by setting pointer to NULL.

ticket: 4972
version_fixed: 1.6

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

18 years agopull up r18894 from trunk
Tom Yu [Fri, 1 Dec 2006 21:27:32 +0000 (21:27 +0000)]
pull up r18894 from trunk

 r18894@cathode-dark-space:  tlyu | 2006-12-01 13:41:49 -0500
 ticket: 4689
 tags: pullup

 bump minor versions due to API additions

ticket: 4689
version_fixed: 1.6

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

18 years agopull up r18892 from trunk
Tom Yu [Fri, 1 Dec 2006 21:27:28 +0000 (21:27 +0000)]
pull up r18892 from trunk

 r18892@cathode-dark-space:  tlyu | 2006-12-01 11:40:46 -0500
 ticket: 4941
 tags: pullup

  * src/appl/telnet/libtelnet/kerberos5.c (kerberos5_send):
  Conditionalize debugging printfs.

ticket: 4941
version_fixed: 1.6

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