summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * libnover.in (PARSE_OBJLISTS): Die on warnings (including input file not ↵Ken Raeburn2005-10-133-2/+8
| | | | | | | | found). * lib.in (PARSE_OBJLISTS): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17422 dc483132-0cff-0310-8789-dd5450dbe970
* * ktutil_funcs.c (ktutil_add): Fix malloc size botches reported byTom Yu2005-10-122-2/+7
| | | | | | | | | | | | Will Fiveash. ticket: 3002 target_version: 1.4.3 tags: pullup component: krb5-admin version_reported: 1.4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17421 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c (return_etype_info2): Apply patch from WillTom Yu2005-10-122-1/+8
| | | | | | | | | | Fiveash to use reply key's enctype, not the long-term key's enctype, to avoid some enctype similarity problems. ticket: 3205 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17420 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.h, misc.c (schpw_util_wrapper): Rename fromTom Yu2005-10-124-13/+51
| | | | | | | | | | | | | | | | | | | chpass_util_wrapper to make functionality a little more obvious. * schpw.c (process_chpw_request): Update for rename of chpass_util_wrapper. * misc.c (randkey_principal_wrapper_3, schpw_util_wrapper) (chpass_principal_wrapper_3): Update for check_min_life. * misc.h, misc.c (check_min_life): Change to take return error string from KADM5_PASS_TOOSOON, adapted from patch from Shawn Emery. ticket: 3092 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17417 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Include support library. Don't include systemKen Raeburn2005-10-112-1/+4
| | | | | | 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-112-115/+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-102-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17413 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (resolve, addrinfo-test, fake-addrinfo-test): Don't use "$<"Ken Raeburn2005-10-072-3/+8
| | | | | | outside of implicit rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17412 dc483132-0cff-0310-8789-dd5450dbe970
* Reduce work done on a second "make" pass over the tree, by not regeneratingKen Raeburn2005-10-062-3/+6
| | | | | | | | | | lots of makefiles in the process of creating autoconf.h. I think the autoconf bug that was being worked around in 1996 has since been fixed. * Makefile.in (autoconf.stamp): When running config.status, only rebuild autoconf.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17411 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in parallel buildsKen Raeburn2005-10-062-1/+7
| | | | | | | * Makefile.in (DBSHOBJLISTS): New variable. ($(DBOBJLISTS-k5), $(DBSHOBJLISTS)): Depend on recursion step. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17410 dc483132-0cff-0310-8789-dd5450dbe970
* Move "make depend" check for built-in db2 into db2 module directoryKen Raeburn2005-10-054-9/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17409 dc483132-0cff-0310-8789-dd5450dbe970
* Move libdb2 makefile stuff down into db2 module subtree.Ken Raeburn2005-10-0510-22/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some steps towards making module build on Darwin, not there yet. * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJEXT and MAKE_DYNOBJ_COMMAND. (KRB5_LIB_AUX): Don't define _KDB5_STATIC_LINK. * config/libnover.in (darwin.exports): New target. ($(LIBBASE)$(DYNOBJEXT)): New target, instead of $(LIBBASE)$(SHLIBVEXT). (all-libs): Build $(LIBBASE)$(DYNOBJEXT). (install-shared): Use DYNOBJEXT. * config/pre.in (DYNOBJEXT, MAKE_DYNOBJ_COMMAND): New variables. * config/shlib.conf: Set DYNOBJEXT, MAKE_DYNOBJ_COMMAND to the SHLIB versions. For Darwin, set them to create a .so bundle, and set SHLIB_EXPORT_FILE_DEP to darwin.exports. * config/pre.in (DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys, DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB): Variables deleted. (KDB5_LIBS): Set to just $(KDB5_LIB). * modules/kdb/db2/Makefile.in (DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB, DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys): Variable definitions moved here from config/pre.in. (SHLIB_EXPLIBS): Only use gssrpc and KDB5_DB_LIB. * modules/kdb/db2/libdb2/test/Makefile.in (DB_LIB, DB_DEPLIB): Define here now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17408 dc483132-0cff-0310-8789-dd5450dbe970
* Move the db2 library to the site of its one use, the kdb-db2 module.Ken Raeburn2005-10-04123-26/+56
| | | | | | Update configuration scripts, pathname make variables, etc., accordingly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17407 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DBDIR, DBOBJLISTS, DBOBJLISTS-sys, DBOBJLISTS-k5): VariablesKen Raeburn2005-10-042-8/+5
| | | | | | | deleted. (STOBJLISTS): Don't include DBOBJLISTS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17406 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_EXPLIBS): Only use gssrpc.Ken Raeburn2005-10-044-324/+15
| | | | | | | | | | | | | * configure.in: Set enable_shared=yes. * kdb_xdr.c (krb5_dbe_create_key_data, krb5_dbe_update_tl_data, krb5_dbe_lookup_tl_data, krb5_dbe_update_last_pwd_change, krb5_dbe_lookup_last_pwd_change, krb5_dbe_update_mod_princ_data, krb5_dbe_lookup_mod_princ_data, krb5_dbe_search_enctype, krb5_dbe_find_enctype): Unused functions deleted. (safe_realloc): Unused macro deleted. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17405 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/init-v2.exp: Temporarily disabled test103Ken Raeburn2005-10-042-1/+8
| | | | | | | ticket: 3202 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17404 dc483132-0cff-0310-8789-dd5450dbe970
* * api.1/lock.exp: Temporarily disabled testsKen Raeburn2005-10-042-0/+9
| | | | | | | ticket: 3201 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17403 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5.c (kdb_get_conf_section): If the default realm is null, return null.Ken Raeburn2005-10-042-2/+12
| | | | | | (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
* * create/kdb5_mkdums.c (set_dbname_help): Set default realm and construct anKen Raeburn2005-10-044-20/+48
| | | | | | | argument vector describing the database pathname, before calling krb5_db_open. * verify/kdb5_verify.c (set_dbname_help): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17401 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_get.c (asn1_get_tag_2): Patch from Zhihong Zhang to properlyTom Yu2005-10-032-1/+6
| | | | | | | | | | handle tag numbers >= 30. ticket: 2542 target_version: 1.4.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17400 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_iters.c (glob_to_regexp): Increment pointer, not character,Tom Yu2005-09-272-1/+6
| | | | | | | | | when handling backslash quoting. Patch from K.G. Gokulavasan. ticket: 3190 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17399 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (fake-install): Do install in modules/kdb/db2. Caught by MichaelKen Raeburn2005-09-262-0/+6
| | | | | | Calmer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17398 dc483132-0cff-0310-8789-dd5450dbe970
* Move lib/kdb/kdb_db2 to modules/kdb/db2, and patch up pathnames in variousKen Raeburn2005-09-2219-22/+42
| | | | | | files to compensate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17395 dc483132-0cff-0310-8789-dd5450dbe970
* gss_release_buffer can leak zero-length buffersTom Yu2005-09-222-2/+6
| | | | | | | | | | | | * rel_buffer.c (generic_gss_release_buffer): Free buffer even if length is zero. This avoids memory leaks in some cases. ticket: new target_version: 1.4.3 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17388 dc483132-0cff-0310-8789-dd5450dbe970
* fix krb5_mk_rep subkey leaksTom Yu2005-09-222-0/+11
| | | | | | | | | | | | | * mk_req_ext.c (krb5int_generate_and_save_subkey): Check for and free pre-existing subkeys before clobbering the pointers. This fixes some memory leaks. ticket: new target_version: 1.4.3 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17387 dc483132-0cff-0310-8789-dd5450dbe970
* fix memory leaks in krb5_gss_import_name() and krb5_gss_inquire_cred()Tom Yu2005-09-223-2/+13
| | | | | | | | | | | | | | | | * import_name.c (krb5_gss_import_name): Add missing free of tmp in an error case to fix a memory leak. * inq_cred.c (krb5_gss_inquire_cred): Memory leak fixes: call krb5_gss_release_cred() with address of cred, not cred; add missing call to krb5_gss_release_cred() in an error case. ticket: new target_version: 1.4.3 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17386 dc483132-0cff-0310-8789-dd5450dbe970
* minor_status not cleared sometimes (gsstest nits)Tom Yu2005-09-213-4/+18
| | | | | | | | | | | | | * duplicate_name.c (krb5_gss_duplicate_name): * export_name.c (krb5_gss_export_name): Fix gsstest nit by clearing minor_status if no errors. ticket: new target_version: 1.4.3 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17385 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_gss_inquire_cred can copy out uninitialized pointerTom Yu2005-09-212-3/+15
| | | | | | | | | | | | | | | * inq_cred.c (krb5_gss_inquire_cred): Initialize ret_name to NULL. Only call kg_save_name() if ret_name is actually non-NULL. Return GSS_C_NO_NAME for now if no principal name in the cred. Reported by Christoph Weizen. ticket: new version_reported: 1.4.2 target_version: 1.4.3 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17384 dc483132-0cff-0310-8789-dd5450dbe970
* * dnsglue.c (USE_RES_NINIT): Fix braino: define to 1, not emptyTom Yu2005-09-162-1/+6
| | | | | | | | string. ticket: 3172 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17382 dc483132-0cff-0310-8789-dd5450dbe970
* * adm_proto.h (krb5_adm_connect, krb5_adm_disconnect, krb5_adm_dbent_to_proto,Ken Raeburn2005-09-152-84/+9
| | | | | | | | krb5_adm_proto_to_dbent, krb5_adm_proto_to_ktent, krb5_adm_ktent_to_proto, krb5_free_adm_data, krb5_send_adm_cmd, krb5_send_adm_reply, krb5_read_adm_cmd, krb5_read_adm_reply): Delete declarations, since none of these functions exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17381 dc483132-0cff-0310-8789-dd5450dbe970
* * fake_addrinfo.c (getaddrinfo): AI_NUMERICSERV fix for AIXKen Raeburn2005-09-092-1/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17380 dc483132-0cff-0310-8789-dd5450dbe970
* mine:Ken Raeburn2005-09-094-14/+67
| | | | | | | | | | | | | | | | | | | | | * fake-addrinfo-test.c: New file. * Makefile.in (check): Do pass arguments to addrinfo-test invocation added by Marc's patch. (fake-addrinfo-test): New target. (all): Depend on it. (SRCS): Fix typo in last change. Add fake-addrinfo-test.c. (OBJS): Add fake-addrinfo-test.o. from Marc Aurele La France: * Makefile.in: Build addrinfo-test. * addrinfo-test.c (main): 'numeric' -> 'numerichost'; Add -n option to set AI_NUMERICSERV (if available); print usage message when no arguments are given. ticket: 3176 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17379 dc483132-0cff-0310-8789-dd5450dbe970
* patch from Marc Aurele La France:Ken Raeburn2005-09-092-0/+34
| | | | | | | | | | | | * shlib.conf (case *-*-aix5.3*): Generate proper shared libraries acceptable to dlopen(3) (as in mechglue, for example). Allows for building both shared and static libraries in one run. Only done for AIX 5.3, but probably should be done for earlier versions. ticket: 3176 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17378 dc483132-0cff-0310-8789-dd5450dbe970
* Rework logic for using res_ninit() and friends to fall back toTom Yu2005-09-084-20/+35
| | | | | | | | | res_init() if res_ndestroy() isn't available. ticket: 3172 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17377 dc483132-0cff-0310-8789-dd5450dbe970
* update mkrel for svnTom Yu2005-09-082-5/+11
| | | | | | | | | | * mkrel: Update for svn. ticket: new target_version: 1.4.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17376 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Initialize can_get_root to yes.Ken Raeburn2005-09-082-0/+25
| | | | | | | (setup_root_shell): If can_get_root is "no", log a message and return, without making another attempt. On failing attempts, set can_get_root to "no". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17375 dc483132-0cff-0310-8789-dd5450dbe970
* Move KfM-specific build system components to KfM repositoryAlexandra Ellwood2005-09-0116-17844/+0
| | | | | | | | | | | | | | Moved KfM-specific build system components into the KfM repository to avoid conflicts between kfm and krb5 branch points and commit procedures. Only KfM developers have been editing these files anyway so there is no advantage to having them in the krb5 repository. ticket: new Component: krb5-build Target_Version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17367 dc483132-0cff-0310-8789-dd5450dbe970
* fix more executable permissionsTom Yu2005-08-2532-0/+0
| | | | | | | | | | Fix some more executable permissions missing from import. ticket: new tags: pullup target_version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17357 dc483132-0cff-0310-8789-dd5450dbe970
* Make kadmin testing scripts executableEzra Peisach2005-08-255-0/+0
| | | | | | | | | Mark the shell scripts used by lib/rpc and lib/kadm5 executable. ticket:new Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17356 dc483132-0cff-0310-8789-dd5450dbe970
* Set svn:executable for mkinstalldirs - needed during installEzra Peisach2005-08-241-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17354 dc483132-0cff-0310-8789-dd5450dbe970
* Delete .cvsignore files; contents have already been Sam Hartman2005-08-2477-245/+0
| | | | | | set on svn:ignore properties. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17353 dc483132-0cff-0310-8789-dd5450dbe970
* Make configuration scripts executableSam Hartman2005-08-244-0/+0
| | | | | | | | | | | | Mark the shell scripts under config and util as executable. Tom, this probably wants to be pulled up to the 1.3 branch as well. ticket: new Tags: pullup Target_Version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17352 dc483132-0cff-0310-8789-dd5450dbe970
* * t_ser.c (ser_kcontext_test): Remove statement declaring anEzra Peisach2005-08-232-1/+5
| | | | | | unused variable using a non-portable gcc extension. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17346 dc483132-0cff-0310-8789-dd5450dbe970
* Rename all RPC functions from _1 to _2 to match current program version number;Ken Raeburn2005-08-2012-168/+164
| | | | | | | likewise _1_svc to _2_svc in the kadmin server. Delete the RPC functions from the libkadm5clnt export list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17345 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in (configure): Depend on patchlevel.hKen Raeburn2005-08-202-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17344 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (PL_KRB5_MAJOR_RELEASE, PL_KRB5_MINOR_RELEASE, PL_KRB5_PATCHLEVEL,Ken Raeburn2005-08-203-14/+30
| | | | | | | | | | | PL_KRB5_RELTAIL): New macros, holding values extracted from patchlevel.h at autoconf time. (K5_VERSION): Define in terms of the PL_* macros. (K5_TOPDIR): If m4exit doesn't work, try builtin(m4exit,1). * configure.in: Set KRB5_VERSION from K5_VERSION, don't parse patchlevel.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17343 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-2048-25/+115
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (K5_AC_INIT, K5_VERSION, K5_BUGADDR): New macrosKen Raeburn2005-08-202-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17341 dc483132-0cff-0310-8789-dd5450dbe970
* Minor changes (shouldn't alter semantics) to increase similarity to code outputKen Raeburn2005-08-202-133/+109
| | | | | | | | | by modern Solaris rpcgen. * kadm_rpc.h: Remove krb5_ui_4 casts on RPC defined numbers. Remove argument names from RPC proc declarations. Reorder declarations, change whitespace. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17340 dc483132-0cff-0310-8789-dd5450dbe970