summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix krb5_get_profile to create a new profile duplicating the list ofKen Raeburn2006-06-244-24/+38
| | | | | | | | | | | | | | | | files from the one in the provided context, instead of constructing and checking the file list from scratch. Uses a new function in the profile library, not put into the public API yet. * util/profile/prof_init.c (profile_copy): New function. * util/profile/prof_int.h (profile_copy): Declare it. * lib/krb5/os/Makefile.in (LOCALINCLUDES): Look in the profile source dir. * lib/krb5/os/init_os_ctx.c (krb5_get_profile): Replace all the previous code with a call to profile_copy. ticket: 3925 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18209 dc483132-0cff-0310-8789-dd5450dbe970
* fix typo in MS_BUG_TEST case in krb5_gss_glue.cTom Yu2006-06-231-1/+1
| | | | | | | | | | | | * src/lib/gssapi/krb5/krb5_gss_glue.c (krb5_mech_configs_hack): Fix typo in MS_BUG_TEST case. ticket: new target_version: 1.5 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18208 dc483132-0cff-0310-8789-dd5450dbe970
* fix signedness warnings in spnego_mech.cTom Yu2006-06-231-66/+82
| | | | | | | | | | | | * src/lib/gssapi/spnego/spnego_mech.c: Fix numerous signedness warnings. ticket: new target_version: 1.5 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18207 dc483132-0cff-0310-8789-dd5450dbe970
* * src/lib/krb5/krb/srv_rcache.c (krb5_get_server_rcache): ApplyTom Yu2006-06-221-4/+0
| | | | | | | | | | patch from Rainer Weikusat to avoid double-free when rc_resolve_full() fails due to misconfiguration. ticket: 3924 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18206 dc483132-0cff-0310-8789-dd5450dbe970
* * src/lib/kadm5/ovsec_glue.c:Tom Yu2006-06-224-0/+4
| | | | | | | | | | | | * src/lib/kadm5/unit-test/init-test.c: * src/lib/kadm5/unit-test/iter-test.c: * src/lib/kadm5/unit-test/lock-test.c: Include string.h to avoid implicit definitions. Patch from Michael Calmer. ticket: 3903 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18205 dc483132-0cff-0310-8789-dd5450dbe970
* * src/util/mkrel: Edit patchlevel.h before running reconfTom Yu2006-06-221-16/+16
| | | | | | | ticket: 3922 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18204 dc483132-0cff-0310-8789-dd5450dbe970
* (clean-unix): Use DEPTARGETS_CLEAN instead of DEPTARGETS.Ken Raeburn2006-06-221-1/+3
| | | | | | | (DEPTARGETS_CLEAN, DEPTARGETS_@top_srcdir@_.): New targets; define so that DEPTARGETS_CLEAN has the DEP_VERIFY targets only at the top level. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18203 dc483132-0cff-0310-8789-dd5450dbe970
* * src/lib/gssapi/mechglue/g_initialize.c: Remove unused variablesTom Yu2006-06-221-3/+1
| | | | | | | | | | and include gss_libinit.h to clean up warnings. Patch from Michael Calmer. ticket: 3918 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18202 dc483132-0cff-0310-8789-dd5450dbe970
* r18022@luminous: jaltman | 2006-05-19 05:18:37 -0400Sam Hartman2006-06-2267-4791/+13028
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates of portable CCAPI sources. All code compiles. r18025@luminous: jaltman | 2006-05-20 23:48:39 -0400 Construct an outline of a sample platform specific main.c Add ccs_serv_cleanup() routine. Currently does nothing. Correct field names used within the authorization check. r18026@luminous: jaltman | 2006-05-22 02:25:43 -0400 More byte order conversions in the server operations code. r18027@luminous: jaltman | 2006-05-22 13:12:49 -0400 Source files containing common routines used by both the client and the server. r18028@luminous: jaltman | 2006-05-22 13:17:07 -0400 Move msg.c and marshall.c to common library. Add dllmain.c which contains the Windows DllMain() entry point. This must be moved later to a Windows specific directory. Cleanup type usage and function name references. All that is missing now from the client DLL is a definition of cci_perform_rpc() which is the entry point to the IPC routine. r18029@luminous: jaltman | 2006-05-22 13:18:27 -0400 Move generic list functions to common/generic_lists.c so they can be used by both the client dll and the server. Fix type utilization in serv_ops.c r18083@luminous: jaltman | 2006-06-05 13:49:34 -0400 improved error handling r18094@luminous: jaltman | 2006-06-09 10:42:04 -0400 * corrections to windows rpc layer * corrections to network byte order conversions r18095@luminous: lxs | 2006-06-09 17:46:24 -0400 cci_msg_retrieve_blob(): changed argument 4 from void** to char** to suppress the warnings from gcc. r18096@luminous: lxs | 2006-06-09 17:55:32 -0400 moved enum cc_list_type to generic_lists.h to avoid "incomplete enum" warnings when compiling generic_lists.c r18097@luminous: lxs | 2006-06-09 17:56:15 -0400 Removed ancient Metrowerks tests from public headers. r18098@luminous: lxs | 2006-06-09 17:57:20 -0400 Include string.h to get memcpy, strlen, etc on BSD OSes. r18099@luminous: lxs | 2006-06-09 17:59:36 -0400 Added Mac OS X project file and Mach-IPC support code r18106@luminous: jaltman | 2006-06-12 09:56:31 -0400 remove duplicate header file and obsolete source file r18193@luminous: jaltman | 2006-06-22 12:57:14 -0400 This commit updates lib/krb5/ccache/ccapi to support CCAPI Version 3 and above. Specify -DUSE_CCAPI_V3=1 when compiling to use CCAPI Version 3 r18194@luminous: jaltman | 2006-06-22 12:58:37 -0400 Fix parameter name in cc_credentials_iterator_t next() r18195@luminous: jaltman | 2006-06-22 12:59:08 -0400 Add missing header r18196@luminous: jaltman | 2006-06-22 13:11:37 -0400 Use the old exported names for setup and shutdown r18197@luminous: jaltman | 2006-06-22 13:18:14 -0400 krb5_stdccv3_setup is ok === Please enter your commit message above this line === git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18200 dc483132-0cff-0310-8789-dd5450dbe970
| * Revert 18100 before merging onto trunkSam Hartman2006-06-2210-908/+0
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18199 dc483132-0cff-0310-8789-dd5450dbe970
| * krb5_stdccv3_setup is okJeffrey Altman2006-06-221-1/+2
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18197 dc483132-0cff-0310-8789-dd5450dbe970
| * Use the old exported names for setup and shutdownJeffrey Altman2006-06-221-2/+2
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18196 dc483132-0cff-0310-8789-dd5450dbe970
| * Add missing headerJeffrey Altman2006-06-221-0/+1
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18195 dc483132-0cff-0310-8789-dd5450dbe970
| * Fix parameter name in cc_credentials_iterator_t next()Jeffrey Altman2006-06-221-1/+1
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18194 dc483132-0cff-0310-8789-dd5450dbe970
| * This commit updates lib/krb5/ccache/ccapi to support CCAPI Version 3Jeffrey Altman2006-06-225-97/+1177
| | | | | | | | | | | | and above. Specify -DUSE_CCAPI_V3=1 when compiling to use CCAPI Version 3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18193 dc483132-0cff-0310-8789-dd5450dbe970
| * remove duplicate header file and obsolete source fileJeffrey Altman2006-06-122-440/+0
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18106 dc483132-0cff-0310-8789-dd5450dbe970
| * Temporarily copied KerberosIPC libary from the KfM repository for Alexandra Ellwood2006-06-0910-0/+908
| | | | | | | | | | | | | | testing purposes. Note that this will be removed when the CCAPI branch is merged onto the trunk. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18100 dc483132-0cff-0310-8789-dd5450dbe970
| * Added Mac OS X project file and Mach-IPC support codeAlexandra Ellwood2006-06-098-0/+4360
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18099 dc483132-0cff-0310-8789-dd5450dbe970
| * Include string.h to get memcpy, strlen, etc on BSD OSesAlexandra Ellwood2006-06-094-0/+4
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18098 dc483132-0cff-0310-8789-dd5450dbe970
| * Removed ancient Metrowerks tests from public headersAlexandra Ellwood2006-06-092-34/+11
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18097 dc483132-0cff-0310-8789-dd5450dbe970
| * moved enum cc_list_type to generic_lists.h to avoid "incomplete enum" Alexandra Ellwood2006-06-093-12/+7
| | | | | | | | | | | | warnings when compiling generic_lists.c git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18096 dc483132-0cff-0310-8789-dd5450dbe970
| * cci_msg_retrieve_blob(): changed argument 4 from void** to char** Alexandra Ellwood2006-06-092-2/+2
| | | | | | | | | | | | to suppress the warnings from gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18095 dc483132-0cff-0310-8789-dd5450dbe970
| * * corrections to windows rpc layerJeffrey Altman2006-06-095-40/+40
| | | | | | | | | | | | * corrections to network byte order conversions git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18094 dc483132-0cff-0310-8789-dd5450dbe970
| * improved error handlingJeffrey Altman2006-06-059-445/+840
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18083 dc483132-0cff-0310-8789-dd5450dbe970
| * more updatesJeffrey Altman2006-06-0520-75/+1118
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18082 dc483132-0cff-0310-8789-dd5450dbe970
| * Move generic list functions to common/generic_lists.cJeffrey Altman2006-05-222-341/+1
| | | | | | | | | | | | | | | | so they can be used by both the client dll and the server. Fix type utilization in serv_ops.c git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18029 dc483132-0cff-0310-8789-dd5450dbe970
| * Move msg.c and marshall.c to common libraryJeffrey Altman2006-05-2213-1113/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add dllmain.c which contains the Windows DllMain() entry point. This must be moved later to a Windows specific directory. Cleanup type usage and function name references. All that is missing now from the client DLL is a definition of cci_perform_rpc() which is the entry point to the IPC routine. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18028 dc483132-0cff-0310-8789-dd5450dbe970
| * Source files containing common routines used by both Jeffrey Altman2006-05-224-0/+1485
| | | | | | | | | | | | the client and the server. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18027 dc483132-0cff-0310-8789-dd5450dbe970
| * More byte order conversions in the server operations codeJeffrey Altman2006-05-221-109/+156
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18026 dc483132-0cff-0310-8789-dd5450dbe970
| * Construct an outline of a sample platform specific main.cJeffrey Altman2006-05-215-6/+71
| | | | | | | | | | | | | | | | Add ccs_serv_cleanup() routine. Currently does nothing. Correct field names used within the authorization check. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18025 dc483132-0cff-0310-8789-dd5450dbe970
| * Updates of portable CCAPI sources. All code compilesJeffrey Altman2006-05-1938-3951/+5556
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18022 dc483132-0cff-0310-8789-dd5450dbe970
| * This branch will hold development work on the portable CCAPIJeffrey Altman2006-05-190-0/+0
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18021 dc483132-0cff-0310-8789-dd5450dbe970
* | Apply (modified) patches from Michael Calmer to fix some warningsTom Yu2006-06-222-17/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/lib/gssapi/spnego/spnego_mech.c (get_req_flags): Remove unused var. (get_negTokenResp): Fix signedness bug. (make_spnego_tokenInit_msg): Remove unused vars (make_spnego_tokenTarg_msg): Initialize uninitialized vars. * src/lib/gssapi/spnego/gssapiP_spnego.h: Delete TWRITE_STR. ticket: 3905 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18198 dc483132-0cff-0310-8789-dd5450dbe970
* | * src/util/support/plugins.c (krb5int_open_plugin): Use RTLD_LOCALTom Yu2006-06-221-1/+6
| | | | | | | | | | | | | | | | | | instead of RTLD_GLOBAL. Use RTLD_GROUP if available. ticket: 3909 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18192 dc483132-0cff-0310-8789-dd5450dbe970
* | remove unimplemented/unused mechglue functionsTom Yu2006-06-218-407/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/lib/gssapi/mechglue/Makefile.in (SRCS, STLIBOBJS): Delete g_userok, gssd_pname_to_uid. * src/lib/gssapi/mechglue/mechglue.h: Delete gssd_pname_to_uid, gss_initialize. * src/lib/gssapi/mechglue/mglueP.h: Delete gssint_userok, gssd_pname_to_uid, gssint_get_mechanism_ext, gss_acquire_cred_with_password_sfct, gss_mechanism_ext. * src/lib/gssapi/g_userok.c: * src/lib/gssapi/g_indicate_mechs.c: * src/lib/gssapi/gen_oids.c: * src/lib/gssapi/gssd_pname_to_uid: Delete. * src/lib/gssapi/mechglue/g_initialize.c: Delete gssint_get_mechanism_ext. ticket: new target_version: 1.5 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18187 dc483132-0cff-0310-8789-dd5450dbe970
* | Spawn ftp client with "-d" and "-v" for better debuggingKen Raeburn2006-06-211-1/+1
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18186 dc483132-0cff-0310-8789-dd5450dbe970
* | cease export of krb5_gss_*Tom Yu2006-06-211-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/lib/gssapi/libgssapi_krb5.exports: Cease export of krb5 mechanism entry points which were once equivalent to GSS-API entry points. These were never public interfaces, and calling them directly now can cause problems. Also, cease export of some other internal symbols. ticket: new target_version: 1.5 tags: pullup component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18185 dc483132-0cff-0310-8789-dd5450dbe970
* | *sigh*Ken Raeburn2006-06-211-3/+3
| | | | | | | | | | | | | | | | Stupid typo in last change. ticket: 2759 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18184 dc483132-0cff-0310-8789-dd5450dbe970
* | (GET_HOST_BY_NAME, GET_HOST_BY_ADDR) [GETHOSTBYNAME_RETURNS_INT]: TestKen Raeburn2006-06-211-9/+11
| | | | | | | | | | | | | | | | | | | | | | the output hostent pointer as an additional way of checking for errors. Original patch from Nalin Dahyabhai, needed some tweaking to fit in current sources, especially as updated in ticket 3911. ticket: 2759 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18183 dc483132-0cff-0310-8789-dd5450dbe970
* | Revert part of previous changes: Move temporary values that don't needKen Raeburn2006-06-211-18/+23
| | | | | | | | | | | | | | | | longer storage duration, like error codes, back into GET_*_BY_* macros. ticket: 3911 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18182 dc483132-0cff-0310-8789-dd5450dbe970
* | Revert an untested change that wasn't supposed to go into this ticketKen Raeburn2006-06-201-1/+1
| | | | | | | | | | | | ticket: 18180 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18181 dc483132-0cff-0310-8789-dd5450dbe970
* | getaddrinfo code uses vars outside of storage durationKen Raeburn2006-06-202-83/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The calls to gethostbyname_r and friends were wrapped in macros that declared automatic variables for the auxiliary storage needed, but the pointers returned by the functions would be used outside of that scope, when the storage would no longer be valid. Changed the macro interfaces to define new types for the auxiliary storage, and add a new argument to the macros referring to that storage. Changed call sites accordingly. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18180 dc483132-0cff-0310-8789-dd5450dbe970
* | (kadmin_cpw): Don't crash if principal name is not given. Based on aKen Raeburn2006-06-201-4/+12
| | | | | | | | | | | | | | | | | | | | patch from S Rahul. (extended_com_err_fn): If error code is zero, don't fetch an error message. ticket: 3308 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18179 dc483132-0cff-0310-8789-dd5450dbe970
* | Document kpropd -a optionKen Raeburn2006-06-201-1/+9
| | | | | | | | | | | | ticket: 2087 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18178 dc483132-0cff-0310-8789-dd5450dbe970
* | whitespaceKen Raeburn2006-06-201-1/+1
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18177 dc483132-0cff-0310-8789-dd5450dbe970
* | fix parallel builds for libgssTom Yu2006-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * src/lib/gssapi/Makefile.in (SUBDIROBJLISTS): Add missing spnego directory. ticket: new target_version: 1.5 tags: pullup component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18176 dc483132-0cff-0310-8789-dd5450dbe970
* | In verify_krb_v4_tgt, use an unsigned KRB4_32 to store an address ratherRuss Allbery2006-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | than an unsigned long to avoid memcpying past the end of a structure on 64-bit platforms. Ticket: 581 Version_Reported: 1.0.5 Target_Version: 1.5 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18175 dc483132-0cff-0310-8789-dd5450dbe970
* | krb5-1.6-prereleaseTom Yu2006-06-201-3/+3
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18170 dc483132-0cff-0310-8789-dd5450dbe970
* | Pass in the correct value for the first argument of select (one largerRuss Allbery2006-06-194-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | than the largest file number in the select set) rather than some multiple of sizeof some struct. The latter is large enough accidentally work, but breaks on AIX. Map IPv4-mapped IPv6 addresses back to IPv4 in krshd for the purposes of connecting back to the remote system on AIX, since on AIX getnameinfo returns such addresses but connect won't accept them. Ticket: 3122 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18166 dc483132-0cff-0310-8789-dd5450dbe970
* | Make local const array of structures static tooKen Raeburn2006-06-191-1/+1
| | | | | | | | | | | | ticket: 3276 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18165 dc483132-0cff-0310-8789-dd5450dbe970