krb5.git
18 years agopull up r18259 from trunk
Tom Yu [Wed, 9 Aug 2006 19:15:11 +0000 (19:15 +0000)]
pull up r18259 from trunk

 r18259@cathode-dark-space:  jaltman | 2006-06-28 21:48:31 -0400
 ticket: new
 subject: gssapi compilation errors on Windows
 tags: pullup

 src/Makefile.in:  generate lib/gssapi/spnego/Makefile

 src/lib/gssapi/Makefile.in: build mechglue and spnego

 src/lib/gssapi/krb5/init_sec_context.c: do not include
 kdc only symbols on windows

 src/lib/gssapi/mechglue/g_utils.c: no strings.h on Windows

 src/lib/gssapi/mechglue/Makefile.in: construct mechglue.lst

 src/lib/gssapi/spnego/Makefile.in: construct spnego.lst

 src/lib/gssapi/spnego/spnego_mech.c: k5-int.h must be
 included before krb5.h in order to prevent mixed definitions
 of time_t on windows

ticket: 3956
version_fixed: 1.5.1

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

18 years agopull up r18420 from trunk
Tom Yu [Tue, 8 Aug 2006 19:39:07 +0000 (19:39 +0000)]
pull up r18420 from trunk

 r18420@cathode-dark-space:  tlyu | 2006-08-08 15:26:40 -0400
 ticket: new
 subject: fix MITKRB5-SA-2006-001: multiple local privilege escalation vulnerabilities
 target_version: 1.5.1
 tags: pullup

  * src/appl/gssftp/ftpd/ftpd.c (getdatasock, passive):
  * src/appl/bsd/v4rcp.c (main):
  * src/appl/bsd/krcp.c (main):
  * src/appl/bsd/krshd.c (doit):
  * src/appl/bsd/login.c (main):
  * src/clients/ksu/main.c (sweep_up):
  * src/lib/krb4/kuserok.c (kuserok): Check return values from
  setuid() and related functions to avoid privilege escalation
  vulnerabilities.  Fixes MITKRB5-SA-2006-001. [CVE-2006-3083,
  VU#580124, CVE-2006-3084, VU#401660]

ticket: 4125
version_fixed: 1.5.1

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

18 years ago * src/lib/gssapi/krb5/accept_sec_context.c
Tom Yu [Tue, 8 Aug 2006 00:17:21 +0000 (00:17 +0000)]
* src/lib/gssapi/krb5/accept_sec_context.c
(krb5_gss_accept_sec_context): Apply single fix from ticket
#4057.

* src/lib/gssapi/mechglue/g_glue.c
(gssint_convert_name_to_union_name): Fix up merge botch.

* src/lib/gssapi/mechglue/mglueP.h: Fix up struct name differences
between trunk and 1.5-branch.

ticket: 4063
version_fixed: 1.5.1

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

18 years agopull up r18417 from trunk
Tom Yu [Tue, 8 Aug 2006 00:17:15 +0000 (00:17 +0000)]
pull up r18417 from trunk

 r18417@cathode-dark-space:  tlyu | 2006-08-07 19:33:39 -0400
 ticket: 4063
 tags: pullup

  * src/lib/gssapi/mechglue/mglueP.h: Add loopback field to opaque
  structs of gss_ctx_id_t, gss_name_t, gss_cred_id_t to catch some
  application programming errors.  Add new macro GSSINT_CHK_LOOP()
  which returns non-zero if loopback field doesn't point to itself.

  * src/lib/gssapi/mechglue/g_accept_sec_context.c
  (gss_accept_sec_context):
  * src/lib/gssapi/mechglue/g_acquire_cred.c (gss_add_cred)
  (gss_acquire_cred):
  * src/lib/gssapi/mechglue/g_delete_sec_context.c
  (gss_delete_sec_context):
  * src/lib/gssapi/mechglue/g_glue.c
  (gssint_convert_name_to_union_name):
  * src/lib/gssapi/mechglue/g_imp_name.c (gss_import_name):
  * src/lib/gssapi/mechglue/g_imp_sec_context.c
  (gss_import_sec_context):
  * src/lib/gssapi/mechglue/g_init_sec_context.c
  (gss_init_sec_context): Set loopback pointers.

  * src/lib/gssapi/mechglue/g_delete_sec_context.c
  (gss_delete_sec_context):
  * src/lib/gssapi/mechglue/g_rel_cred.c (gss_release_cred):
  * src/lib/gssapi/mechglue/g_rel_name.c (gss_release_name): Call
  GSSINT_CHK_LOOP() to validate loopback pointer.

ticket: 4063
version_fixed: 1.5.1

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

18 years agopull up r18397 from trunk
Tom Yu [Mon, 7 Aug 2006 19:57:06 +0000 (19:57 +0000)]
pull up r18397 from trunk

 r18397@cathode-dark-space:  tlyu | 2006-08-01 17:09:43 -0400
 ticket: 4088
 status: open

  * src/lib/gssapi/mechglue/g_initialize.c (gss_release_oid): Call
  gssint_initialize_library to ensure mutex is initialized.

ticket: 4088
version_fixed: 1.5.1

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

18 years agopull up r18404 from trunk
Tom Yu [Mon, 7 Aug 2006 19:38:41 +0000 (19:38 +0000)]
pull up r18404 from trunk

 r18404@cathode-dark-space:  tlyu | 2006-08-02 16:51:50 -0400
 ticket: 3904
 tags: pullup

 Apply patch from Michael Calmer to fix some uninitialized variables.

  * src/appl/gssftp/ftpd/ftpd.c (auth_data): Initialize stat_maj,
  accept_maj, acquire_maj.

  * src/appl/telnet/libtelnet/kerberos5.c (kerberos5_send):
  Intialize rdata.

  * src/kdc/do_tgs_req.c (process_tgs_req): Initialize magic and
  tr_contents.magic.

  * src/lib/krb5/asn.1/krb5_decode.c (decode_krb5_safe_with_body):
  Initialize tmpbody.magic.

  * src/plugins/kdb/db2/libdb2/hash/dbm.c (kdb2_fetch)
  (kdb2_firstkey, kdb2_nextkey): Initialize dsize.

ticket: 3904
version_fixed: 1.5.1

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

18 years agopull up r18350 from trunk
Tom Yu [Wed, 2 Aug 2006 17:52:00 +0000 (17:52 +0000)]
pull up r18350 from trunk

 r18350@cathode-dark-space:  raeburn | 2006-07-21 13:49:07 -0400
 ticket: new
 subject: respect LDFLAGS in NetBSD build
 target: 1.5.1
 tags: pullup

 An LDFLAGS setting at configure time is ignored in parts of the build.

 * shlib.conf (*-*-netbsd*): Use $(CC) for LDCOMBINE, and include $(LDFLAGS).

ticket: 4037
version_fixed: 1.5.1

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

18 years agopull up r18352 from trunk
Tom Yu [Wed, 2 Aug 2006 16:41:13 +0000 (16:41 +0000)]
pull up r18352 from trunk

 r18352@cathode-dark-space:  raeburn | 2006-07-21 15:03:02 -0400
 ticket: 4036

 * aclocal.m4 (KRB5_LIB_AUX): Disallow --enable-profiled and --disable-shared
 options as well.  Don't generate help messages for these options.

ticket: 4036
version_fixed: 1.5.1

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

18 years agopull up r18348 from trunk
Tom Yu [Wed, 2 Aug 2006 16:41:08 +0000 (16:41 +0000)]
pull up r18348 from trunk

 r18348@cathode-dark-space:  raeburn | 2006-07-21 13:41:43 -0400
 ticket: new
 subject: reject configure option for static libraries
 target_version: 1.5.1
 tags: pullup

 We shouldn't accept --enable-static at configure time when we know
 it's not going to work at build time.

 * aclocal.m4 (KRB5_LIB_AUX): Error out if --enable-static.

ticket: 4036
version_fixed: 1.5.1

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

18 years agopull up r18330 from trunk
Tom Yu [Tue, 1 Aug 2006 23:57:54 +0000 (23:57 +0000)]
pull up r18330 from trunk

 r18330@cathode-dark-space:  tlyu | 2006-07-17 12:39:35 -0400
 ticket: new
 target_version: 1.5.1
 tags: pullup
 subject: reverse test for copy_oid_set in lib/gssapi/krb5/indicate_mechs.c

  * src/lib/gssapi/krb5/indicate_mechs.c: Reverse sense of test,
  since gssint_copy_oid_set() returns 0 on success.

ticket: 4012
version_fixed: 1.5.1

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

18 years agopull up r18328 from trunk
Tom Yu [Tue, 1 Aug 2006 23:54:50 +0000 (23:54 +0000)]
pull up r18328 from trunk

 r18328@cathode-dark-space:  rra | 2006-07-12 18:17:34 -0400
 Ticket: new
 Subject: Document add_entry in ktutil man page
 Version_Reported: 1.3.6
 Target_Version: 1.5.2
 Tags: pullup

 Apply patch from Mike Dopheide to document ktutil add_entry in the man
 page and fix some other spelling errors in the ktutil man page.

ticket: 3998
version_fixed: 1.5.1

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

18 years agopull up r18331 from trunk
Tom Yu [Tue, 1 Aug 2006 23:50:00 +0000 (23:50 +0000)]
pull up r18331 from trunk

 r18331@cathode-dark-space:  raeburn | 2006-07-17 13:55:54 -0400
 ticket: 3971
 target_version: 1.5.1
 tags: pullup

 (KRB5_AC_FIND_DLOPEN): Use AC_SEARCH_LIBS.

ticket: 3971
version_fixed: 1.5.5

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

18 years agopull up r18387 from trunk
Tom Yu [Tue, 25 Jul 2006 16:45:33 +0000 (16:45 +0000)]
pull up r18387 from trunk

 r18387@cathode-dark-space:  jaltman | 2006-07-25 09:59:30 -0400
 ticket: new
 subject: Windows - fix kfwlogon for Windows 2000
 tags: pullup

     Windows 2000 does not support the ability to generate SIDs
     from symbolic names.

     Add more debugging and error condition checks.

ticket: 4053

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

18 years agopull up r18379 from trunk
Tom Yu [Tue, 25 Jul 2006 02:32:04 +0000 (02:32 +0000)]
pull up r18379 from trunk

 r18379@cathode-dark-space:  jaltman | 2006-07-24 02:58:23 -0400
 ticket: new
 subject: Windows Integrated Login Fixes for KFW 3.1
 tags: pullup
 component: windows

     KFW integrated login was failing when the user is
     not a power user or administrator.  This was occurring
     because the temporary file ccache was being created in
     a directory the user could not read.  While fixing this
     it was noticed that the ACLs on the ccache were too broad.
     Instead of applying a fix to the FILE: krb5_ccache
     implementation it was decided that simply applying a new
     set of ACLs (SYSTEM and "user" with no inheritance) to
     the file immediately after the krb5_cc_initialize() call
     would close the broadest security issues.

     The file is initially created in the SYSTEM %TEMP% directory
     with "SYSTEM" ACL only.  Then it is moved to the user's %TEMP%
     directory with "SYSTEM" and "user" ACLs.  Finally, after
     copying the credentials to the API: ccache, the file is deleted.

ticket: 4048

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

18 years agopull up r18344 from trunk
Tom Yu [Sat, 22 Jul 2006 00:27:48 +0000 (00:27 +0000)]
pull up r18344 from trunk

 r18344@cathode-dark-space:  jaltman | 2006-07-19 18:36:00 -0400
 ticket: new
 subject: Windows NetIDMgr post-1.5 branch commits

 The following patch updates the NetIDMgr:

  * allow plug-ins to be marked "do not unload" in order
    to support DLLs that create threads that are not
    properly cleaned up as part of library unload.

  * allow plug-ins to be marked "disabled"

  * Additional changes to deal with Microsoft's efforts
    to deprecate all of the str C runtime functions.

  * Improvements to Manifest processing in the build
    system

  * Addition of Tooltip support to the Toolbar.  Dragging
    the mouse over toolbar buttons displays textual
    descriptions.

  * Correct the behavior of the New Credentials Dialog
    to disable the "Ok" button after it has been pressed.

  * Add support to allow plugin configuration data to
    be distributed as part of transforms to the MSI
    installer.

ticket: 4028

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

18 years agopull up r18345 from trunk
Tom Yu [Sat, 22 Jul 2006 00:17:25 +0000 (00:17 +0000)]
pull up r18345 from trunk

 r18345@cathode-dark-space:  jaltman | 2006-07-20 23:12:00 -0400
 ticket: new
 subject: Windows NetIDMgr documentation

 NetIDMgr 1.1 documentation for KFW 3.1 release

ticket: 4033

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

18 years agopull up r18346 from trunk
Tom Yu [Sat, 22 Jul 2006 00:14:09 +0000 (00:14 +0000)]
pull up r18346 from trunk

 r18346@cathode-dark-space:  jaltman | 2006-07-21 09:48:37 -0400
 ticket: new
 subject: Windows - kfw 3.1 msi deployment guide updates

  documentation updates for the kfw 3.1 msi deployment guide.

ticket: 4032

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

18 years agopull up r18336 from trunk
Tom Yu [Sat, 22 Jul 2006 00:11:53 +0000 (00:11 +0000)]
pull up r18336 from trunk

 r18336@cathode-dark-space:  jaltman | 2006-07-18 15:29:32 -0400
 ticket: new
 subject: Windows: NSIS updates for 2.18 release

 This commit corrects errors in the NSIS installer scripts
 that prevent installer builds using NSIS 2.18.

ticket: 4027

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

18 years agopull up r18335 from trunk
Tom Yu [Sat, 22 Jul 2006 00:01:27 +0000 (00:01 +0000)]
pull up r18335 from trunk

 r18335@cathode-dark-space:  jaltman | 2006-07-18 15:24:23 -0400
 ticket: new
 subject: Windows: Wix 2.0.4221 updates

 This commit corrects errors in the Wix installer script
 files that violate the Wix schema but which were not
 caught by earlier releases of the Wix 2.0 installer.

ticket: 4020

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

18 years agopull up r18320 from trunk
Tom Yu [Fri, 21 Jul 2006 23:57:49 +0000 (23:57 +0000)]
pull up r18320 from trunk

 r18320@cathode-dark-space:  jaltman | 2006-07-03 01:23:16 -0400
 ticket: new
 subject: GetModuleHandle needs extension on Win64

   cc_mslsa.c:  some versions of Win64 require the extension
     to be specified as part of the parameter to GetModuleHandle()
     in order to find a match.

ticket: 3977

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

18 years agopull up r18212 from trunk
Tom Yu [Fri, 21 Jul 2006 23:27:46 +0000 (23:27 +0000)]
pull up r18212 from trunk

 r18212@cathode-dark-space:  jaltman | 2006-06-25 15:21:41 -0400
 ticket: new
 subject: NetIDMgr updates

 * add scrollbars to option tree pane in configuration dialog

 * convert to using Microsoft's safe string library both to ensure
   safe string manipulation and to avoid deprecation warnings

 * disable deprecation warnings for Platform SDK header shlwapi.h
   which cannot otherwise be compiled

 * add kerberos 5 kvno property to tickets.  display in properties
   dialog and main window if column selected by user

 * improve manifest handling in order to support both manifests
   generated by the compiler and those hand crafted in order to
   specify the correct versions of the custom control libraries.

 * update khimaira message types and credential acquisition
   documentation

ticket: 3938

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

18 years agokrb5-1.5-postrelease
Tom Yu [Sat, 1 Jul 2006 05:04:29 +0000 (05:04 +0000)]
krb5-1.5-postrelease

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

18 years agopatchlevel.h for krb5-1.5
Tom Yu [Sat, 1 Jul 2006 05:02:44 +0000 (05:02 +0000)]
patchlevel.h for krb5-1.5

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

18 years agoadd known bugs list
Tom Yu [Sat, 1 Jul 2006 02:20:54 +0000 (02:20 +0000)]
add known bugs list

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

18 years agoupdate for krb5-1.5
Tom Yu [Sat, 1 Jul 2006 02:03:07 +0000 (02:03 +0000)]
update for krb5-1.5

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

18 years agopull up r18313 from trunk
Tom Yu [Sat, 1 Jul 2006 01:53:18 +0000 (01:53 +0000)]
pull up r18313 from trunk

 r18313@cathode-dark-space:  tlyu | 2006-06-30 21:50:37 -0400
 ticket: new
 target_version: 1.5
 tags: pullup
 version_reported: 1.5
 subject: work around failure to load into nonexistent db
 component: test

  * src/tests/Makefile.in (kdb_check): Run kdb5_util create after
  destroying to work around a behavior change from DAL integration.

ticket: 3974
version_fixed: 1.5

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

18 years agopull up r18310 from trunk
Tom Yu [Sat, 1 Jul 2006 01:48:06 +0000 (01:48 +0000)]
pull up r18310 from trunk

 r18310@cathode-dark-space:  tlyu | 2006-06-30 21:18:53 -0400
 ticket: new
 tags: pullup
 target_version: 1.5
 version_reported: 1.5
 subject: make gss_unwrap match prototype
 component: krb5-libs

  * src/lib/gssapi/mechglue/g_unseal.c (gss_unwrap): Make match
  prototype.

ticket: 3972
version_fixed: 1.5

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

18 years agopull up r18277 from trunk as it is a missing pre-req
Tom Yu [Sat, 1 Jul 2006 01:20:06 +0000 (01:20 +0000)]
pull up r18277 from trunk as it is a missing pre-req

 r18277@cathode-dark-space:  raeburn | 2006-06-29 20:17:43 -0400
 (add_db_arg): Fix silly bug.
 (extended_com_err_fn): Don't look up or print error message if the error code
 is 0.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18308 from trunk
Tom Yu [Fri, 30 Jun 2006 23:34:40 +0000 (23:34 +0000)]
pull up r18308 from trunk

 r18308@cathode-dark-space:  raeburn | 2006-06-30 19:22:32 -0400
 ticket: new
 subject: test kdb5_util dump/load functionality in dejagnu
 target_version: 1.5
 tags: pullup

 This new test just dumps and reloads the database.  It doesn't examine
 the resulting database, but kinit and other tests are run after it,
 using the reloaded database.

 * standalone.exp (dump_and_reload): New proc.
 (doit): Invoke it.

ticket: 3970
version_fixed: 1.5

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

18 years agopull up r18276 as a prereq
Tom Yu [Fri, 30 Jun 2006 23:11:41 +0000 (23:11 +0000)]
pull up r18276 as a prereq

 r18276@cathode-dark-space:  raeburn | 2006-06-29 19:51:55 -0400
 * kdb5_util.c (add_db_arg): New function.
 (main): Use it.
 * kdb5_util.h (add_db_arg): Declare it.
 * kdb5_create.c (kdb5_create): Use it.
 * dump.c (load_db): Use it.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18296 from trunk
Tom Yu [Fri, 30 Jun 2006 23:11:37 +0000 (23:11 +0000)]
pull up r18296 from trunk

 r18296@cathode-dark-space:  raeburn | 2006-06-30 17:07:25 -0400
 ticket: 3964
 status: open

 * dump.c (load_db): Call krb5_db_promote instead of krb5_db_fini.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18295 from trunk
Tom Yu [Fri, 30 Jun 2006 23:11:33 +0000 (23:11 +0000)]
pull up r18295 from trunk

 r18295@cathode-dark-space:  raeburn | 2006-06-30 17:05:21 -0400
 ticket: 3964
 status: open

 * kdb_db2.c: Don't include kdb_compat.h.
 (OLD_COMPAT_VERSION_1): Don't define.
 (krb5_db2_db_create): For temporary db, use different names for all files.
 (krb5_db2_open, krb5_db2_create, krb5_db2_destroy): Fix check for "temporary"
 in supplied db_args.
 (krb5_db2_db_rename): New function, restored from pre-DAL code and hacked up
 a lot to mostly work.
 (krb5_db2_promote_db): New function.
 * db2_exp.c: Add promote_db entry.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18292 from trunk
Tom Yu [Fri, 30 Jun 2006 23:11:29 +0000 (23:11 +0000)]
pull up r18292 from trunk

 r18292@cathode-dark-space:  raeburn | 2006-06-30 16:18:39 -0400
 ticket: 3964
 status: open

 * kdb_default.c (krb5_def_promote_db): New function.
 * kdb5.c (kdb_setup_opt_functions): Use it if promote_db is null.

 * libkdb5.exports: Export krb5_db_promote.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18291 from trunk
Tom Yu [Fri, 30 Jun 2006 23:11:23 +0000 (23:11 +0000)]
pull up r18291 from trunk

 r18291@cathode-dark-space:  raeburn | 2006-06-30 16:17:04 -0400
 ticket: 3964
 status: open

 * kdb.h (krb5_def_promote_db): Declare.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18285 from trunk
Tom Yu [Fri, 30 Jun 2006 23:11:19 +0000 (23:11 +0000)]
pull up r18285 from trunk

 r18285@cathode-dark-space:  hartmans | 2006-06-30 01:43:40 -0400
 Ticket: 3964
 Status: open

  * plugins/kdb/db2/kdb_db2.c (krb5_db2_db_init): Support tempdb
  (krb5_db2_db_set_name): likewise
  (krb5_db2_open): likewise
  (krb5_db2_create): likewise
  (krb5_db2_db_create): likewise
  (krb5_db2_db_set_option): likewise
  (krb5_db2_destroy): likewise

  * plugins/kdb/db2/kdb_db2.h: Add tempdb to db context

  * plugins/kdb/db2/kdb_db2.c (k5db2_dbopen): Take flag for
  temporary databases.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18281 from trunk as pre-req for r18285
Tom Yu [Fri, 30 Jun 2006 23:11:15 +0000 (23:11 +0000)]
pull up r18281 from trunk as pre-req for r18285

 r18281@cathode-dark-space:  hartmans | 2006-06-29 23:02:23 -0400

         * plugins/kdb/db2/kdb_db2.c (krb5_db2_create): Remove incorrect
         comment.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18282 from trunk
Tom Yu [Fri, 30 Jun 2006 23:11:07 +0000 (23:11 +0000)]
pull up r18282 from trunk

 r18282@cathode-dark-space:  raeburn | 2006-06-29 23:51:48 -0400
 ticket: 3964
 status: open

 New kdb backend operation promote_db, makes a temporary database become the
 live database.  New function krb5_db_promote invokes it.

ticket: 3964
version_fixed: 1.5

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

18 years agopull up r18289 from trunk
Tom Yu [Fri, 30 Jun 2006 20:20:55 +0000 (20:20 +0000)]
pull up r18289 from trunk

 r18289@cathode-dark-space:  jaltman | 2006-06-30 14:20:26 -0400
 ticket: 3968

     g_delete_sec_context.c: undo type cast change from last
     commit that is wrong.

ticket: 3968
version_fixed: 1.5

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

18 years agopull up r18288 from trunk
Tom Yu [Fri, 30 Jun 2006 20:20:51 +0000 (20:20 +0000)]
pull up r18288 from trunk

 r18288@cathode-dark-space:  jaltman | 2006-06-30 05:22:32 -0400
 ticket: new
 subject: corrections to gssapi mechglue

  g_delete_sec_context.c: use the correct type during assignment

  g_init_sec_context.c; prevent memory leak and make code more
    readable

ticket: 3968
version_fixed: 1.5

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

18 years agopull up r18286 from trunk
Tom Yu [Fri, 30 Jun 2006 18:31:38 +0000 (18:31 +0000)]
pull up r18286 from trunk

 r18286@cathode-dark-space:  tlyu | 2006-06-30 01:59:46 -0400
 ticket: 3962

  * src/lib/krb5/krb/srv_rcache.c (krb5_get_server_rcache):
  Oops, krb5_rc_close actually does free rcache, so actually do null
  rcache on error from krb5_rc_recover_or_initialize.  Thanks to
  Shawn Emery for noticing.

ticket: 3962

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

18 years agopull up r18283 from trunk
Tom Yu [Fri, 30 Jun 2006 04:46:36 +0000 (04:46 +0000)]
pull up r18283 from trunk

 r18283@cathode-dark-space:  tlyu | 2006-06-29 23:57:20 -0400
 ticket: 3962
 tags: pullup

  * src/lib/krb5/krb/srv_rcache.c (krb5_get_server_rcache): Adapted
  patch from Shawn Emery to set rcache = 0 in case of
  krb5_rc_resolve_full failure because krb5_rc_resolve_full frees
  but doesn't null rcache.  Also restore free of rcache in cleanup
  code.  Continue to not null rcache in failure on
  krb5_rc_recover_or_initialize because krb5_rc_close doesn't free
  rcache.

ticket: 3962
version_fixed: 1.5

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

18 years agopull up r18273 from trunk
Tom Yu [Thu, 29 Jun 2006 22:35:21 +0000 (22:35 +0000)]
pull up r18273 from trunk

 r18273@cathode-dark-space:  tlyu | 2006-06-29 18:12:19 -0400
 ticket: new
 tags: pullup
 target_version: 1.5
 version_reported: 1.5
 subject: re-order inclusions in spnego_mech.c to avoid breaking system headers
 component: krb5-build

  * src/lib/gssapi/spnego/spnego_mech.c: Move inclusion of
  gssapiP_spnego.h to after mglueP.h.  mglueP.h includes
  k5-thread.h, which pulls in the pthread headers, which on at least
  some Tru64 versions is vulnerable to definitions of non-reserved
  macro names such as CONTEXT, which is defined in
  gssapiP_spnego.h.

ticket: 3959
version_fixed: 1.5

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

18 years agomake depend
Tom Yu [Thu, 29 Jun 2006 19:55:28 +0000 (19:55 +0000)]
make depend

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

18 years agopull up r18264 from trunk
Tom Yu [Thu, 29 Jun 2006 19:51:24 +0000 (19:51 +0000)]
pull up r18264 from trunk

 r18264@cathode-dark-space:  epeisach | 2006-06-29 09:26:42 -0400
 ticket: 3953
 tags: pullup

 Makefile.in:  Change T_STD_CONF_OBJS to only list t_std_conf.o and pull in the
 rest from libkrb5.  This fixes the problem of linking in init_os_ctx.o which
 was trying to use the private copy_profile() that was not exported.

 Also - updated dependencies - init_os_ctx.c now includes prof-int.h...

ticket: 3953
version_fixed: 1.5

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

18 years agopull up r18262 from trunk
Tom Yu [Thu, 29 Jun 2006 19:44:34 +0000 (19:44 +0000)]
pull up r18262 from trunk

 r18262@cathode-dark-space:  tlyu | 2006-06-29 00:38:48 -0400
 ticket: 3954
 tags: pullup
 target_version: 1.5
 version_reported: 1.5
 component: krb5-libs

  * src/lib/gssapi/mechglue/mglueP.h (struct gss_config): Remove
  gssint_userok and pname_to_uid, as we don't implement things which
  use them.

  * src/lib/gssapi/krb5/krb5_gss_glue.c (KRB5_GSS_CONFIG_INIT):
  * src/lib/gssapi/spnego/spnego_mech.c (spnego_mechanism): Update
  for struct gss_config changes.

ticket: 3954
version_fixed: 1.5

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

18 years agopull up r18261 from trunk
Tom Yu [Thu, 29 Jun 2006 19:36:42 +0000 (19:36 +0000)]
pull up r18261 from trunk

 r18261@cathode-dark-space:  tlyu | 2006-06-29 00:21:08 -0400
 ticket: 3951
 tags: pullup

  * src/lib/gssapi/mechglue/g_initialize.c: Remove various unused
  header inclusions, local variables, and macro definitions.
  (gss_indicate_mechs):
  (build_mechSet):
  (updateMechList):
  (gssint_get_mechanism):
  (loadConfigFile): Remove disabled code.

ticket: 3951
version_fixed: 1.5

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

18 years agofix missed g_utils.c deletion from merge
Tom Yu [Thu, 29 Jun 2006 19:22:57 +0000 (19:22 +0000)]
fix missed g_utils.c deletion from merge

ticket: 3957

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

18 years agopull up r18263 from trunk
Tom Yu [Thu, 29 Jun 2006 19:22:52 +0000 (19:22 +0000)]
pull up r18263 from trunk

 r18263@cathode-dark-space:  tlyu | 2006-06-29 00:47:11 -0400
 ticket: new
 subject: remove unused lib/gssapi/mechglue/g_utils.c
 version_reported: 1.5
 target_version: 1.5
 tags: pullup

  * src/lib/gssapi/mechglue/g_utils.c: Remove.
  * src/lib/gssapi/mechglue/Makefile.in (SRCS, OBJS, STLIBOBJS):
  Remove g_utils.*.

ticket: 3957
version_fixed: 1.5

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

18 years agopull up r18254,18255 from trunk
Tom Yu [Thu, 29 Jun 2006 00:39:29 +0000 (00:39 +0000)]
pull up r18254,18255 from trunk

 r18254@cathode-dark-space:  raeburn | 2006-06-28 20:03:36 -0400
 ticket: new
 subject: fix calling convention for krb5 error-message routines, document usage of krb5_get_error_message
 target_version: 1.5
 tags: pullup

 * lib/krb5/krb/kerrs.c (krb5_*_error_message): Annotate with correct calling
 conventions for Windows.
 * include/krb5/krb5.hin: Update declarations.  Add comment on
 krb5_get_error_message usage.

 r18255@cathode-dark-space:  raeburn | 2006-06-28 20:12:21 -0400
 ticket: 3952

 Fix comment style in public header.

ticket: 3952
version_fixed: 1.5

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

18 years agopull up r18250 from trunk
Tom Yu [Thu, 29 Jun 2006 00:20:04 +0000 (00:20 +0000)]
pull up r18250 from trunk

 r18250@cathode-dark-space:  jaltman | 2006-06-28 19:00:09 -0400
 ticket: 3940
 tags: pullup

  cc_mslsa.c:  The WOW64 environment on 64-bit versions of
    Windows prior to Vista Beta 2 did not implement the Lsa
  functions used by the MSLSA: ccache.   This patch disables
  the MSLSA: ccache in broken WOW64 environments by checking
  the Windows version and the existence and response of the
  IsWow64Process API.

ticket: 3940
version_fixed: 1.5

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

18 years agopull up r18249 from trunk
Tom Yu [Thu, 29 Jun 2006 00:03:33 +0000 (00:03 +0000)]
pull up r18249 from trunk

 r18249@cathode-dark-space:  raeburn | 2006-06-28 18:07:00 -0400
 ticket: new
 subject: autoconf 2.60 compatibility
 target_version: 1.5
 tags: pullup

 Change all file substitutions so that @-patterns start at the beginning
 of their lines, as now required by autoconf 2.60 (released Monday).

ticket: 3950
version_fixed: 1.5

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

18 years agopull up r18248 from trunk
Tom Yu [Wed, 28 Jun 2006 23:41:30 +0000 (23:41 +0000)]
pull up r18248 from trunk

 r18248@cathode-dark-space:  jaltman | 2006-06-28 17:45:20 -0400
 ticket: new
 subject: fix plugin.c to compile on Windows
 tags: pullup

  plugins.c: Move a brace so that the Windows case falls
             within the conditional

ticket: 3949
version_fixed: 1.5

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

18 years agopull up r18247 from trunk
Tom Yu [Wed, 28 Jun 2006 23:29:39 +0000 (23:29 +0000)]
pull up r18247 from trunk

 r18247@cathode-dark-space:  jaltman | 2006-06-28 17:41:43 -0400
 ticket: new
 subject: Windows: fix krb5.h generation
 tags: pullup

 Generate krb5.h into the new location and install it

ticket: 3948
version_fixed: 1.5

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

18 years agopull up r18243 from trunk
Tom Yu [Tue, 27 Jun 2006 22:11:08 +0000 (22:11 +0000)]
pull up r18243 from trunk

 r18243@cathode-dark-space:  tlyu | 2006-06-27 18:01:22 -0400
 ticket: new
 tags: pullup
 target_version: 1.5
 subject: mkrel should only generate doc/CHANGES for checkouts

  * src/util/mkrel: Only write doc/CHANGES if doing a checkout.
  This makes nightly snapshots saner.

ticket: 3945
version_fixed: 1.5

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

18 years agokrb5-1.5-beta2-postrelease
Tom Yu [Tue, 27 Jun 2006 05:34:48 +0000 (05:34 +0000)]
krb5-1.5-beta2-postrelease

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

18 years agopatchlevel.h for krb5-1.5-beta2
Tom Yu [Tue, 27 Jun 2006 05:31:57 +0000 (05:31 +0000)]
patchlevel.h for krb5-1.5-beta2

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

18 years agoupdate acknowledgments
Tom Yu [Tue, 27 Jun 2006 05:22:25 +0000 (05:22 +0000)]
update acknowledgments

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

18 years agomake depend
Tom Yu [Tue, 27 Jun 2006 03:01:48 +0000 (03:01 +0000)]
make depend

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

18 years agopull up r18235 from trunk
Tom Yu [Tue, 27 Jun 2006 02:46:04 +0000 (02:46 +0000)]
pull up r18235 from trunk

 r18235@cathode-dark-space:  tlyu | 2006-06-26 22:26:11 -0400
 ticket: new
 target_version: 1.5
 tags: pullup
 subject: write svn log output when building release

  * src/util/mkrel: Write output of svn log -v to doc/CHANGES.

ticket: 3944
version_fixed: 1.5

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

18 years agopull up r18233 from trunk
Tom Yu [Tue, 27 Jun 2006 02:42:39 +0000 (02:42 +0000)]
pull up r18233 from trunk

 r18233@cathode-dark-space:  raeburn | 2006-06-26 19:47:03 -0400
 ticket: 3923
 tags: pullup

 * kdc/network.c (make_toolong_error): New function.
 (process_tcp_connection): If the specified length exceeds the internal limit,
 stop reading and send back a FIELD_TOOLONG error.
 * tests/dejagnu/krb-standalone/standalone.exp (doit): When testing TCP mode,
 connect to the KDC and send a length of -1, and check that it sends back a
 non-empty message.

ticket: 3923
version_fixed: 1.5

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

18 years agopull up r18228:18229 from trunk
Tom Yu [Mon, 26 Jun 2006 23:36:27 +0000 (23:36 +0000)]
pull up r18228:18229 from trunk

 r18228@cathode-dark-space:  tlyu | 2006-06-26 17:03:04 -0400
 ticket: 2856
 tags: pullup

  * src/include/krb5/krb5.hin: Add prototype for krb5_copy_context.

  * src/lib/krb5/krb/init_ctx.c (krb5_copy_context): New function to
  copy/clone an existing krb5 context.
  (copy_ktypes): Local helper function.

 r18229@cathode-dark-space:  tlyu | 2006-06-26 18:04:51 -0400
 ticket: 2856

  * src/lib/krb5_32.def: Export krb5_copy_context.

  * src/lib/krb5/libkrb5.exports: Export krb5_copy_context.

  * src/lib/krb5/krb/init_ctx.c (krb5_copy_context): Fix malloc
  argument for nctx.  Handle null default_ccname case.

ticket: 2856
version_fixed: 1.5

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

18 years agopull up r18230 from trunk
Tom Yu [Mon, 26 Jun 2006 23:22:35 +0000 (23:22 +0000)]
pull up r18230 from trunk

 r18230@cathode-dark-space:  tlyu | 2006-06-26 19:09:51 -0400
 ticket: new
 target_version: 1.5
 tags: pullup
 subject: make gssint_get_mechanism match prototype
 component: krb5-libs

  * src/lib/gssapi/mechglue/g_initialize.c (gssint_get_mechanism):
  Protoize, and make match mglueP.h.

ticket: 3942
version_fixed: 1.5

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

18 years agopull up r18209 from trunk
Tom Yu [Mon, 26 Jun 2006 20:57:14 +0000 (20:57 +0000)]
pull up r18209 from trunk

 r18209@cathode-dark-space:  raeburn | 2006-06-23 22:39:52 -0400
 ticket: 3925

 Fix krb5_get_profile to create a new profile duplicating the list of
 files from the one in the provided context, instead of constructing
 and checking the file list from scratch.  Uses a new function in the
 profile library, not put into the public API yet.

 * util/profile/prof_init.c (profile_copy): New function.
 * util/profile/prof_int.h (profile_copy): Declare it.
 * lib/krb5/os/Makefile.in (LOCALINCLUDES): Look in the profile source dir.
 * lib/krb5/os/init_os_ctx.c (krb5_get_profile): Replace all the previous code
 with a call to profile_copy.

ticket: 3925
version_fixed: 1.5

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

18 years agopull up r18183:18184 from trunk
Tom Yu [Mon, 26 Jun 2006 03:21:41 +0000 (03:21 +0000)]
pull up r18183:18184 from trunk

 r18183@cathode-dark-space:  raeburn | 2006-06-20 20:28:21 -0400
 ticket: 2759
 tags: pullup

 (GET_HOST_BY_NAME, GET_HOST_BY_ADDR) [GETHOSTBYNAME_RETURNS_INT]: Test
 the output hostent pointer as an additional way of checking for errors.
 Original patch from Nalin Dahyabhai, needed some tweaking to fit in
 current sources, especially as updated in ticket 3911.

 r18184@cathode-dark-space:  raeburn | 2006-06-20 20:31:19 -0400
 ticket: 2759

 *sigh*
 Stupid typo in last change.

ticket: 2759
version_fixed: 1.5

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

18 years agopull up r18180:18182 from trunk
Tom Yu [Mon, 26 Jun 2006 03:13:48 +0000 (03:13 +0000)]
pull up r18180:18182 from trunk

 r18180@cathode-dark-space:  raeburn | 2006-06-20 19:59:11 -0400
 ticket: new
 subject: getaddrinfo code uses vars outside of storage duration

 The calls to gethostbyname_r and friends were wrapped in macros that declared
 automatic variables for the auxiliary storage needed, but the pointers returned
 by the functions would be used outside of that scope, when the storage would no
 longer be valid.

 Changed the macro interfaces to define new types for the auxiliary storage, and
 add a new argument to the macros referring to that storage.  Changed call sites
 accordingly.

 r18181@cathode-dark-space:  raeburn | 2006-06-20 19:59:56 -0400
 ticket: 18180

 Revert an untested change that wasn't supposed to go into this ticket.

 r18182@cathode-dark-space:  raeburn | 2006-06-20 20:12:03 -0400
 ticket: 3911

 Revert part of previous changes: Move temporary values that don't need
 longer storage duration, like error codes, back into GET_*_BY_* macros.

ticket: 3911
version_fixed: 1.5

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

18 years agopull up r18208 from trunk
Tom Yu [Mon, 26 Jun 2006 03:04:22 +0000 (03:04 +0000)]
pull up r18208 from trunk

 r18208@cathode-dark-space:  tlyu | 2006-06-22 22:57:32 -0400
 ticket: new
 subject: fix typo in MS_BUG_TEST case in krb5_gss_glue.c
 target_version: 1.5
 tags: pullup
 component: krb5-libs

  * src/lib/gssapi/krb5/krb5_gss_glue.c (krb5_mech_configs_hack):
  Fix typo in MS_BUG_TEST case.

ticket: 3928
version_fixed: 1.5

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

18 years agopull up r18207 from trunk
Tom Yu [Mon, 26 Jun 2006 03:01:32 +0000 (03:01 +0000)]
pull up r18207 from trunk

 r18207@cathode-dark-space:  tlyu | 2006-06-22 22:56:30 -0400
 ticket: new
 subject: fix signedness warnings in spnego_mech.c
 target_version: 1.5
 tags: pullup
 component: krb5-libs

  * src/lib/gssapi/spnego/spnego_mech.c: Fix numerous signedness
  warnings.

ticket: 3927
version_fixed: 1.5

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

18 years agopull up r18204 from trunk
Tom Yu [Mon, 26 Jun 2006 02:53:21 +0000 (02:53 +0000)]
pull up r18204 from trunk

 r18204@cathode-dark-space:  tlyu | 2006-06-22 16:06:45 -0400
 ticket: 3922
 tags: pullup

  * src/util/mkrel: Edit patchlevel.h before running reconf.

ticket: 3922
version_fixed: 1.5

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

18 years agopull up r18206 from trunk
Tom Yu [Mon, 26 Jun 2006 02:50:45 +0000 (02:50 +0000)]
pull up r18206 from trunk

 r18206@cathode-dark-space:  tlyu | 2006-06-22 18:23:02 -0400
 ticket: 3924
 tags: pullup

  * src/lib/krb5/krb/srv_rcache.c (krb5_get_server_rcache): Apply
  patch from Rainer Weikusat to avoid double-free when
  rc_resolve_full() fails due to misconfiguration.

ticket: 3924
version_fixed: 1.5

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

18 years agopull up r18205 from trunk
Tom Yu [Mon, 26 Jun 2006 02:47:19 +0000 (02:47 +0000)]
pull up r18205 from trunk

 r18205@cathode-dark-space:  tlyu | 2006-06-22 17:31:15 -0400
 ticket: 3903
 tags: pullup

  * src/lib/kadm5/ovsec_glue.c:
  * src/lib/kadm5/unit-test/init-test.c:
  * src/lib/kadm5/unit-test/iter-test.c:
  * src/lib/kadm5/unit-test/lock-test.c: Include string.h to avoid
  implicit definitions.  Patch from Michael Calmer.

ticket: 3903
version_fixed: 1.5

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

18 years agopull up r18202 from trunk
Tom Yu [Mon, 26 Jun 2006 02:40:45 +0000 (02:40 +0000)]
pull up r18202 from trunk

 r18202@cathode-dark-space:  tlyu | 2006-06-22 14:49:23 -0400
 ticket: 3918
 tags: pullup

  * src/lib/gssapi/mechglue/g_initialize.c: Remove unused variables
  and include gss_libinit.h to clean up warnings.  Patch from
  Michael Calmer.

ticket: 3913
version_fixed: 1.5

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

18 years agopull up r18198 from trunk
Tom Yu [Mon, 26 Jun 2006 02:38:04 +0000 (02:38 +0000)]
pull up r18198 from trunk

 r18198@cathode-dark-space:  tlyu | 2006-06-22 14:36:16 -0400
 ticket: 3905
 tags: pullup

 Apply (modified) patches from Michael Calmer to fix some warnings.

  * src/lib/gssapi/spnego/spnego_mech.c (get_req_flags): Remove
  unused var.
  (get_negTokenResp): Fix signedness bug.
  (make_spnego_tokenInit_msg): Remove unused vars
  (make_spnego_tokenTarg_msg): Initialize uninitialized vars.

  * src/lib/gssapi/spnego/gssapiP_spnego.h: Delete TWRITE_STR.

ticket: 3905
version_fixed: 1.5

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

18 years agopull up r18192 from trunk
Tom Yu [Sun, 25 Jun 2006 23:17:02 +0000 (23:17 +0000)]
pull up r18192 from trunk

 r18192@cathode-dark-space:  tlyu | 2006-06-21 23:00:53 -0400
 ticket: 3909
 tags: pullup

  * src/util/support/plugins.c (krb5int_open_plugin): Use RTLD_LOCAL
  instead of RTLD_GLOBAL.  Use RTLD_GROUP if available.

ticket: 3909
version_fixed: 1.5

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

18 years agopull up r18187 from trunk
Tom Yu [Sun, 25 Jun 2006 23:04:01 +0000 (23:04 +0000)]
pull up r18187 from trunk

 r18187@cathode-dark-space:  tlyu | 2006-06-21 18:25:19 -0400
 ticket: new
 subject: remove unimplemented/unused mechglue functions
 target_version: 1.5
 tags: pullup
 component: krb5-libs
  * src/lib/gssapi/mechglue/Makefile.in (SRCS, STLIBOBJS): Delete
  g_userok, gssd_pname_to_uid.

  * src/lib/gssapi/mechglue/mechglue.h: Delete gssd_pname_to_uid,
  gss_initialize.

  * src/lib/gssapi/mechglue/mglueP.h: Delete gssint_userok,
  gssd_pname_to_uid, gssint_get_mechanism_ext,
  gss_acquire_cred_with_password_sfct, gss_mechanism_ext.

  * src/lib/gssapi/g_userok.c:
  * src/lib/gssapi/g_indicate_mechs.c:
  * src/lib/gssapi/gen_oids.c:
  * src/lib/gssapi/gssd_pname_to_uid: Delete.

  * src/lib/gssapi/mechglue/g_initialize.c: Delete
  gssint_get_mechanism_ext.

ticket: 3921
version_fixed: 1.5

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

18 years agopull up r18185 from trunk
Tom Yu [Sun, 25 Jun 2006 22:59:15 +0000 (22:59 +0000)]
pull up r18185 from trunk

 r18185@cathode-dark-space:  tlyu | 2006-06-21 17:08:31 -0400
 ticket: new
 subject: cease export of krb5_gss_*
 target_version: 1.5
 tags: pullup
 component: krb5-libs

  * src/lib/gssapi/libgssapi_krb5.exports: Cease export of krb5
  mechanism entry points which were once equivalent to GSS-API entry
  points.  These were never public interfaces, and calling them
  directly now can cause problems.  Also, cease export of some
  other internal symbols.

ticket: 3920
version_fixed: 1.5

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

18 years agopull up r18176 from trunk
Tom Yu [Sun, 25 Jun 2006 22:41:52 +0000 (22:41 +0000)]
pull up r18176 from trunk

 r18176@cathode-dark-space:  tlyu | 2006-06-20 18:35:20 -0400
 ticket: new
 subject: fix parallel builds for libgss
 target_version: 1.5
 tags: pullup
 component: krb5-build

  * src/lib/gssapi/Makefile.in (SUBDIROBJLISTS): Add missing spnego
  directory.

ticket: 3910
version_fixed: 1.5

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

18 years agopull up r18179 from trunk
Tom Yu [Sun, 25 Jun 2006 22:28:12 +0000 (22:28 +0000)]
pull up r18179 from trunk

 r18179@cathode-dark-space:  raeburn | 2006-06-20 19:27:01 -0400
 ticket: 3308
 tags: pullup

 (kadmin_cpw): Don't crash if principal name is not given.  Based on a
 patch from S Rahul.
 (extended_com_err_fn): If error code is zero, don't fetch an error message.

ticket: 3308
version_fixed: 1.5

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

18 years agopull up r18175 from trunk
Tom Yu [Sun, 25 Jun 2006 14:47:29 +0000 (14:47 +0000)]
pull up r18175 from trunk

 r18175@cathode-dark-space:  rra | 2006-06-20 17:45:16 -0400
 Ticket: 581
 Version_Reported: 1.0.5
 Target_Version: 1.5
 Tags: pullup

 In verify_krb_v4_tgt, use an unsigned KRB4_32 to store an address rather
 than an unsigned long to avoid memcpying past the end of a structure on
 64-bit platforms.

ticket: 581
version_fixed: 1.5

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

18 years agokrb5-1.5-beta1-postrelease
Tom Yu [Tue, 20 Jun 2006 19:13:12 +0000 (19:13 +0000)]
krb5-1.5-beta1-postrelease

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

18 years agoupdate for krb5-1.5-beta1
Tom Yu [Tue, 20 Jun 2006 19:11:25 +0000 (19:11 +0000)]
update for krb5-1.5-beta1

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

18 years agoupdates to acknowledgments and major change lists
Tom Yu [Tue, 20 Jun 2006 19:02:14 +0000 (19:02 +0000)]
updates to acknowledgments and major change lists

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

18 years agopull up r18166 from trunk
Tom Yu [Tue, 20 Jun 2006 04:06:52 +0000 (04:06 +0000)]
pull up r18166 from trunk

ticket: 3122
version_fixed: 1.5

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

18 years agoupdate RELTAG
Tom Yu [Tue, 20 Jun 2006 03:12:33 +0000 (03:12 +0000)]
update RELTAG

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

18 years agokrb5-1.5 release branch
Tom Yu [Tue, 20 Jun 2006 01:23:43 +0000 (01:23 +0000)]
krb5-1.5 release branch

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

18 years agoUpdate config.guess and config.sub to the current versions from
Russ Allbery [Mon, 19 Jun 2006 17:59:05 +0000 (17:59 +0000)]
Update config.guess and config.sub to the current versions from
savannah.gnu.org.

Ticket: 3900

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18164 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoExport krb5_gss_register_acceptor_identity in KFW
Jeffrey Altman [Mon, 19 Jun 2006 17:33:36 +0000 (17:33 +0000)]
Export krb5_gss_register_acceptor_identity in KFW

krb5_gss_register_acceptor_identity is a gss krb5 extension that is
part of the public ABI.  It does not have a gss_krb5_* name due to
historical reasons.  Instead there is a gss_krb5_register_acceptor_identity
macro that uses this export.

ticket:  new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18163 dc483132-0cff-0310-8789-dd5450dbe970

18 years agogssapi32.def: Export gss_inquire_mechs_for_name now that
Jeffrey Altman [Sun, 18 Jun 2006 03:35:12 +0000 (03:35 +0000)]
gssapi32.def:  Export gss_inquire_mechs_for_name now that
it has been implemented.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18162 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoTest for and use setutsent, based on a patch from Nate Yocom at Centrify.
Ken Raeburn [Sat, 17 Jun 2006 00:57:22 +0000 (00:57 +0000)]
Test for and use setutsent, based on a patch from Nate Yocom at Centrify.
Modified to restrict the configure test to just the pty library.

ticket: 3423

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18161 dc483132-0cff-0310-8789-dd5450dbe970

18 years agodelete old .Sanitize files
Ken Raeburn [Sat, 17 Jun 2006 00:23:48 +0000 (00:23 +0000)]
delete old .Sanitize files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18160 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(foo): bar
Ken Raeburn [Sat, 17 Jun 2006 00:22:37 +0000 (00:22 +0000)]
(foo): bar

Testing changes to rt-cvsgate script to ignore RT "commands" with parens.

ticket: 169

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18159 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(hpux10.exports): Export initializer and destructor symbols(?). Patch
Ken Raeburn [Fri, 16 Jun 2006 23:41:54 +0000 (23:41 +0000)]
(hpux10.exports): Export initializer and destructor symbols(?).  Patch
from Albert Chin.

ticket: 3129

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18158 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoChange a bunch of calls to ctype macros (those cited by Jeff, and a
Ken Raeburn [Fri, 16 Jun 2006 06:58:42 +0000 (06:58 +0000)]
Change a bunch of calls to ctype macros (those cited by Jeff, and a
few others) to cast the character values to unsigned char.

ticket: 3445

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18156 dc483132-0cff-0310-8789-dd5450dbe970

18 years agofix for support lib version number change
Ken Raeburn [Fri, 16 Jun 2006 05:53:34 +0000 (05:53 +0000)]
fix for support lib version number change

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18155 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoRemove -lkrb5support, which should be for internal use only, from the displayed
Ken Raeburn [Fri, 16 Jun 2006 00:26:49 +0000 (00:26 +0000)]
Remove -lkrb5support, which should be for internal use only, from the displayed
list of libraries.  This means the output is not suitable for linking against
static libraries built from the tree, but prevents us from committing to
keeping libkrb5support.1 in all future Mac shared-library builds (in addition
to the libkrb5support.0 we're stuck with for non-Mac UNIXy shared-library
builds).

ticket: 3887

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18154 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoftpd's getline conflicts with current glibc headers
Ken Raeburn [Fri, 16 Jun 2006 00:10:08 +0000 (00:10 +0000)]
ftpd's getline conflicts with current glibc headers

Reported by Ubaidul Khan on kerberos@mit this date.
GNU libc includes a function getline with an incompatible prototype.
It hasn't caused problems for MIT on RHEL 4 (glibc 2.3.4), but
apparently FC5 has a newer set of headers in which it does.

* ftpcmd.y (getline): Renamed to ftpd_getline.  Declarations and callers
changed.
* ftpd.c (getline): Remove duplicate declaration.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18153 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* configure.in: Set and substitute SUPPORTLIB_MAJOR based on operating system.
Ken Raeburn [Thu, 15 Jun 2006 23:58:19 +0000 (23:58 +0000)]
* configure.in: Set and substitute SUPPORTLIB_MAJOR based on operating system.
* util/support/Makefile.in (LIBMAJOR): Use it.
(LIBMINOR): Bump.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18152 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoIncrease buffer sizes to 64K where a Kerberos 5 authenticator might be
Ken Raeburn [Thu, 15 Jun 2006 22:42:53 +0000 (22:42 +0000)]
Increase buffer sizes to 64K where a Kerberos 5 authenticator might be
exchanged.  Suggested by Markus Moeller.

ticket: 2615

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18151 dc483132-0cff-0310-8789-dd5450dbe970

18 years agoremove unused versions of makefiles
Ken Raeburn [Thu, 15 Jun 2006 22:28:48 +0000 (22:28 +0000)]
remove unused versions of makefiles

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18150 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago* config/pre.in (KRB5_BASE_LIBS): Add $(DL_LIB).
Ken Raeburn [Thu, 15 Jun 2006 22:21:58 +0000 (22:21 +0000)]
* config/pre.in (KRB5_BASE_LIBS): Add $(DL_LIB).
* krb5-config.in: Add DL_LIB.

ticket: 3838
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18149 dc483132-0cff-0310-8789-dd5450dbe970

18 years ago(kadmin_startup): Properly skip "\@" and "\/" sequences when
Ken Raeburn [Thu, 15 Jun 2006 22:01:57 +0000 (22:01 +0000)]
(kadmin_startup): Properly skip "\@" and "\/" sequences when
processing principal name, rather than going into an infinite loop.
Suggested by Mark Phalan at Sun.

ticket: 3697

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18148 dc483132-0cff-0310-8789-dd5450dbe970