summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * asn1_k_decode.c (asn1_decode_krb5_flags): Modify to deal withTom Yu1998-12-042-7/+22
| | | | | | | | BIT STRING values that are not exactly 32 bits. Throw away bits beyond number 31 in a bit string for now. Deal with masking out unused bits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11055 dc483132-0cff-0310-8789-dd5450dbe970
* Use $() instead of ${}, which doesn't work for MakefilesTheodore Tso1998-12-021-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11053 dc483132-0cff-0310-8789-dd5450dbe970
* More Windows compatibility fixesScott McGuire1998-11-253-28/+76
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11047 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_create_principal):Tom Yu1998-11-172-3/+12
| | | | | | | | (kadm5_chpass_principal): (kadm5_randkey_principal): Fix up for new calling conventions of dbe_crk and dbe_cpw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11046 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_cpw.c (krb5_dbe_crk):Tom Yu1998-11-172-8/+38
| | | | | | | (krb5_dbe_cpw): Add "keepold" boolean argument to indicate whether to retain old keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11045 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-133-1/+10
| | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Add test for the fcntl.h header file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11028 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-132-1/+9
| | | | | | | | | | | to buildtop and thisconfigdir, respectively.) Also added a note to the ChangeLog indicating that we changed lock_file.c to check for HAVE_FCNTL_H and defined(F_SETLKW) and defined(F_RDLCK) instead of POSIX_FILE_LOCKS (so we can get rid of a non-standard autoconf symbol.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11027 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-135-58/+45
| | | | | | | | | | | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Remove KRB5_POSIX_LOCKS test. win_store.c (krb__get_srvtabname): g_cnffile.c: Use krb5__krb4_context instead of init'ing and free'ing a krb5_context each time we need to read data from the configuration file. We also define krb5__krb4_context in g_cnnfile.c, since it's a likely that any use of the krb4 library will pull in that file. tf_util.c (tf_init): Use krb5_lock_file instead of trying to roll our own flock emulation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11026 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug where if the fcntl-style lock succeeded, we should returnTheodore Tso1998-11-132-2/+13
| | | | | | immediately instead of trying to do flock-style locking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11024 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (STLIBOBJS, OBJS, SRCS): Restore des.cTom Yu1998-11-123-6/+15
| | | | | | | * des.c: Restore des_ecb_encrypt and make it use the cbc interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11022 dc483132-0cff-0310-8789-dd5450dbe970
* Fixes to build out of source treeEzra Peisach1998-11-064-5/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11020 dc483132-0cff-0310-8789-dd5450dbe970
* * k5unseal.c (kg2_unwrap_integ): Handle case of malloc(0)Ezra Peisach1998-11-062-13/+20
| | | | | | returning NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11018 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed filename uniqueness problems by renaming all of the *.c filesTheodore Tso1998-11-055-3/+5
| | | | | | to be hash_*.c files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11017 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed places where code didn't follow CCache API. Integrated some stuff ↵Scott McGuire1998-11-053-60/+79
| | | | | | from Windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11016 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure filenames are unique across all of the krb5 directories. RenamedTheodore Tso1998-11-059-12/+13
| | | | | | all of the */encrypt.c and */decrypt.c files to {dk,raw,old}_{en,de}crypt.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11014 dc483132-0cff-0310-8789-dd5450dbe970
* lock_file.c (krb5_lock_file): Move the flock() fallback code fromTheodore Tso1998-11-032-23/+49
| | | | | | | | | fcc_maybe.c into krb5_lock_file(). This works around the bug that certain lossy operating systems (mainly from our good friends at SunSoft) do not support POSIX_FILE_LOCKS on all filesystems (namely tmpfs) but do support flock on those filesystems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11009 dc483132-0cff-0310-8789-dd5450dbe970
* * str_conv.c: Remove krb5_cksumtype_to_string after mergeTom Yu1998-11-032-27/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11008 dc483132-0cff-0310-8789-dd5450dbe970
* resurrectTom Yu1998-11-021-0/+203
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11007 dc483132-0cff-0310-8789-dd5450dbe970
* 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