summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* ressurect files missed by mergeTom Yu1998-11-0236-0/+3237
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11006 dc483132-0cff-0310-8789-dd5450dbe970
* add back mistakenly deleted filesMarc Horowitz1998-10-305-0/+881
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11003 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-30214-9745/+7933
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Merged in smcguire's fixesMiro Jurisic1998-10-232-35/+116
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10989 dc483132-0cff-0310-8789-dd5450dbe970
* We shouldn't try to use the CCache API on Unix systems. (The maze ofTheodore Tso1998-09-262-2/+7
| | | | | | #ifdef's was confusing.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10939 dc483132-0cff-0310-8789-dd5450dbe970
* resurrectingTom Yu1998-09-215-0/+1005
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10933 dc483132-0cff-0310-8789-dd5450dbe970
* oopTom Yu1998-09-211-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10932 dc483132-0cff-0310-8789-dd5450dbe970
* restoring deleted filesTom Yu1998-09-211-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10931 dc483132-0cff-0310-8789-dd5450dbe970
* fix incorrect versionTom Yu1998-09-211-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10930 dc483132-0cff-0310-8789-dd5450dbe970
* resurrect accidentally deleted filesTom Yu1998-09-211-0/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10929 dc483132-0cff-0310-8789-dd5450dbe970
* restore accidentally deleted filesTom Yu1998-09-219-0/+1031
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10928 dc483132-0cff-0310-8789-dd5450dbe970
* merge of tlyu-3des-k4Tom Yu1998-09-1915-2064/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10922 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefname.c (krb5_cc_default_name): Changed the PC version to use theTheodore Tso1998-09-012-19/+15
| | | | | | | CCache API by default. Removed the old Macintosh code that had been commented out. (If we need to ressurect it, we'll get it from CVS.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10904 dc483132-0cff-0310-8789-dd5450dbe970
* Both Macintoshes and Windows use the ccapi as the default credentialsTheodore Tso1998-09-011-3/+3
| | | | | | cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10903 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is usedTheodore Tso1998-09-012-1/+15
| | | | | | when building under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10901 dc483132-0cff-0310-8789-dd5450dbe970
* Add windows build instructions to build CCache API CacheTheodore Tso1998-08-242-3/+16
| | | | | | implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10878 dc483132-0cff-0310-8789-dd5450dbe970
* Changed Mac specific stuff to use CCache APIMiro Jurisic1998-08-212-9/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10861 dc483132-0cff-0310-8789-dd5450dbe970
* Added Frank's CCache API implementation and made it default on the MacMiro Jurisic1998-08-208-1/+802
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10857 dc483132-0cff-0310-8789-dd5450dbe970
* * conv_princ.c: Add some additional entries to sconv_list thatTom Yu1998-08-192-0/+27
| | | | | | were forgotten. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10851 dc483132-0cff-0310-8789-dd5450dbe970
* Mon Aug 10 17:51:59 1998 Matthew D Hancher <mdh@mit.edu>Matthew Hancher1998-08-102-2/+9
| | | | | | | | * rd_svc_key.c (read_service_key): Don't call krb5_kt_close() if krb5_kt_resolve() fails, so we don't segfault if the keytab name is invalid. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10800 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_safe.c (krb_rd_safe): Fix up call to quad_cksum()Tom Yu1998-08-074-2/+12
| | | | | | | | * mk_safe.c (krb_mk_safe): Fix up call to quad_cksum(). * tf_util.c (tf_init): Add call to getuid() to initialize me. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10787 dc483132-0cff-0310-8789-dd5450dbe970
* * wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix to round downTom Yu1998-07-252-1/+8
| | | | | | | | by 8 even if the req_output_size-ohlen is a multiple of 8, since the wrap token is always padded regardless of whether it's a mutiple of 8 bytes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10737 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-1724-36/+36
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c (krb5_change_password): Changes casts from char * toEzra Peisach1998-07-162-2/+7
| | | | | | | | krb5_octet * to match krb5_address structure elements. Essentially char * vs. unsigned char * warning... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10649 dc483132-0cff-0310-8789-dd5450dbe970
* * gic_pwd.c (krb5_get_init_creds_password): Remove unused argumentEzra Peisach1998-07-153-3/+10
| | | | | | | | | to sprintf(). * t_ref_kerb.out: Fix test case for zephyr principal to reflect addition to conv_princ.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10647 dc483132-0cff-0310-8789-dd5450dbe970
* Added magic incantations for Macontosh CFM-68KMiro Jurisic1998-07-141-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10633 dc483132-0cff-0310-8789-dd5450dbe970
* Thu Jul 9 19:35:01 1998 Matthew D Hancher <mdh@mit.edu>Matthew Hancher1998-07-092-20/+113
| | | | | | | | | | | * tf_util.c (tf_init): Fixed a potential race condition in the opening of v4 ticket files. tf_init() was calling lstat() followed by fopen(). Now it calls fopen() and then calls lstat() and fstat() to check file ownership and to check that it opened the file it thought it did. I patched the shared memory code similarly, but since nothing uses it I don't have a good way to test it properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10629 dc483132-0cff-0310-8789-dd5450dbe970
* These additions cause the KDC to react to SIGHUP by closing andGeoffrey King1998-07-082-0/+44
| | | | | | | | reopening its log files, so that logfile management utilities may now compress old logs and then kill -HUP the KDC process to get them to use fresh log files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10627 dc483132-0cff-0310-8789-dd5450dbe970
* conv_princ.c: Add additional commonly seen Kerberos V4 services to theTheodore Tso1998-07-072-0/+17
| | | | | | hard-coded list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10623 dc483132-0cff-0310-8789-dd5450dbe970
* * chk_trans.c: Fix up previous fix; short-circuit out whenTom Yu1998-07-072-2/+8
| | | | | | trans->length == 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10622 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_encode.c: Make the magic Macintosh EPOCH offset be 70 yearsTheodore Tso1998-07-022-1/+7
| | | | | | | instead of 66 years, since CodeWarrior Pro 2 now bases everything off of 1900. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10619 dc483132-0cff-0310-8789-dd5450dbe970
* k5unseal.c (kg_unseal): Clean up lint warningsTheodore Tso1998-07-026-29/+66
| | | | | | | | | | | | | | | accept_sec_context.c (krb5_gss_accept_sec_context): Don't return an error token if we can't provide the server name to the KRB5 error structure (because cred isn't initialized). gssapi_krb5.c, gssapi_krb5.h: Export the oid of static arrays as krb5_gss_oid_array since it's needed by gss_import_sec_context. import_sec_context.c: Fix up the OID of the mechanism in the imported security context so that we use the static OID if at all possible. This is needed since gss_inquire_context() must return a static OID. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10618 dc483132-0cff-0310-8789-dd5450dbe970
* oid_ops.c (generic_gss_release_oid): Recognize our own (new) "self"Theodore Tso1998-07-022-1/+9
| | | | | | | oids so that we don't free static oid's. (exported_name and nt_service_name_v2). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10616 dc483132-0cff-0310-8789-dd5450dbe970
* Update Macintosh changes to ChangeLog which Marshall made on 1/13/98Theodore Tso1998-07-021-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10613 dc483132-0cff-0310-8789-dd5450dbe970
* chk_trans.c (krb5_check_transited_list): Fix use of an uninitalizedTheodore Tso1998-07-012-2/+7
| | | | | | | variable; apparently the code was depending on the stack garbage being non-zero(!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10607 dc483132-0cff-0310-8789-dd5450dbe970
* Fix obvious bug where we were returning a pointer to an automaticTheodore Tso1998-07-012-1/+8
| | | | | | | variable which should have been a static. Fortunately nothing in the Mac tree was using inet_ntoa().... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10606 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt(). ByTom Yu1998-06-242-1/+18
| | | | | | | | | | | | | | | | | | taking the address of key, the 5th arg to pcbc_encrypt() was actually a (char **) cast to a (C_Block *). The reason for this is that a C_Block (actually a des_cblock) is typedef'ed from a char[8], which by being in the parameters of the definition of krb_mk_priv() becomes of type (char *). This means that using the address operator on key resulted in a pointer to a pointer to a char rather than a pointer to a des_cblock, which would have been innocuous in this case because pcbc_encrypt() actually takes a (des_cblock *) as the 5th (ivec) argument. The moral is to never pass around naked arrays as function arguments; instead, pass around pointers to arrays to avoid spontaneous conversions to pointers sneaking up. Note that CNS actually uses a (C_Block *) everywhere, and maybe we should as well. *whew* git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10603 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add ccache/memory as a directory to be recursively builtTheodore Tso1998-05-272-3/+17
| | | | | | by this makefile under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10597 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Update Makefile so that it can be built under WindowsTheodore Tso1998-05-272-2/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10596 dc483132-0cff-0310-8789-dd5450dbe970
* srv_rcache.c (krb5_get_server_rcache):Theodore Tso1998-05-273-2/+8
| | | | | | auth_con.c (krb5_auth_con_setrcache): Export this function in Windows DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10590 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_32.def: Change the DLL export list to includeTheodore Tso1998-05-272-5/+31
| | | | | | | | | krb5_auth_con_setrcache, krb5_get_server_rcache, krb5_cc_default_name, krb5_change_password, krb5_mcc_ops, and all of the Cygnus krb5_get_init_creds functions. Remove the old libkadm functions, as they are no longer available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10585 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (CLEANLIBS): Remove lib/kadm from the list of directoriesTheodore Tso1998-05-252-9/+7
| | | | | | built in the windows build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10583 dc483132-0cff-0310-8789-dd5450dbe970
* util_buffer.c (g_make_string_buffer): Don't include the trailingTheodore Tso1998-05-252-2/+7
| | | | | | NULL of the string in the gss buffer's length. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10580 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo which caused import_name to incorrectly import names producedTheodore Tso1998-05-252-1/+7
| | | | | | by gss_export_name(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10579 dc483132-0cff-0310-8789-dd5450dbe970
* copy_ccache.c (gss_krb5_copy_ccache): Fix bugs in copy_ccache.c, whichTheodore Tso1998-05-254-10/+19
| | | | | | | | | never compiled cleanly (since it wasn't added to the Makefile correctly originally). k5seal.c (make_seal_token): Clean up -Wall flames git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10578 dc483132-0cff-0310-8789-dd5450dbe970
* inq_cred.c (krb5_gss_inquire_cred):Theodore Tso1998-05-2510-37/+58
| | | | | | | | | | | | | inq_context.c (krb5_gss_inquire_context): import_name.c (krb5_gss_import_name): export_name.c (krb5_gss_export_name): disp_name.c (krb5_gss_display_name): context_time.c (krb5_gss_context_time): acquire_cred.c (krb5_gss_acquire_cred): Clean up -Wall flames. indicate_mechs.c (krb5_gss_indicate_mechs): Return a dynamic OID set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10577 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_order_free):Theodore Tso1998-05-255-14/+44
| | | | | | | | | | rel_oid_set.c (generic_gss_release_oid_set): disp_major_status.c: General lint cleanup. util_oid.c (g_copy_OID_set): Copy the OID set with entirely dynamic memory (don't alias the contents of the OID set). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10576 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_err.et: Clarify error for REALM_CANT_RESOLVETom Yu1998-05-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10574 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the date string printed uses 4 digit yearsTheodore Tso1998-05-142-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10568 dc483132-0cff-0310-8789-dd5450dbe970
* This is now obsolete; superceded by src/lib/kadm5Tom Yu1998-05-1117-6565/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10567 dc483132-0cff-0310-8789-dd5450dbe970