summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove ChangeLog files from the source tree. From now on, theSam Hartman2006-04-1151-29428/+0
| | | | | | | subversion commit log entry needs to include information that would have been in the changelog. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893 dc483132-0cff-0310-8789-dd5450dbe970
* Remove .Sanitize and .rconf files, no longer usedKen Raeburn2006-04-1127-1348/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17888 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (usage): Mark as "noreturn" under gccKen Raeburn2006-04-102-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17885 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c (kdb_unlock_lib_lock, kdb_destroy_lib_lock): Cast 0 to void to silenceKen Raeburn2006-04-102-2/+7
| | | | | | compiler warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17884 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_net.c (kadm_cli_send): Use 0, not NULL, when checking numericKen Raeburn2006-04-082-2/+5
| | | | | | | | | error codes. (Removes the two occurrences of "comparison between pointer and integer" in the build.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17872 dc483132-0cff-0310-8789-dd5450dbe970
* * fakeenv.c: Unused file deletedKen Raeburn2006-04-082-88/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17867 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2006-04-042-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17840 dc483132-0cff-0310-8789-dd5450dbe970
* more DEFS=Ken Raeburn2006-04-042-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17839 dc483132-0cff-0310-8789-dd5450dbe970
* set DEFS empty in more placesKen Raeburn2006-04-0424-0/+60
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17838 dc483132-0cff-0310-8789-dd5450dbe970
* * err_handle.c: Include autoconf.h and string.h.Ken Raeburn2006-04-043-0/+13
| | | | | | | | (HAVE_PTHREAD_H): Undefine. * Makefile.in (DEFS): Make empty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17837 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DEFS): Make empty.Ken Raeburn2006-04-043-0/+8
| | | | | | * stdcc_util.h: Include autoconf.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17836 dc483132-0cff-0310-8789-dd5450dbe970
* include autoconf.h in a few more placesKen Raeburn2006-04-036-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17835 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DEFS): Make emptyKen Raeburn2006-04-0218-2/+45
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17833 dc483132-0cff-0310-8789-dd5450dbe970
* don't use configure-defined macros on command line, use autoconf.h onlyKen Raeburn2006-04-0230-0/+75
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17830 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2006-04-011-48/+53
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17826 dc483132-0cff-0310-8789-dd5450dbe970
* Include autoconf.h (or include it earlier) in a bunch of files that areKen Raeburn2006-04-0127-3/+55
| | | | | | currently depending on command-line macro settings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17825 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Never define size_tKen Raeburn2006-04-012-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17821 dc483132-0cff-0310-8789-dd5450dbe970
* * kt_file.c (krb5_ktf_keytab_externalize, krb5_ktf_keytab_internalize): ReadKen Raeburn2006-03-312-21/+13
| | | | | | | and write file position as 64 bits rather than trying to figure out size of long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17817 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't test sizes of natural typesKen Raeburn2006-03-312-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17814 dc483132-0cff-0310-8789-dd5450dbe970
* Stop checking sizeof(type) at configure time.Ken Raeburn2006-03-316-19/+28
| | | | | | | Pull stdint.h and inttypes.h into gssapi.h if available. Don't use size/limit tests for choosing gss_[u]int32; just use [u]int32_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17813 dc483132-0cff-0310-8789-dd5450dbe970
* * util_token.c: Include limits.h.Ken Raeburn2006-03-312-3/+11
| | | | | | | (der_length_size, der_write_length): Test INT_MAX instead of SIZEOF_INT. (der_read_length): Test sizeof(int) instead of SIZEOF_INT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17812 dc483132-0cff-0310-8789-dd5450dbe970
* make depend, now with dependency sortingKen Raeburn2006-03-3134-3381/+3463
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17811 dc483132-0cff-0310-8789-dd5450dbe970
* * dyn.c (DynDelete, DynInsert, DynPut): Delete bcopy branches.Ken Raeburn2006-03-302-22/+5
| | | | | | (HAVE_MEMMOVE): Don't define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17807 dc483132-0cff-0310-8789-dd5450dbe970
* * aesopt.h: Include autoconf.hKen Raeburn2006-03-303-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17806 dc483132-0cff-0310-8789-dd5450dbe970
* * shs.c: Include shs.h firstKen Raeburn2006-03-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17805 dc483132-0cff-0310-8789-dd5450dbe970
* fill a paragraph in a comment because it's making my scripted parsing difficultKen Raeburn2006-03-301-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17798 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Always supply three arguments to AC_DEFINE_UNQUOTEDKen Raeburn2006-03-282-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17792 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2006-03-2731-960/+1162
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17786 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (include_xom): Define as "rem" instead of empty on WindowsKen Raeburn2006-03-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17784 dc483132-0cff-0310-8789-dd5450dbe970
* build and export set/reset_com_err_hook on windowsKen Raeburn2006-03-271-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17781 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_32.def: Add the new error-message functionsKen Raeburn2006-03-272-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17780 dc483132-0cff-0310-8789-dd5450dbe970
* Initial enhanced error message support, similar to what I sent toKen Raeburn2006-03-267-1/+103
| | | | | | | | | | | | | | | | krbdev except for some function renaming (krb5_free_error was already in use, so added _message to everything), and the context is allowed to be NULL (in which case we fall back to error_message() and storing no strings) to simplify some code. Low-level routines in the support library, using a private data structure; higher-level routines in libkrb5, using a krb5_context. Added error info strings to the KRB_ERR_GENERIC case in gc_via_tkt.c and the python sample service location plugin. Added code to kinit and kvno to look up and display the strings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17776 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
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-1163-1120/+1116
| | | | | | | | | | | | 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
* Add a new recursive target "generated-files-mac", for producing theKen Raeburn2006-03-114-0/+12
| | | | | | | 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
* * 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
* make dependKen Raeburn2006-03-084-91/+142
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17716 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
* make dependKen Raeburn2006-03-0831-336/+671
| | | | 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-082-1/+5
| | | | | | | | | | | | | 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-0712-177/+442
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2006-02-274-112/+130
| | | | | | | | | | | | | 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-261-0/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17621 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