summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb
Commit message (Collapse)AuthorAgeFilesLines
...
* Free allocated serializers when releasing contextPaul Park1995-08-291-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6620 dc483132-0cff-0310-8789-dd5450dbe970
* Set magic number when initializing auth_contextPaul Park1995-08-291-104/+77
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6619 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number to krb5_auth_contextPaul Park1995-08-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6618 dc483132-0cff-0310-8789-dd5450dbe970
* Update file listTheodore Tso1995-08-242-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6587 dc483132-0cff-0310-8789-dd5450dbe970
* If there is an error looking up the key, make sure the keytab isTheodore Tso1995-08-072-6/+15
| | | | | | closed as part of the cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6445 dc483132-0cff-0310-8789-dd5450dbe970
* first pass attempt at cleaning up some gcc -Wall flamesTom Yu1995-08-052-10/+13
| | | | | | (see ChangeLogs for gory details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6424 dc483132-0cff-0310-8789-dd5450dbe970
* Find libcom_err in TOPLIBDPaul Park1995-07-071-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6264 dc483132-0cff-0310-8789-dd5450dbe970
* Describe previous changesPaul Park1995-07-071-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6263 dc483132-0cff-0310-8789-dd5450dbe970
* Use checksum verifierPaul Park1995-07-071-22/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6262 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddrTom Yu1995-07-065-4/+14
| | | | | | | | | | * rd_priv.c (krb5_rd_priv_basic): Pass context to os_localaddr. * rd_cred.c (krb5_rd_cred_basic): Pass context to os_localaddr. * get_in_tkt.c (krb5_get_in_tkt): Pass context to os_localaddr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6243 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-062-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* ----------------------------------------------------------------------Sam Hartman1995-07-022-7/+16
| | | | | | | | | | | automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- Correct logic in krb5_recvauth so that it returns an error reply if authentication fails. CVS: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6220 dc483132-0cff-0310-8789-dd5450dbe970
* Allow the credentials cache argument to be optional; allow it to beTheodore Tso1995-06-172-1/+8
| | | | | | | NULL, meaning that the credentials shouldn't be stored in a credentials cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6087 dc483132-0cff-0310-8789-dd5450dbe970
* A couple bug reports/patches from Ed Phillips (flaregun@udel.edu)Chris Provenzano1995-06-124-33/+54
| | | | | | | | | | | | * in_tkt_ktb.c (keytab_keyproc()): Fix memory leak. * recvauth.c (krb5_recvauth()): Don't open a new rcache if the auth_context already has one. * auth_con.c (krb5_auth_con_free()): Close rcache is the auth_context has one set. * auth_con.c (krb5_auth_con_getrcache()): Return pointer to the rcache set in the auth_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6043 dc483132-0cff-0310-8789-dd5450dbe970
* definition of krb5_auth_context to a pointer, sizeof(krb5_auth_context)Ezra Peisach1995-06-112-1/+6
| | | | | | | | is only the size of the pointer - not the structure size! auth_con_init: Zero the entire auth_context... With the change in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6041 dc483132-0cff-0310-8789-dd5450dbe970
* changes to accomodate redefinition of krb5_auth_contextTom Yu1995-06-1117-39/+47
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6035 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_dec.c (krb5_rd_req_decoded): Fix -Wall nitsTheodore Tso1995-06-095-78/+13
| | | | | | | | | | configure.in: Remove standardized set of autoconf macros, which are now handled by CONFIG_RULES. Makefile.in, faddr_ordr.c: Remove faddr_ordr.c; its function, krb5_fulladdr_order, isn't used anywhere. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6011 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): fix typo (extra "context"Tom Yu1995-06-092-1/+6
| | | | | | argument passed to krb5_xfree) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5994 dc483132-0cff-0310-8789-dd5450dbe970
* Fix problem where the ticket field was assigned with a krb5_data,Theodore Tso1995-06-092-1/+7
| | | | | | which was then immediately freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5988 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up gcc -Wall flamesTheodore Tso1995-06-0836-376/+410
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5981 dc483132-0cff-0310-8789-dd5450dbe970
* Remove old CONFIG_FILE codeTheodore Tso1995-06-072-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5965 dc483132-0cff-0310-8789-dd5450dbe970
* Disabled some of the shared library stuff for the PCKeith Vetter1995-05-262-2/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5891 dc483132-0cff-0310-8789-dd5450dbe970
* Fix syntax error in freeing of keyblockEzra Peisach1995-05-252-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5871 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Add rules for building shared libraryTheodore Tso1995-05-241-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5869 dc483132-0cff-0310-8789-dd5450dbe970
* On an error, free the keyblockTheodore Tso1995-05-244-2/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5868 dc483132-0cff-0310-8789-dd5450dbe970
* Rearrange #include files so that krb5.h gets included first, so thatTheodore Tso1995-05-237-6/+14
| | | | | | | the debugging information can be more efficiently collapsed since the type numbers will be the same. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5853 dc483132-0cff-0310-8789-dd5450dbe970
* Increment remote_seq_number if KRB5_AUTH_CONTEXT_DO_SEQUENCE is setEzra Peisach1995-05-202-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5828 dc483132-0cff-0310-8789-dd5450dbe970
* Missing a "retval = " so errors in addresses were passingEzra Peisach1995-05-122-1/+5
| | | | | | successfully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5803 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cred.c (krb5_mk_cred()), mk_priv.c (krb5_mk_priv()),Chris Provenzano1995-05-117-12/+21
| | | | | | | | | * mk_safe.c (krb5_mk_safe()), rd_cred.c (krb5_rd_cred()), * rd_priv.c (krb5_rd_prev()), rd_safe.c (krb5_rd_safe()): Pass the contents pointer returned from krb5_make_fulladdr() to free() not the address of the pointer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5801 dc483132-0cff-0310-8789-dd5450dbe970
* Remove t_kerb and t_kerb.o on make cleanEzra Peisach1995-05-092-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5763 dc483132-0cff-0310-8789-dd5450dbe970
* Fix .Sanitize files to reflect new added filesTheodore Tso1995-05-051-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5736 dc483132-0cff-0310-8789-dd5450dbe970
* Fix spelling typoTheodore Tso1995-05-051-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5729 dc483132-0cff-0310-8789-dd5450dbe970
* conv_princ.c (krb5_425_conv_principal): Use new callingTheodore Tso1995-05-056-18/+193
| | | | | | | | | | | | | | | convention of krb5_get_realm_domain, which is that it returns the realm *without* the leading dot. Also use the profile code to look up individual instance conversions using [realms]/<realm>/v4_instance_convert/<inst> This allows special case handling of mit.edu and lithium.lcs.mit.edu. t_kerb.c: New file for testing krb library functions. Currently only tests krb5_425_conv_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5726 dc483132-0cff-0310-8789-dd5450dbe970
* Update Sanitize file to reflect file additions, deletionsTheodore Tso1995-05-041-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5721 dc483132-0cff-0310-8789-dd5450dbe970
* * recvauth.c, compat_recv.c (krb5_recvauth()):Chris Provenzano1995-05-033-5/+9
| | | | | | | * compat_recv.c (krb5_compat_recvauth()): No longer needs the rc_type arg. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5706 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lots of typos in krb5_make_fulladdrs() patch. (Lots of places whereTheodore Tso1995-05-035-55/+7
| | | | | | remote_addr was used where remote_port should have been used instead.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5687 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), mk_safe.c (mk_safe()),Chris Provenzano1995-05-027-79/+150
| | | | | | | * rd_cred.c (rd_cred()), rd_priv.c (rd_priv()), rd_safe.c (rd_safe()): Don't call krb5_make_fulladdrs() if a port isn't specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5684 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_con.c (krb5_auth_con_free()) :Chris Provenzano1995-05-0112-45/+343
| | | | | | | | | | | | | | | | | Free all the data associated with the auth_context. * auth_con.c (krb5_auth_con_setkey()) : Removed. * mk_rep.c (mk_rep()), The krb5_mk_rep() routine must always encode the data in the keyblock of the ticket, not the subkey. * cleanup.h, auth_con.c (krb5_auth_con_setports()) : Added. * auth_con.h, mk_cred.c (mk_cred()), mk_priv.c (mk_priv()), * mk_safe.c (mk_safe()), rd_cred.c (rd_cred()), * rd_priv.c (rd_priv()), rd_safe.c (rd_safe()) : Changes to auth_context to better support full addresses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5677 dc483132-0cff-0310-8789-dd5450dbe970
* Fix fencepost error which caused an access beyond the allocated memoryTheodore Tso1995-04-292-1/+4
| | | | | | of piece->data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5658 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_free_priv_enc_part to free the entire privenc_msg structureTheodore Tso1995-04-292-6/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5655 dc483132-0cff-0310-8789-dd5450dbe970
* Remove adm_rw from libkrb5Paul Park1995-04-284-527/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5619 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (krb5_free_context): Extra semicolon meant the etypesTheodore Tso1995-04-282-1/+6
| | | | | | field in the context was never being freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5606 dc483132-0cff-0310-8789-dd5450dbe970
* * send_tgs.c (krb5_send_tgs()), gc_via_tkt.c (krb5_get_cred_via_tkt()):Chris Provenzano1995-04-283-15/+13
| | | | | | Removed krb5_cksumtype argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5595 dc483132-0cff-0310-8789-dd5450dbe970
* I don't know why it didn't get removed the last time I triedChris Provenzano1995-04-281-222/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5593 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_con.c (krb5_auth_con_getaddrs() and krb5_auth_con_getflags()):Chris Provenzano1995-04-283-2/+65
| | | | | | | | Added for completeness. * mk_req_ext.c (krb5_mk_req_extended()) : Don't send the AP_OPTS_USE_SUBKEY option over the wire. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5589 dc483132-0cff-0310-8789-dd5450dbe970
* Fixes so that the Unix changes no longer breaks on the PCKeith Vetter1995-04-284-10/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5587 dc483132-0cff-0310-8789-dd5450dbe970
* Add entry for yesterdays checkinPaul Park1995-04-271-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5576 dc483132-0cff-0310-8789-dd5450dbe970
* Fix mk_priv and mk_safe to work without DO_TIMEPaul Park1995-04-271-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5572 dc483132-0cff-0310-8789-dd5450dbe970
* Clear replaydata block before calling mk_safe_basicPaul Park1995-04-271-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5571 dc483132-0cff-0310-8789-dd5450dbe970
* Back out previous changes here, replace them with more correct changePaul Park1995-04-271-8/+12
| | | | | | of clearing the replaydata block before calling mk_priv_basic. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5570 dc483132-0cff-0310-8789-dd5450dbe970