summaryrefslogtreecommitdiffstats
path: root/src/lib/kdb/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Remove ChangeLog files from the source tree. From now on, theSam Hartman2006-04-111-1194/+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
* * kdb5.c (kdb_unlock_lib_lock, kdb_destroy_lib_lock): Cast 0 to void to silenceKen Raeburn2006-04-101-0/+5
| | | | | | compiler warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17884 dc483132-0cff-0310-8789-dd5450dbe970
* set DEFS empty in more placesKen Raeburn2006-04-041-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17838 dc483132-0cff-0310-8789-dd5450dbe970
* Include autoconf.h (or include it earlier) in a bunch of files that areKen Raeburn2006-04-011-0/+4
| | | | | | currently depending on command-line macro settings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17825 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c: Don't include pthread.hKen Raeburn2006-03-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17711 dc483132-0cff-0310-8789-dd5450dbe970
* Note that caller must free result of conf_get_sectionSam Hartman2006-01-271-0/+1
| | | | 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-271-0/+4
| | | | | | Use these error codes to report plugin load errors. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17629 dc483132-0cff-0310-8789-dd5450dbe970
* Delete the rest of the support in the kdb library for doing locking onKen Raeburn2006-01-251-4/+8
| | | | | | | | | | 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-251-0/+9
| | | | | | | | | | | | | | 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
* * kdb5.c (kdb_load_library): Make dbpath_names static, to keep Solaris nativeKen Raeburn2005-12-021-0/+5
| | | | | | compiler happier. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17537 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Include support library. Don't include systemKen Raeburn2005-10-111-0/+3
| | | | | | db library (if in use). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17416 dc483132-0cff-0310-8789-dd5450dbe970
* * libkdb5.exports: Delete __kdb2_*, kdb2_*, and a bunch of other symbols thatKen Raeburn2005-10-111-0/+5
| | | | | | no longer exist in this library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17415 dc483132-0cff-0310-8789-dd5450dbe970
* partial doc on Novell changesKen Raeburn2005-10-111-17/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17414 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't pull in libdb on AIX any moreKen Raeburn2005-10-101-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17413 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DBDIR, DBOBJLISTS, DBOBJLISTS-sys, DBOBJLISTS-k5): VariablesKen Raeburn2005-10-041-0/+4
| | | | | | | deleted. (STOBJLISTS): Don't include DBOBJLISTS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17406 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c (kdb_get_conf_section): If the default realm is null, return null.Ken Raeburn2005-10-041-0/+7
| | | | | | (krb5_db_open): Don't pass null pointer to sprintf if default_realm is null. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17402 dc483132-0cff-0310-8789-dd5450dbe970
* Move lib/kdb/kdb_db2 to modules/kdb/db2, and patch up pathnames in variousKen Raeburn2005-09-221-0/+5
| | | | | | files to compensate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17395 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c (kdb_load_library): Look up db_modules>db_module_dir in config file,Ken Raeburn2005-08-171-0/+6
| | | | | | and use any indicated directories before the compiled-in directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17337 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c (kdb_get_library_name, kdb_load_library): Change default name to "db2".Ken Raeburn2005-07-061-0/+8
| | | | | | | | (kdb_get_library_name): On error reading from the config file, don't just use the default. (kdb_load_library): Don't add "lib" prefix on module name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17295 dc483132-0cff-0310-8789-dd5450dbe970
* * err_handle.c (krb5_err_key): Variable deleted.Ken Raeburn2005-07-021-0/+7
| | | | | | | (init_err_handling, krb5_set_err, krb5_get_err_string, krb5_clr_error): Use k5_ macros for thread-specific data instead of pthread versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17288 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_kdb, check, clean): Delete t_kdb referencesKen Raeburn2005-06-301-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17281 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Add $(DL_LIB)Ken Raeburn2005-06-211-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17269 dc483132-0cff-0310-8789-dd5450dbe970
* * err_handle.c, kdb5.c: Test ENABLE_THREADS, not just HAVE_PTHREAD_HKen Raeburn2005-06-211-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17268 dc483132-0cff-0310-8789-dd5450dbe970
* Novell Database Abstraction Layer merge.Ken Raeburn2005-06-211-0/+27
| | | | | | Will probably break things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17258 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c: Unused file deletedKen Raeburn2005-06-101-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17235 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c (krb5_db2_db_get_principal): Rename local variable "try"Ken Raeburn2004-07-091-0/+7
| | | | | | | to "trynum" because some systems (*cough*Tru64*cough*) turn on some exception handling support when thread support is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16572 dc483132-0cff-0310-8789-dd5450dbe970
* Change all uses of LIB in UNIX makefiles to LIBBASE, for better WindowsKen Raeburn2004-06-041-0/+4
| | | | | | | | | compatibility. (Windows nmake exports make variables into the environment, and LIB is treated by the Windows linker as a search path for libraries, thus breaking the linking on Windows of anything needing libraries from the search path in directories where we build libraries on UNIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16411 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_get_entry): Change local variable rom intEzra Peisach2004-05-251-0/+6
| | | | | | | to krb5_boolean to match prototype for as argument to krb5_c_enctype_compare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16361 dc483132-0cff-0310-8789-dd5450dbe970
* Add files containing the export lists used on UNIX, in each directoryKen Raeburn2004-04-221-0/+4
| | | | | | | | | | | | | | where we build a shared library, whether or not it gets installed. These should match the complete AIX export lists for a full build including krb4 support, and will eventually be used on other UNIX platforms, and cut down to just the symbols we actually want to export. We'll also have to add additional information, eventually, for versioning and such, but currently this is just a list of C symbol names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16259 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kdb.c (add_principal): Delete unused argument 'rseed'.Ken Raeburn2004-04-031-0/+3
| | | | | | (do_testing): Update callers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16230 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_get_entry): Don't use local variable "context" untilKen Raeburn2004-04-031-0/+5
| | | | | | after it's been set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16229 dc483132-0cff-0310-8789-dd5450dbe970
* add get_name callback for kdb keytab type, for debuggingKen Raeburn2003-12-131-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15910 dc483132-0cff-0310-8789-dd5450dbe970
* Cross realm checks can check beyond end of bufferEzra Peisach2003-05-221-0/+5
| | | | | | | | | | | * keytab.c (is_xrealm_tgt): Use strncmp instead of strcmp - as principal and realm name do not need to be null terminated. ticket: new tags: pullup target_version: 1.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15466 dc483132-0cff-0310-8789-dd5450dbe970
* don't install in-tree libdbTom Yu2003-04-021-0/+10
| | | | | | | | | | | | | Don't install the in-tree libdb. This requires that libkdb, etc. explicitly pull in the object files of the in-tree libdb if not using the system libdb. ticket: new status: open target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15320 dc483132-0cff-0310-8789-dd5450dbe970
* fix kadmind startup failure with krb4 vuln patchTom Yu2003-03-191-0/+5
| | | | | | | | | | | * keytab.c (krb5_ktkdb_get_entry): Do not perform the enctype comparison if the requested enctype is a wildcard. ticket: new status: open tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15295 dc483132-0cff-0310-8789-dd5450dbe970
* Disable krb4 cross-realm in krb524d and krb5kdc. Provide an option toSam Hartman2003-03-171-0/+8
| | | | | | | | | | | | | | | | | | | reenable (-X) which prints a warning that you are creating a security hole. Remove support for generating krb4 tickets encrypted using 3DES service keys as it is insecure. They are still accepted however. The KDc is much more strict about accepting only tickets that it would have issued in the current configuration. In particular if the KDC would choose some enctype for writing a TGT, other enctypes will not be accepted when using a TGT. Ticket: 1385 Target_Version: 1.3 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15286 dc483132-0cff-0310-8789-dd5450dbe970
* use kdb keytab for kadmindTom Yu2003-03-061-0/+18
| | | | | | | | | | | | | kadmind previously required a file-based keytab to support its use of gssapi. For ease of administration, a kdb-based keytab would be beneficial. This commit includes changes to the kdb library to support this goal, as well as actual changes in the kadmind itself. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15237 dc483132-0cff-0310-8789-dd5450dbe970
* Change comments to remove the note that we're going to redesign keyTom Yu2003-02-081-0/+5
| | | | | | | | storage architecture for 1.3. ticket: 1193 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15168 dc483132-0cff-0310-8789-dd5450dbe970
* Search for ar, ranlib, install in KRB5_BUILD_LIBRARY* macros rather thanKen Raeburn2003-01-101-0/+3
| | | | | | explicitly in directories using those macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15111 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-101-0/+4
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* * setup_mkey.c (krb5_db_setup_mkey_name): Use size_t instead ofEzra Peisach2002-12-231-0/+5
| | | | | | int for lengths. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15069 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check): Remove test_db before running testsKen Raeburn2002-12-191-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15057 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to allow compilation --with-system-db and --enable-sharedEzra Peisach2002-12-161-0/+5
| | | | | | (Do not depend on lib/db.so being present) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15049 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.c (krb5_db2_db_iterate_ext): Don't call bt_rseq if HAVE_BT_RSEQ isKen Raeburn2002-09-131-0/+5
| | | | | | undefined; instead, just return an error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14850 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-291-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_db2.h: Add prototype and rename forTom Yu2002-08-231-0/+12
| | | | | | | | | | | | | krb5_db2_db_iterate_ext(). * kdb_db2.c (krb5_db2_db_iterate_ext): New function; allow optional backwards or recursive (if btree) traversal of the database. * Makefile.in (LIBMINOR): Bump due to addition of krb5_db_iterate_ext(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14755 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_get_entry): For consistency, check forTom Yu2002-08-151-0/+5
| | | | | | DISALLOW_ALL_TIX and DISALLOW_SVR when looking up keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14727 dc483132-0cff-0310-8789-dd5450dbe970
* Apply patch toSam Hartman2002-08-091-0/+5
| | | | | | | initialize return value in kdb5_dbe_search_enctype so etype info works reliably git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14692 dc483132-0cff-0310-8789-dd5450dbe970