summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
* | 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
* | 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
* | 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
* | 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
* | 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
* | Export krb5_gss_register_acceptor_identity in KFWJeffrey Altman2006-06-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | krb5_gss_register_acceptor_identity is a gss krb5 extension that is part of the public ABI. It does not have a gss_krb5_* name due to historical reasons. Instead there is a gss_krb5_register_acceptor_identity macro that uses this export. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18163 dc483132-0cff-0310-8789-dd5450dbe970
* | gssapi32.def: Export gss_inquire_mechs_for_name now thatJeffrey Altman2006-06-181-1/+1
| | | | | | | | | | | | | | | | it has been implemented. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18162 dc483132-0cff-0310-8789-dd5450dbe970
* | Change a bunch of calls to ctype macros (those cited by Jeff, and aKen Raeburn2006-06-168-17/+17
| | | | | | | | | | | | | | | | few others) to cast the character values to unsigned char. ticket: 3445 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18156 dc483132-0cff-0310-8789-dd5450dbe970
* | * src/lib/gssapi/libgssapi_krb5.exports: AddTom Yu2006-06-151-0/+1
| | | | | | | | | | | | gss_inquire_mechs_for_name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18143 dc483132-0cff-0310-8789-dd5450dbe970
* | * src/lib/gssapi/krb5/gssapiP_krb5.h: Restore prototype ofTom Yu2006-06-152-2/+5
| | | | | | | | | | | | | | | | | | krb5_gss_release_oid() for now. * src/lib/gssapi/krb5/rel_oid.c (krb5_gss_release_oid): Restore for now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18142 dc483132-0cff-0310-8789-dd5450dbe970
* | make dependTom Yu2006-06-155-11/+228
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18141 dc483132-0cff-0310-8789-dd5450dbe970
* | * src/lib/gssapi/mechglue/Makefile.in (mydir):Tom Yu2006-06-152-2/+2
| | | | | | | | | | | | | | * src/lib/gssapi/spnego/Makefile.in (mydir): Point to correct locations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18140 dc483132-0cff-0310-8789-dd5450dbe970
* | * rc_io.c (krb5_rc_io_move): Use same code for cygwin as for normalKen Raeburn2006-06-151-1/+1
| | | | | | | | | | | | | | | | Windows build. ticket: 1434 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18138 dc483132-0cff-0310-8789-dd5450dbe970
* | Some simple transformations:Ken Raeburn2006-06-141-151/+169
| | | | | | | | | | | | | | | | | | | | Use ANSI C function definitions instead of old K&R style. Rename local variable "res" to "clnt_res". Cast clnt_call arguments to xdrproc_t and caddr_t. This brings the code more in line with what current (RHEL) rpcgen would do. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18134 dc483132-0cff-0310-8789-dd5450dbe970
* | Merge from branches/mechglue. Initial integration of Sun-donatedTom Yu2006-06-1464-1742/+7963
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mechglue and SPNEGO implementations. Additional changes outside of src/lib/gssapi: * src/configure.in: Add lib/gssapi/mechglue and lib/gssapi/spnego to list of directories to output Makefile in. * src/lib/rpc/unit-test/rpc_test.0/expire.exp (expired): Update regexp for mechglue. * src/tests/dejagnu/krb-standalone/v4gssftp.exp (v4ftp_test): Update "Miscellaneous failure" regexp for mechglue. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18131 dc483132-0cff-0310-8789-dd5450dbe970
* | remove old cvs log commentKen Raeburn2006-06-141-65/+0
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18130 dc483132-0cff-0310-8789-dd5450dbe970
* | When NULL is passed into krb_get_in_pw_tkt, we only want to prompt onceRuss Allbery2006-06-142-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for the password rather than passing NULL along to each string to key function causing each to prompt independently. Modify krb_get_in_pw_tkt to call des_read_pw_string directly and then pass the resulting password into each string to key function as needed. Add a prototype of des_read_pw_string to krb4int.h since it's an exported function of libdes425 but isn't prototyped in des.h. Ticket: 2648 Version_Reported: 1.3.3 Component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18129 dc483132-0cff-0310-8789-dd5450dbe970
* | Prevent a library double-free and crash when a keytab is zero-length.Russ Allbery2006-06-131-1/+4
| | | | | | | | | | | | | | | | | | | | Based on a patch from Rainer Weikusat. Ticket: 3549 Version_Reported: 1.4.3 Component: krb5-libs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18120 dc483132-0cff-0310-8789-dd5450dbe970
* | Always initialize the output token in gss_init_sec_context as requiredRuss Allbery2006-06-121-0/+2
| | | | | | | | | | | | | | | | | | | | by RFC 2744 section 5.19. The krb5 code did this but the generic code didn't, causing a double-free in OpenSSH. Ticket: 3086 Version_Reported: 1.3.6 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18114 dc483132-0cff-0310-8789-dd5450dbe970
* | If krb5_gss_canonicalize_name is given GSS_C_NULL_OID as the mechanism,Russ Allbery2006-06-121-1/+2
| | | | | | | | | | | | | | | | | | | | assume krb5 using similar logic as other library functions rather than failing. Patch provided by Daniel Kahn Gillmor. Ticket: 3467 Version_Reported: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18113 dc483132-0cff-0310-8789-dd5450dbe970
* | Since it appears we don't actually set the conf_tgs_ktypes field except in thisKen Raeburn2006-06-101-14/+1
| | | | | | | | | | | | | | | | | | initial allocation of zero elements, it can be deleted, along with conf_tgs_ktypes_count and the associated code... ticket: 2786 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18105 dc483132-0cff-0310-8789-dd5450dbe970
* | Fix stupid typo in last changeKen Raeburn2006-06-101-1/+1
| | | | | | | | | | | | ticket: 3233 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18104 dc483132-0cff-0310-8789-dd5450dbe970
* | Use new macro FILE_OWNER_OK to examine uid of .k5login file.Ken Raeburn2006-06-101-1/+8
| | | | | | | | | | | | | | | | | | On Mac, define this to accept UNKNOWNUID as well as 0. ticket: 3233 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18103 dc483132-0cff-0310-8789-dd5450dbe970
* | Call krb5_set_error_message any time multiple errno values are translated toKen Raeburn2006-06-091-15/+59
| | | | | | | | | | | | one KRB5_RC_* error code, and a few other places. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18102 dc483132-0cff-0310-8789-dd5450dbe970
* | Free requested-enctype list when freeing up credentials. Reported by RainerKen Raeburn2006-06-081-0/+4
| | | | | | | | | | | | | | | | Weikusat. ticket: 3790 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18093 dc483132-0cff-0310-8789-dd5450dbe970
* | Fixed by having krb5_fcc_interpret call krb5_set_error_message to incorporateKen Raeburn2006-06-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | the lower-level error message into the message displayed by kinit, which has already been changed to use krb5_get_error_message. For example, "kinit(v5): Credentials cache I/O operation failed (No space left on device) when initializing cache". ticket: 3438 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18091 dc483132-0cff-0310-8789-dd5450dbe970
* | copyright noticeKen Raeburn2006-06-081-1/+27
| | | | | | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18090 dc483132-0cff-0310-8789-dd5450dbe970
* | Don't call k5_mutex_destroy when krb5_rc_resolve_type fails, because that'sKen Raeburn2006-06-081-2/+0
| | | | | | | | | | | | | | | | where the mutex would've been initialized. Reported by Shawn Emery. ticket: 3332 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18089 dc483132-0cff-0310-8789-dd5450dbe970
* | Avoid memory leak in error path. Reported by Rainer WeikusatKen Raeburn2006-06-081-1/+3
| | | | | | | | | | | | ticket: 3791 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18088 dc483132-0cff-0310-8789-dd5450dbe970
* | Updated CCAPI version of krb4int_save_credentials_addr toAlexandra Ellwood2006-06-061-1/+1
| | | | | | | | | | | | | | | | | | match the prototype in the headers. ticket: new target-version: 1.5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18084 dc483132-0cff-0310-8789-dd5450dbe970