aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-03-08krb5.h, which is built after util/et, which is built after the supportKen Raeburn10-72/+174
code. Fix: Put service location decls in k5-locate.h, pull plugin support decls out of k5-int.h into k5-plugin.h, and make it stand on its own, which includes changing the return type from krb5_error_code to int32_t. Oops: The plugin support code included k5-int.h, which includes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17707 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-07Merge from plugin branchKen Raeburn44-228/+1413
Add plugin support: - plugin routines in support library (may break windows build!) - plugin support in KDC location code - sample Python-based plugin for KDC location, not built without tweaking sources - changed service location interface to use an enum instead of passing profile string and DNS strings and port numbers - changed pathnames for plugin locations, including kdb back end - remove locate_service from accessor API Also, do build shared libraries for Darwin just like any other UNIX box. Not present yet: - use new plugin interface for kdb back end - Windows support - Mac bundle support (but dlopen support works) - search path for libkrb5 plugins (only one hard-coded directory for now) - sorting of plugin collections for predictable ordering See the various ChangeLogs for specifics. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17706 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-072006-03-07 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman2-0/+14
* acquire_cred.c: (acquire_init_cred) If the leash32.dll is not available, fallback to opening the default credential cache even when the desired_name is provided. ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17704 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-02* Makefile.in (clean-unix): Delete util/fakedestKen Raeburn2-0/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17690 dc483132-0cff-0310-8789-dd5450dbe970
2006-03-01don't check sizeof(int) at configure timeKen Raeburn4-2/+9
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17689 dc483132-0cff-0310-8789-dd5450dbe970
2006-02-28 add missing $(SCLIB) aka bufferoverflow.lib for 64-bit windowsJeffrey Altman1-1/+1
ticket: 3415 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17681 dc483132-0cff-0310-8789-dd5450dbe970
2006-02-27Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman33-181/+288
krb5 to build under the Microsoft Visual Studio 8 compiler in 64-bit mode and produce file names that do not conflict with the names produced by the 32-bit build. That patch was modified to work on Unix and also include processor dependent pre-processor definitions to remove warnings. ticket: 3415 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17680 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-27Mark #else of KDB5_STATIC_LINK with ifdef nameSam Hartman1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17631 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-27Note that caller must free result of conf_get_sectionSam Hartman2-0/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17630 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-27Define new error codes for errors loading dal plugins.Sam Hartman4-5/+19
Use these error codes to report plugin load errors. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17629 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-26update copyright datesKen Raeburn1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17622 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-26add/update copyright notices for non-trivial code additions/changes in 2006Ken Raeburn3-1/+49
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17621 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-26copyright updateKen Raeburn1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17620 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-26copyright noticesKen Raeburn2-0/+48
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17619 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-26* export-check.pl: Accept 'S' in nm outputKen Raeburn2-2/+6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17618 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-26* export-check.pl: Accept 'G' in nm outputKen Raeburn2-2/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17617 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25Delete the rest of the support in the kdb library for doing locking onKen Raeburn4-94/+28
behalf of the plugin library. Convert the remaining locking code (for protecting the list of plugins loaded) to use the k5_ macros. ticket: 3416 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17612 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25Remove the thread-safety flag from the kdb plugin interface. Instead,Ken Raeburn7-53/+213
have the kdb code assume the plugin is thread safe, and implement some quick and dirty wrapper functions in the db2 plugin to make it use a local mutex. There's still some mutex code in the kdb library that should be reviewed, and simplified or removed. ticket: 3416 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17611 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25* k5-thread.h (krb5int_mutex_alloc, krb5int_mutex_free, krb5int_mutex_lock,Ken Raeburn2-0/+28
krb5int_mutex_unlock): Declare. (k5_mutex_lock, k5_mutex_unlock) [PLUGIN]: Redefine to call krb5int_ function versions. ticket: 3417 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17610 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25Check the export lists against the newly built shared library to make sure allKen Raeburn4-1/+63
the symbols we want to export are actually defined. GNU/Linux only, for the moment, but it ought to work on any system using the GNU version of nm, and not too hard to modify for other ways of extracting the exported symbols of a library. * util/export-check.pl: New file. * config/shlib.conf (*-*-linux*): Run export-check.pl after building a shared library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17609 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25* fake-addrinfo.c (krb5int_in6addr_any): Always defineKen Raeburn2-5/+3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17608 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25* threads.c (krb5int_mutex_alloc, krb5int_mutex_free, krb5int_mutex_lock,Ken Raeburn3-1/+53
krb5int_mutex_unlock): New functions. (krb5int_mutex_lock_update_stats, krb5int_mutex_unlock_update_stats, krb5int_mutex_report_stats): Always define, even if not doing anything. * libkrb5support.exports: Export the new functions. ticket: 3417 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17607 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-25* lib.in (binutils.versions): Put hidden symbol list after exported list,Ken Raeburn2-3/+10
because libkrb4 has a symbol starting with "__" in its export list. (osf1.exports): Rename file in a separate command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17606 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-18Include the support library when linking various test programs, because onKen Raeburn14-23/+54
Solaris, with the vendor compiler, we'll always get references to krb5int_pthread_loaded due to unused inline functions not being eliminated. (Also inclued it in dependencies, and use CC_LINK when it wasn't used before.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17592 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-18* aclocal.m4 (AC_KRB5_TCL_TRYOLD): Include $LIBS in $TCL_LIBSKen Raeburn2-4/+8
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17591 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-11Back out unwanted change to profile_tcl.cSam Hartman1-745/+311
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17586 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-11Remove krb5_callconv from non-exported internal functionSam Hartman3-312/+750
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17585 dc483132-0cff-0310-8789-dd5450dbe970
2006-01-06 * krb5-config.in: Cause libs output to match actual requiredTom Yu2-1/+6
ordering of libraries. ticket: 3320 target_version: 1.4.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17581 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-30KFW installation should not use impersonationJeffrey Altman2-2/+9
Do not use impersonation when installing the network provider in order to succeed on Vista. ticket: new component: windows target_version: 1.4.4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17580 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-30 * gc_frm_kdc.c: Rewrite to modularize significantly. (~400-lineTom Yu2-381/+752
functions do not deserve to live.) The outer loop no longer explicitly attempts the direct path to the target; that attempt has been folded into the inner loop. Remove some redundant credential lookups present in the old code. Treat unexpected realm referrals as soft errors, in case some intermediate KDC disagrees with client regarding a transit path. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17579 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-28 * gc_frm_kdc.c (krb5_get_cred_from_kdc_opt): Cause free_tgt andTom Yu2-12/+19
free_otgt to track the states of tgt and otgt correctly, to avoid a double-free condition which previously happened when this function returned to krb5_get_credentials(), which proceeded to free a previously freed TGT in the returned TGT list. ticket: 3313 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17578 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-22make dependKen Raeburn2-7/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17574 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-22Looks like the current Red Hat gcc on Athena emits duplicates and "./foo.h",Ken Raeburn2-1/+28
neither of which we've properly addressed before. * depfix.pl (uniquify): New subroutine. (do_subs_2): Use it. (do_subs): Fix substitution pattern for " ./". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17573 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-20Include krb5.h after k5-int.hSam Hartman2-1/+36
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17572 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-17Rename "modules" to "plugins", and fix up makefile variables etcKen Raeburn133-14/+31
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17565 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-17* Makefile.in (all-unix): Do depend on all-libs.Ken Raeburn4-3/+12
* test/Makefile.in (PROG_LIBPATH, DB_DEPLIB): Look for library in .. instead of $TOPLIBD. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17564 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-17* k5-thread.h (USE_PTHREAD_LOCK_ONLY_IF_LOADED): Define any timeKen Raeburn2-4/+6
HAVE_PRAGMA_WEAK_REF is defined. ticket: 3293 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17563 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-14KFW - Correct identity validation algorithmJeffrey Altman3-8/+2
Do not restrict the characters permitted in identity names ticket: new target_version: 1.4.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17557 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-13KFW 3.1 - Add missing include pathJeffrey Altman1-1/+2
The leashwin.h file needs to be accessible via the INCLUDE path. ticket: new tags: pullup target_version: 1.3.4 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17556 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-08Network Identity Manager - Fix module loading when en_US locale cannot be loadedJeffrey Altman1-3/+26
The identity manager is designed for internationalization. However, it only ships with modules for the en_US locale. Designing modules for other locales was beyond our the reach of available resources. This patch will force the use of en_US when modules matching the installed user and system locales cannot be found. ticket: new status: resolved target_version: 1.4.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17555 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-07* k5-thread.h (k5_mutex_lock_update_stats) [__GNUC__]: Use an inline function,Ken Raeburn2-1/+13
to avoid "statement with no effect" warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17554 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-06KFW 3.0 Final Network Identity Manager updatesJeffrey Altman92-866/+2059
Add new documentation files Add new icons Add "set default" functionality to the New Credentials dialog Remove inconsistencies in the Options configuration dialog Replace the menu bar so that it responds to Alt- and keyboard shortcuts Fix an --autoinit race condition many more things.... ticket: new target_version: 1.4.4 status: resolved tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17546 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-06KFW 3.0 Final Wix installer updatesJeffrey Altman3-8/+22
update for final release add new netidmgr documentation: user and development allow Leash to be used instead of NetIDMgr via a transform ticket: new target_version: 1.4.4 status: resolved tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17545 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-06KFW 3.0 Final NSIS installer updatesJeffrey Altman3-25/+15
update for release build add new documentation links for user and sdk remove --autoinit startup parameter as it interferes with the new registry based configuration ticket: new target_version: 1.4.4 status: resolved tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17544 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-02* Makefile.in (t_crc): Build against support library.Ken Raeburn2-3/+8
(check-unix): Use $(RUN_SETUP). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17543 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-02 * kdb5.c (kdb_load_library): Make dbpath_names static, to keep Solaris nativeKen Raeburn2-1/+11
compiler happier. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17537 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-02Update to latest imagesJeffrey Altman20-0/+0
ticket: 3263 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17536 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-02Network Identity Manager updates for KFW 3.0 Beta 3Jeffrey Altman32-210/+515
Fix the handling of case sensitive names being stored in the registry. Only apply case sensitive encoding logic to the keys below the NetIdMgr key. Fix the importing of credentials from MSLSA: Apply an ugly hack to krb5configcc.c that forces _WIN32_WINNT to 0x0501 for the one file so that the executable can be built as APPVER=5.0 and yet still gain access to balloon tips on XP and above. ticket: new component: windows status: open target_version: 1.4.4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17535 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-02KFW Network Provider updates for KFW 3.0 Beta 3Jeffrey Altman2-43/+44
Wrap debugging statements Fix bug in KFW_get_cred that prevents acquisition of credentials. ticket: new component: windows status: resolved target_version: 1.4.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17534 dc483132-0cff-0310-8789-dd5450dbe970
2005-12-02Wix MSI installer for KFW 3.0 Beta 3Jeffrey Altman10-96/+242
Add operating system version check to ensure it is not installed on Windows 95, 98, ME or NT 4.0 Break out the license text into its own file Restructure the installer to allow either NetIdMgr or Leash to be selected (by transform only) as the credentials manager. The default is to use NetIdMgr. ticket: new component: windows status: resolved target_version: 1.4.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17533 dc483132-0cff-0310-8789-dd5450dbe970