summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: Test that regcomp actually worksKen Raeburn1996-04-305-7/+27
| | | | | | | | * Makefile.in (check-unix): Use $(RM). * t_an_to_ln.c (main): Print principal name when an error is detected. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7874 dc483132-0cff-0310-8789-dd5450dbe970
* log for mark's sam changes of 4/9Ken Raeburn1996-04-301-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7871 dc483132-0cff-0310-8789-dd5450dbe970
* For windows, mask off low 16 bits because Gradient DCE does thingsTheodore Tso1996-04-304-1/+57
| | | | | | wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7866 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (libcrypto.$(STEXT)): Remove before creatingKen Raeburn1996-04-302-0/+5
| | | | | | Temporary workaround to avoid getting multiple versions of .o files in libs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7865 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed a potentional null dereferenceRichard Basch1996-04-282-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7860 dc483132-0cff-0310-8789-dd5450dbe970
* Whitespace cleanupRichard Basch1996-04-251-11/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7858 dc483132-0cff-0310-8789-dd5450dbe970
* Added ftp and ecat to the list of services which should be converted.Theodore Tso1996-04-172-0/+8
| | | | | | | This really ought to be something that's configurable in the profile... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7822 dc483132-0cff-0310-8789-dd5450dbe970
* Don't declare open()Sam Hartman1996-04-152-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7814 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed MD5 routines to be preceded with krb5_Richard Basch1996-04-133-22/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7806 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to begin with krb5_ (like was done with MD5)Richard Basch1996-04-136-72/+77
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7805 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to be preceded with krb5_ (I ran into a namingRichard Basch1996-04-137-81/+86
| | | | | | | conflict with the standard MD5 library calls in another application, and this version has non-standard calling arguments.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7804 dc483132-0cff-0310-8789-dd5450dbe970
* On a Macintosh, turn on kdc_timesync and use the v4 credentials cacheTheodore Tso1996-04-122-2/+15
| | | | | | by default. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7802 dc483132-0cff-0310-8789-dd5450dbe970
* Move time offset code from stash_as_reply to verify_as_reply, and fixTheodore Tso1996-04-122-11/+19
| | | | | | it so that it actually works. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7801 dc483132-0cff-0310-8789-dd5450dbe970
* When doing the time offset adjustments, make sure the microsecondsTheodore Tso1996-04-122-0/+10
| | | | | | field doesn't go negative. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7800 dc483132-0cff-0310-8789-dd5450dbe970
* Integrated OpenVision's changes into the most recent MIT code. ThisMarc Horowitz1996-04-123-0/+330
| | | | | | | revision is what I'd call the easy stuff. Some more controversial stuff remains to be done, which is why I'm doing a checkin now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7797 dc483132-0cff-0310-8789-dd5450dbe970
* Return GSS_S_CRED_UNAVAIL on if krb5_cc_set_flags() returns an error,Theodore Tso1996-04-122-1/+8
| | | | | | | since that's the call that will return an error if the credentials files doesn't exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7794 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed code to correctly handle errors reported from the mechanismTheodore Tso1996-04-122-31/+47
| | | | | | layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7793 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the chronology of two of my previous checkinsRichard Basch1996-04-111-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7790 dc483132-0cff-0310-8789-dd5450dbe970
* Small fix in case anyone tries compiling without the keytab fallbackRichard Basch1996-04-111-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7786 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_svc_key.c (read_service_key): First try to read the V4Richard Basch1996-04-113-1/+78
| | | | | | | | service key from the V4 srvtab, and if it fails, try the keytab. A * instance will be translated into the default instance component (usually the FQDN of the local hostname). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7785 dc483132-0cff-0310-8789-dd5450dbe970
* oops, ted already got itMark Eichin1996-04-101-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7783 dc483132-0cff-0310-8789-dd5450dbe970
* 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