summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* actually build afsstring2key.cMark Eichin1996-04-101-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7782 dc483132-0cff-0310-8789-dd5450dbe970
* Added afsstring2key.c to the list of files to be compiledTheodore Tso1996-04-102-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7781 dc483132-0cff-0310-8789-dd5450dbe970
* If make_ap_req() returns KRB5APP_TKT_EXPIRED, then returnTheodore Tso1996-04-102-0/+8
| | | | | | GSS_S_CREDENTIALS_EXPIRED as the major return code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7779 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_dec.c (krb5_rd_req_decoded): Move code which validated theTheodore Tso1996-04-105-15/+87
| | | | | | | | | | | | | ticket times to krb5_validate_times. valid_times.c (krb5_validate_times): New function which determines whether or not the ticket times are valid. mk_req_ext.c (krb5_mk_req_extended): Call krb5_validate_time() to determine whether or not the ticket in passed-in credentials is valid. If it isn't, return an error right away. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7777 dc483132-0cff-0310-8789-dd5450dbe970
* preauth.c: add SAM supportMark Eichin1996-04-093-17/+322
| | | | | | | | | str_conv.c: add AFS3 support init_ctx.c: add processing for default_tkt_enctypes, matching default_tgs_enctypes but client-side (so as not to hard code it, since hard coded values are usually wrong :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7773 dc483132-0cff-0310-8789-dd5450dbe970
* add sam-related error codesMark Eichin1996-04-092-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7772 dc483132-0cff-0310-8789-dd5450dbe970
* add sam encoders, decoders, including "optional string" macrosMark Eichin1996-04-095-0/+380
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7771 dc483132-0cff-0310-8789-dd5450dbe970
* add afs3 salt supportMark Eichin1996-04-091-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7770 dc483132-0cff-0310-8789-dd5450dbe970
* document the afs3 salt tagMark Eichin1996-04-091-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7769 dc483132-0cff-0310-8789-dd5450dbe970
* add afsstring2keyMark Eichin1996-04-093-1/+505
| | | | | | | hack des string2key to call it if salt.length is -1 initialize context in testsuite git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7768 dc483132-0cff-0310-8789-dd5450dbe970
* Inlined list of source files for SRCS and OBJS (for Macintosh build)Theodore Tso1996-04-022-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7748 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (SRCS): Inlined list of source files for SRCS and OBJSTheodore Tso1996-04-023-6/+18
| | | | | | | | | (for Macintosh build). k5mech.c: Added Macintosh #ifdef so that the #include path is right for the Macintosh. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7747 dc483132-0cff-0310-8789-dd5450dbe970
* Took the list of sources and object files in FSRCS, FOBJS, D3OBJS, andTheodore Tso1996-03-312-19/+34
| | | | | | | | D3SRCS, and inlined them into the OBJS and SRCS list. This is necessary so that the files are correctly picked up for the Macintosh build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7744 dc483132-0cff-0310-8789-dd5450dbe970
* Inlined the list of et-build source files in SRCS, so that they areTheodore Tso1996-03-312-1/+8
| | | | | | correctly included in the Mac build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7743 dc483132-0cff-0310-8789-dd5450dbe970
* Removed crctest.c from the SRCS list, since it's only a test programTheodore Tso1996-03-312-1/+6
| | | | | | and it confuses the Macintosh build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7742 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed comments describing the various checksum types. (Added numbers,Theodore Tso1996-03-312-9/+15
| | | | | | and fixed a mistake in a description of an undefined checksum type.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7741 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: support des3-cbc-rawRichard Basch1996-03-292-1/+3
| | | | | | des3_md5.c: correct an abstraction violation git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7737 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for des3-cbc-raw (gssapi) and rsa-md5-des3Richard Basch1996-03-293-11/+49
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7736 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for ENCTYPE_DES3_CBC_RAW (gssapi)Richard Basch1996-03-295-4/+14
| | | | | | des_int.h: added support for CKSUMTYPE_RSA_MD5_DES3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7735 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for CKSUMTYPE_RSA_MD5_DES3Richard Basch1996-03-292-0/+61
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7734 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for ENCTYPE_DES3_CBC_RAW (gssapi)Richard Basch1996-03-291-0/+104
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7732 dc483132-0cff-0310-8789-dd5450dbe970
* DNR.c: Replace eight-year-old version of this file with the latestTheodore Tso1996-03-283-147/+224
| | | | | | | | version from the Code Warrior MacTCP files. macsock.c: Use new MacTCP header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7729 dc483132-0cff-0310-8789-dd5450dbe970
* Use universal procedure pointers (UPP), which are required on the MacTheodore Tso1996-03-272-2/+18
| | | | | | Power PC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7722 dc483132-0cff-0310-8789-dd5450dbe970
* * in_tkt_ktb.c (keytab_keyproc): Do not check to see that theRichard Basch1996-03-272-59/+20
| | | | | | | | | | | | | | | enctype of the key is identical; there are several equivalent DES enctypes. * in_tkt_ktb.c (krb5_get_in_tkt_with_keytab): Removed the fancy logic to only request the keytypes that correspond to those in the keytab. There were too many fencepost conditions that could get you into trouble. Either it should be there and *fully* functional, or not in there at all. Besides, there are too many other components in Kerberos that expect the end-service to know all its keys that this sanity check is overkill. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7720 dc483132-0cff-0310-8789-dd5450dbe970
* Don't include <sys/types.h> mechglue.h will take care of this byTheodore Tso1996-03-272-1/+6
| | | | | | including gssapi.h, which will include sys/types.h if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7717 dc483132-0cff-0310-8789-dd5450dbe970
* Added imap service to the conversion list (it is used by some off-the-shelfRichard Basch1996-03-262-0/+7
| | | | | | imap mail packages). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7715 dc483132-0cff-0310-8789-dd5450dbe970
* Backed out the patch for const pointer reassignments; it was legal ANSIRichard Basch1996-03-251-9/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7709 dc483132-0cff-0310-8789-dd5450dbe970
* Fix multiple enctype bug: the enctype for the eblock used to encryptSam Hartman1996-03-242-2/+9
| | | | | | | | the kdc request used the enctype of the tgt, not of the session key. Considering that the request is encrypted in the session key of the tgt, this is incorrect. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7704 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_get_in_tkt_with_keytab(): only request keytypes that have correspondingRichard Basch1996-03-222-5/+57
| | | | | | entries in the keytab. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7702 dc483132-0cff-0310-8789-dd5450dbe970
* all des enctypes are equivalent (interim checkin until I create a functionRichard Basch1996-03-222-2/+27
| | | | | | to check the key equivalency of two enctypes). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7701 dc483132-0cff-0310-8789-dd5450dbe970
* bullet-proofing the code -- if the data contents are NULL, it would coredumpRichard Basch1996-03-222-12/+19
| | | | | | (I discovered this one because of another bug) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7700 dc483132-0cff-0310-8789-dd5450dbe970
* g_imp_sec_context.c (gss_import_sec_context):Theodore Tso1996-03-218-5/+23
| | | | | | | | | | | | g_exp_sec_context.c (gss_export_sec_context): Fix 16bit vs 32bit lint flame. g_glue.c, g_initialize.c: Add include of string.h, as it is needed. g_acquire_cred.c, g_inq_cred.c: Add include of time.h g_rel_oid_set.c (gss_release_oid_set): Removed unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7695 dc483132-0cff-0310-8789-dd5450dbe970
* Don't compile this procedure, since it's not used. The mechanism glueTheodore Tso1996-03-212-0/+10
| | | | | | layer uses the krb5_gss_internal_relase_oid() function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7694 dc483132-0cff-0310-8789-dd5450dbe970
* walk_rtree.c (krb5_walk_realm_tree): Fix 16bit vs. 32bit error.Theodore Tso1996-03-214-7/+18
| | | | | | | | | | | (cap_code should been a krb5_error_code, not an int!) mk_cred.c (krb5_mk_ncred_basic): Fix windows lint flame. get_in_tkt.c (krb5_get_in_tkt): Fix 16bit vs. 32bit error. (do_more should not have been an int!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7693 dc483132-0cff-0310-8789-dd5450dbe970
* Decode pa_type in the krb5_pa_data structure as a krb5_int32, since itTheodore Tso1996-03-212-2/+7
| | | | | | | | is now type krb5_preauthtype. Decode etype in the krb5_etype_info_entry as krb5_enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7691 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype of krb5_scc_skip_header to fix Windows lint flamesTheodore Tso1996-03-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7690 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype of krb5_fcc_skip_header to fix Windows lint flamesTheodore Tso1996-03-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7689 dc483132-0cff-0310-8789-dd5450dbe970
* Fix 16 bit vs. 32bit error in the encoded timestamp structureTheodore Tso1996-03-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7688 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Windows lint flames. (16bit vs. 32bit issues)Theodore Tso1996-03-213-8/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7687 dc483132-0cff-0310-8789-dd5450dbe970
* Comment out #ident line. This causes the Macintosh C compilerTheodore Tso1996-03-212-2/+9
| | | | | | | indigestion. Remove #include of gssapi/gssapi.h, since that gets included by gssapiP_generic.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7686 dc483132-0cff-0310-8789-dd5450dbe970
* mechglue.h: Don't include <sys/types.h>; it's included if necessary inTheodore Tso1996-03-2130-35/+50
| | | | | | | | | | | | | | | | | gssapi/gssapi.h. On a Macintosh, #include gssapi.h instead of gssapi/gssapi.h. g_accept_sec_context.c, g_acquire_cred.c, g_compare_name.c, g_context_time.c, g_delete_sec_context.c, g_dsp_name.c, g_dsp_status.c, g_exp_sec_context.c, g_glue.c, g_imp_name.c, g_imp_sec_context.c, g_indicate_mechs.c, g_init_sec_context.c, g_initialize.c, g_inq_context.c, g_inq_cred.c, g_inq_names.c, g_process_context.c, g_rel_buffer.c, g_rel_cred.c, g_rel_name.c, g_rel_oid_set.c, g_seal.c, g_sign.c, g_unseal.c, g_verify.c, gssd_pname_to_uid.c, mechglue.h, mglueP.h: Comment out #ident line. This causes the Macintosh C compiler indigestion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7685 dc483132-0cff-0310-8789-dd5450dbe970
* * des_crc.c (mit_des_crc_decrypt_func): Add const to pointerEzra Peisach1996-03-203-1/+9
| | | | | | | | | cast for suncc warning. Update .Saintize as well to reflect reality git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7678 dc483132-0cff-0310-8789-dd5450dbe970
* * new_rn_key.c (mit_des_generate_random_block): Add const keywrodEzra Peisach1996-03-203-2/+15
| | | | | | to cast for suncc warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7677 dc483132-0cff-0310-8789-dd5450dbe970
* ustime.c was renamed to c_ustime.cEzra Peisach1996-03-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7676 dc483132-0cff-0310-8789-dd5450dbe970
* Add keytab.cEzra Peisach1996-03-201-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7675 dc483132-0cff-0310-8789-dd5450dbe970
* Add new .Sanitize fileEzra Peisach1996-03-201-0/+71
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7674 dc483132-0cff-0310-8789-dd5450dbe970
* Synchronize .Sanitize with current realityEzra Peisach1996-03-203-5/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7673 dc483132-0cff-0310-8789-dd5450dbe970
* * tf_util.c (tf_get_cred): Issue date is written out as a long,Ezra Peisach1996-03-192-1/+8
| | | | | | | | | | | | read back in as same. I have kept the size as a long to be compatible with the Cygnus V4 distribution. The problem was introduced when we changed the include/kerberosIV structures to use 32 bit ints for timestamps. So, under OSF/1, tf_util would write out a 64 bit issue date, and then try reading back in a 32 bit one. Since Cygnus uses sizeof(long) we will too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7667 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add KRB5_RUN_FLAGSEzra Peisach1996-03-199-10/+33
| | | | | | * Makefile.in: Use the run flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7665 dc483132-0cff-0310-8789-dd5450dbe970
* Back out last change and use a cast to avoid warnings.Ezra Peisach1996-03-192-4/+6
| | | | | | | Richard has indicated that come compilers get upset if you try to reassign a const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7659 dc483132-0cff-0310-8789-dd5450dbe970