summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* remove some commented-out commandsKen Raeburn2006-03-261-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17774 dc483132-0cff-0310-8789-dd5450dbe970
* Updates for the Network Identity Manager User Guide for KFW 3.1.0Jeffrey Altman2006-03-212-0/+0
| | | | | | ticket: 3542 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17753 dc483132-0cff-0310-8789-dd5450dbe970
* This commit updates:Jeffrey Altman2006-03-2049-1544/+1642
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + the HTMLHelp formatted documentation + the build system to produce separate binaries for Windows 2000 and Windows XP and beyond. Separate binaries are required because we make heavy use of some of the UI features found in XP that don't exist in 2000. If we build only for XP then the binaries won't run on 2000 and if we build for 2000, then the functionality we desire for balloon text and the tracker windows does not work properly on XP or above. (Note for Vista we will need to build three sets of binaries if we want to take advantage of the new functionality that is available only there.) + Add more debugging to the krb4 plug-in and ensure that all checkboxes are initialized. + remove plugins/krb5/krb5util.c which is an unused file + Use mixed case for Alt, Ctrl and Shift text designators + Increment the build number to 1.1.0.1 + Plug a memory leak when dialogs are closed + Add a new Options->Appearance configuration page that can be used to allow user customized font selection. This page will also be used for custom color selection in a future release. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17752 dc483132-0cff-0310-8789-dd5450dbe970
* Quick hack to make it easy to run valgrind on many of our test cases.Ken Raeburn2006-03-163-2/+9
| | | | | | | | | Notably, though, the dejagnu tests will not include valgrind. * pre.in (MAYBE_VALGRIND): New variable. * shlib.conf (*-*-linux*): Use it in RUN_ENV. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17742 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: If tgetent can't be found, error outKen Raeburn2006-03-162-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17741 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (krb5.conf): New target. Use config-files/krb5.conf, butKen Raeburn2006-03-142-2/+14
| | | | | | | | add db_module_dir tag. (kdb_check): Depend on it. (RUN_SETUP): Use it for KRB5_CONFIG. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17739 dc483132-0cff-0310-8789-dd5450dbe970
* * plugins.c (krb5int_get_plugin_dir_data): If dirhandle is null or theKen Raeburn2006-03-132-5/+9
| | | | | | file pointer is null, return a one-element list containing just NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17738 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check-unix): Use RUN_SETUP for t_deltatKen Raeburn2006-03-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17737 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check-unix): Use RUN_SETUPKen Raeburn2006-03-132-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17736 dc483132-0cff-0310-8789-dd5450dbe970
* add new file windows/winlevel.h and update windows/version.rcJeffrey Altman2006-03-133-2/+42
| | | | | | | | | | to allow for a configurable KRB5_BUILDLEVEL. This will be used to distinguish binary files from the same version 1.4.3 but different releases (alpha-1, alpha-2, beta-1, beta-2, final) ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17735 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Put autoconf.stmp into include directoryKen Raeburn2006-03-112-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17733 dc483132-0cff-0310-8789-dd5450dbe970
* merge krb5 subdir change log dataKen Raeburn2006-03-112-1328/+1183
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17732 dc483132-0cff-0310-8789-dd5450dbe970
* temporary: change log from old krb5/ directoryKen Raeburn2006-03-111-0/+1326
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17731 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-11145-2945/+1450
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* - replace icon with the NetIDMgr iconJeffrey Altman2006-03-113-2/+10
| | | | | | | | | - replace references to Leash with NetIDMgr ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17729 dc483132-0cff-0310-8789-dd5450dbe970
* Add a new recursive target "generated-files-mac", for producing theKen Raeburn2006-03-1123-2/+76
| | | | | | | generated files that lxs wants to feed into the Mac build system. (First approximation, may want some fine tuning later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17728 dc483132-0cff-0310-8789-dd5450dbe970
* Build NetIDMgr Developer Documentation (requires doxygen)Jeffrey Altman2006-03-092-3/+3
| | | | | | | ticket: new tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17725 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (module_locate_server): Don't set cbdata.lp at initialization ↵Ken Raeburn2006-03-092-1/+7
| | | | | | time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17724 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for vsnprintf and vasprintf, and for positionalKen Raeburn2006-03-092-1/+30
| | | | | | specification support in printf format strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17723 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2006-03-086-100/+157
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17716 dc483132-0cff-0310-8789-dd5450dbe970
* * prot.h: Include k5-platform.h.Ken Raeburn2006-03-082-64/+28
| | | | | | | | | | | (krb4_swab16, krb4_swap32): Define in terms of SWAP16 and SWAP32, if they're defined. (KRB4_PUT32BE, KRB4_PUT32LE, KRB4_PUT16BE, KRB4_PUT16LE): Define to use store_{16,32}_{be,le}. (KRB4_GET32BE, KRB4_GET32LE, KRB4_GET16BE, KRB4_GET16LE): Define to use load_{16,32}_{be,le}. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17715 dc483132-0cff-0310-8789-dd5450dbe970
* missed a dlsym call removalKen Raeburn2006-03-081-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17714 dc483132-0cff-0310-8789-dd5450dbe970
* Oops. This should come closer to building on Windows..Ken Raeburn2006-03-082-18/+49
| | | | | | | | | | | | | * plugins.c: Only include dlfcn.h if USE_DLOPEN. (struct plugin_file_handle): Only include a pointer if USE_DLOPEN. (krb5int_open_plugin, krb5int_get_plugin_data, krb5int_close_plugin, krb5int_open_plugin_dir, krb5int_close_plugin_dir): Only use the dlopen interface if USE_DLOPEN is defined. (krb5int_get_plugin_dir_data, krb5int_get_plugin_dir_func): Use krb5int_get_plugin_data/func instead of dlsym. Drop some debugging code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17713 dc483132-0cff-0310-8789-dd5450dbe970
* 2006-03-07 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman2006-03-08115-3432/+9552
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nidmgr32.dll (1.0.2.1) - Attempting to obtain new credentials for a principal name that contains numbers may result in a 'Identity not specified' error. Fixed. - If an invalid identity name was specified, an 'Identity not specified' error is reported without specifying that the cause was an invalid name. Fixed: reports proper error. - Identity names were being validated at the application layer before being sent to the identity provider. This may cause valid names to be marked as invalid if the identity provider and the application disagree on what a valid name is. Fixed: identity name validation is solely a function of the identity provider. - Canonicalizing an identity name that contained certain characters failed due to a validation error. Fixed. - Possible deadlock in the new credentials dialog. (If one plugin tries to synchronize custom prompter values from the plugin thread, while the UI thread tries to obtain a lock on the new credentials data, a deadlock occurs.) Fixed. - State information for configuration panels may persist between two invocations of the configuration window. Fixed to clean up state information properly. - The UI library now has full support for custom actions and custom menus. - When there are queued alerts and a normal alert is shown, a 'next alert...' button appears in the alert which lets the user view the next queued alert. However, if the alert which is displayed requires the user to select a command button, selecting the 'next' button would be the equivalent of cancelling out of the alert and viewing the next one. The library was updated to not show the 'next' button if the alert requires user interaction. - Credential renewal on half-lifes is now supported as a configurable option. - Destroying all credentials on exiting netidmgr is a configurable option. - Debug logging to a file has been added netidmgr.exe (1.0.2.1) - Selecting 'Ok' in the configuration window didn't notify all the configuration panels to apply the changes. Fixed. - PgUp / PgDn / Shift+PgUp / Shift+PgDn keys now work as expected. - Root level configuration nodes in the Options dialog now also appear on the Options menu. Configuration nodes that are registered at the root level are automatically added to the menu. - The UI now has full support for custom actions and custom menus. - The UI does not automatically add submenus for actions which are associated with menus unless the declaration specifies that it should be rendered as a submenu. - When displaying alerts, the first button of the alert is always made the default. - 'Change summary' button in the configuration dialog was removed, since it was unused and unnecessary. - Ticket icons are displayed in the status column for all credentials. Clicking an icon opens the properties dialog for that credential. - The UI now has View by Type functionality - The UI now has Column selection and reorganization. The choice of columns and their order are preserved between restarts. - Handle multiple copies of NetIDMgr.exe being started with different version numbers. Higher version number wins. krb4cred.dll (1.0.2.1) - During new credentials acquisition, under some circumstances, the Kerberos 4 plugin would not notify NetIDMgr about the state of the Kerberos 4 ticket acquisition. This results in other plugins (such as AFS) which are depending on the feedback to fail. Fixed. krb5cred.dll (1.0.2.1) - If no password is entered while obtaining new credentials, a new TGT will not be obtained, but the new credentials operation will not fail if there already is a TGT. Added check to see if the TGT is expired and fail the operation if no valid TGT is found. - The identity provider can set the Krb5 CCName property for an identity incorrectly if there is more than one credential cache containing tickets for the same principal. Fixed. - When enumerating ccaches, krb5_cc_resolve was being called with the name of the ccache without a type prefix. Fixed. - Tracker control usability issues due to loss of focus. Fixed. - Realm Editor added. - Addressed tickets can be requested as in Leash All modules: - removed grayed out UI components that are not being backed by current functionality. - new icons - support for 64-bit Windows builds under Visual Studio 8 - proper versioning for language resources ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17712 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c: Don't include pthread.hKen Raeburn2006-03-082-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17711 dc483132-0cff-0310-8789-dd5450dbe970
* Enable compilation of little-endian unaligned load/store helperKen Raeburn2006-03-084-20/+16
| | | | | | | functions in k5-platform.h, and use them in kdb encoding/decoding macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17710 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2006-03-0843-376/+751
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17708 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.h, which is built after util/et, which is built after the supportKen Raeburn2006-03-0810-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
* Merge from plugin branchKen Raeburn2006-03-0744-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-07 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman2006-03-072-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
* * Makefile.in (clean-unix): Delete util/fakedestKen Raeburn2006-03-022-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17690 dc483132-0cff-0310-8789-dd5450dbe970
* don't check sizeof(int) at configure timeKen Raeburn2006-03-014-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17689 dc483132-0cff-0310-8789-dd5450dbe970
* add missing $(SCLIB) aka bufferoverflow.lib for 64-bit windowsJeffrey Altman2006-02-281-1/+1
| | | | | | ticket: 3415 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17681 dc483132-0cff-0310-8789-dd5450dbe970
* Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2006-02-2733-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
* Mark #else of KDB5_STATIC_LINK with ifdef nameSam Hartman2006-01-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17631 dc483132-0cff-0310-8789-dd5450dbe970
* Note that caller must free result of conf_get_sectionSam Hartman2006-01-272-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17630 dc483132-0cff-0310-8789-dd5450dbe970
* Define new error codes for errors loading dal plugins.Sam Hartman2006-01-274-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
* update copyright datesKen Raeburn2006-01-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17622 dc483132-0cff-0310-8789-dd5450dbe970
* add/update copyright notices for non-trivial code additions/changes in 2006Ken Raeburn2006-01-263-1/+49
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17621 dc483132-0cff-0310-8789-dd5450dbe970
* copyright updateKen Raeburn2006-01-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17620 dc483132-0cff-0310-8789-dd5450dbe970
* copyright noticesKen Raeburn2006-01-262-0/+48
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17619 dc483132-0cff-0310-8789-dd5450dbe970
* * export-check.pl: Accept 'S' in nm outputKen Raeburn2006-01-262-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17618 dc483132-0cff-0310-8789-dd5450dbe970
* * export-check.pl: Accept 'G' in nm outputKen Raeburn2006-01-262-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17617 dc483132-0cff-0310-8789-dd5450dbe970
* Delete the rest of the support in the kdb library for doing locking onKen Raeburn2006-01-254-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
* Remove the thread-safety flag from the kdb plugin interface. Instead,Ken Raeburn2006-01-257-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
* * k5-thread.h (krb5int_mutex_alloc, krb5int_mutex_free, krb5int_mutex_lock,Ken Raeburn2006-01-252-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
* Check the export lists against the newly built shared library to make sure allKen Raeburn2006-01-254-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
* * fake-addrinfo.c (krb5int_in6addr_any): Always defineKen Raeburn2006-01-252-5/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17608 dc483132-0cff-0310-8789-dd5450dbe970
* * threads.c (krb5int_mutex_alloc, krb5int_mutex_free, krb5int_mutex_lock,Ken Raeburn2006-01-253-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
* * lib.in (binutils.versions): Put hidden symbol list after exported list,Ken Raeburn2006-01-252-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