summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb
Commit message (Collapse)AuthorAgeFilesLines
...
* Change the type of krb5_context to include the pointerTheodore Tso1994-12-221-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4746 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for krb5_init_context and krb5_free_contextTheodore Tso1994-12-203-0/+71
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4742 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_dec.c (decrypt_authenticator): If the subkey doesn't exist,Theodore Tso1994-12-132-1/+7
| | | | | | don't try to set the subkey's etype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4729 dc483132-0cff-0310-8789-dd5450dbe970
* Set the principal's type and magic numberTheodore Tso1994-12-012-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4725 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Build the new test driver (t_walk_rtree.c) forTheodore Tso1994-12-015-1/+87
| | | | | | | | | | | | krb5_walk_realm_tree. walk_realm_tree.c (krb5_walk_realm_tree): Fix bug which occured when the client or the server is a subdomain of the other; walk_realm_tree would return the wrong answer, and suffer from memory access errors. unparse.c (krb5_unparse_name_ext): Quote the '/' and '@' characters properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4724 dc483132-0cff-0310-8789-dd5450dbe970
* Add appropriate help text for the --with-krb4 option. RemoveTheodore Tso1994-11-302-4/+6
| | | | | | ISODE_DEFS call, since ISODE_INCLUDES now defines ISODE automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4722 dc483132-0cff-0310-8789-dd5450dbe970
* Rename rd_cred and mk_cred to krb5_rd_cred and krb5_mk_cred. The APITheodore Tso1994-11-304-2/+239
| | | | | | | | | still needs to be changed, but let's get the namespace purity issue settled. Added krb5_get_for_creds() function. Again, the API is still up for grabs... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4716 dc483132-0cff-0310-8789-dd5450dbe970
* mk_req_ext.c (krb5_mk_req_extended): Sanitize how memory is freed inTheodore Tso1994-11-212-73/+65
| | | | | | | | | both error and normal cases, to remove memory leaks. mk_req_ext.c (krb5_mk_req_extended): Use the encryption type specified by the ticket to generate the authenticator. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4711 dc483132-0cff-0310-8789-dd5450dbe970
* encode_kdc.c (krb5_encode_kdc_rep): Now requires that theTheodore Tso1994-11-214-27/+40
| | | | | | | | | | | | | caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. encrypt_tk.c (krb5_encrypt_tkt_part): Now requires that the caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4710 dc483132-0cff-0310-8789-dd5450dbe970
* Set the encryption type of the session keyblock to be the type used toTheodore Tso1994-11-173-1/+12
| | | | | | encrypt the ticket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4667 dc483132-0cff-0310-8789-dd5450dbe970
* Check to make sure the subkey exists before setting its encryption typeTheodore Tso1994-11-171-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4666 dc483132-0cff-0310-8789-dd5450dbe970
* get_in_tkt (krb5_get_in_tkt): Set the encryption type of the sessionTheodore Tso1994-11-145-0/+404
| | | | | | | | | | keyblock to be the type used to encrypt the ticket. mk_cred.c, rd_cred.c: New routines for forwarding credentials --- note that the API is still subject to change! (Moved from telnet and bsd directories) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4659 dc483132-0cff-0310-8789-dd5450dbe970
* Set the encryption type in the keyblock information in the decryptedTheodore Tso1994-11-114-0/+17
| | | | | | | ticket/authenticator/rd_rep message to be the encryption type used to encrypt said message. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4652 dc483132-0cff-0310-8789-dd5450dbe970
* Use the documented interface for calling krb5_string_to_key()Theodore Tso1994-11-082-6/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4647 dc483132-0cff-0310-8789-dd5450dbe970
* Conversion of autoconfigury to Autoconf V2Mark Eichin1994-10-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4576 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing continue so that we don't copy both the unprintableTheodore Tso1994-10-262-0/+7
| | | | | | character as well as the quoted version of it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4573 dc483132-0cff-0310-8789-dd5450dbe970
* If KRB4 is defined, define KRB5_KRB4_COMPAT for compat_recv.cTheodore Tso1994-10-242-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4568 dc483132-0cff-0310-8789-dd5450dbe970
* Add ISODE_DEFSTheodore Tso1994-10-151-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4517 dc483132-0cff-0310-8789-dd5450dbe970
* Add widen.h and narrow.h around declaration so that argument types areTheodore Tso1994-10-043-0/+11
| | | | | | widened. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4453 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number placeholder to statically initialized structuresTheodore Tso1994-10-012-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4421 dc483132-0cff-0310-8789-dd5450dbe970
* cache name was not being properly null-terminatedTheodore Tso1994-09-292-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4385 dc483132-0cff-0310-8789-dd5450dbe970
* Return new error codes KRB5_IN_TKT_REALM_MISTCH and KRB5_KDCREP_SKEWTheodore Tso1994-09-293-7/+28
| | | | | | instead of more generic error codes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4378 dc483132-0cff-0310-8789-dd5450dbe970
* Added realm compare functionTheodore Tso1994-09-292-3/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4377 dc483132-0cff-0310-8789-dd5450dbe970
* Applied Cybersafe's changes to do transited realm path checkingTheodore Tso1994-09-224-1/+165
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4328 dc483132-0cff-0310-8789-dd5450dbe970
* Use krb5_rd_req instead of krb5_rd_req_decode, to eliminate some codeTheodore Tso1994-09-152-19/+7
| | | | | | duplication. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4241 dc483132-0cff-0310-8789-dd5450dbe970
* Fix pointer aliasing problem between newkey and authent->subkeyTheodore Tso1994-08-202-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4204 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-1859-342/+57
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* Make krb5_encode_kdc_rep pass in the correct msg_type to the ASN.1Theodore Tso1994-08-172-1/+27
| | | | | | | | encoding routines. Not that value is being used now, but it might be in the future, and we should make sure the high level routines are doing the right thing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4176 dc483132-0cff-0310-8789-dd5450dbe970
* ctype.hMark Eichin1994-08-143-0/+5
| | | | | | stdio.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4147 dc483132-0cff-0310-8789-dd5450dbe970
* Stamp Out Imake in Our Lifetimes..Mark Eichin1994-08-091-147/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4085 dc483132-0cff-0310-8789-dd5450dbe970
* Changed preauthentication names to match those which Cliff and I agreed uponTheodore Tso1994-08-092-46/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4078 dc483132-0cff-0310-8789-dd5450dbe970
* Reduced Makefile.in, using pre/postMark Eichin1994-07-021-19/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3944 dc483132-0cff-0310-8789-dd5450dbe970
* folding in Harry's changesTom Yu1994-06-295-1/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3924 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (in all relevant subdirs): move invokations ofTom Yu1994-06-271-1/+1
| | | | | | | | CONFIG_RULES around so that they preceed anything that even vaguely resembles a compile test. This is so that $CC will get set properly before any compile tests run. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3918 dc483132-0cff-0310-8789-dd5450dbe970
* missed some clean rulesMark Eichin1994-06-231-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3900 dc483132-0cff-0310-8789-dd5450dbe970
* Tue Jun 21 17:46:53 1994 Mark Eichin (eichin at cygnus.com)Mark Eichin1994-06-211-0/+1
| | | | | | | | * Makefile.in (in all subdirs): added CC=@CC@ to nail down the substitution to be sure that configuration matches build. Added CCOPTS to some of them so that it gets nailed in correctly too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3887 dc483132-0cff-0310-8789-dd5450dbe970
* support to allow --with-ccopts=Tom Yu1994-06-212-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3884 dc483132-0cff-0310-8789-dd5450dbe970
* Fri Jun 17 19:54:00 1994 Mark Eichin (eichin at cygnus.com)Mark Eichin1994-06-181-1/+1
| | | | | | | | * aclocal.m4 (MAKE_SUBDIRS): pass CCOPTS, CC in every make * Makefile.in: change CFLAGS = -g ... to CFALGS = $(CCOPTS) ... in all Makefile.in's throughout the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3867 dc483132-0cff-0310-8789-dd5450dbe970
* support to calculate BUILDTOP in makeaclocalsTom Yu1994-06-172-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3861 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed inter-realm handling; from OCSG/Cliff NeumannTheodore Tso1994-06-102-174/+347
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3739 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bugs I introduced into srv_rcache. The rcache name wasn't beingTheodore Tso1994-06-101-6/+13
| | | | | | | formed correctly (not adding rc_ at the beginning) and we weren't trying krb5_rc_recover() before trying krb5_rc_initialize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3736 dc483132-0cff-0310-8789-dd5450dbe970
* Fix type of fetchfrom --- it refers to a keytab name, so it shouldTheodore Tso1994-06-102-2/+2
| | | | | | be a char *, not a void *! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3705 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up memory handling, and improve the randomness of the sequence numberTheodore Tso1994-06-101-30/+20
| | | | | | by encrypting the time and date, instead of all zeros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3703 dc483132-0cff-0310-8789-dd5450dbe970
* autoconf enhancements for kerberosMark Eichin1994-06-092-0/+148
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3690 dc483132-0cff-0310-8789-dd5450dbe970
* using get_realm_domain() now instead of rconv cruftTom Yu1994-06-091-14/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3684 dc483132-0cff-0310-8789-dd5450dbe970
* Don't allow two @ signs in a principal..Theodore Tso1994-06-021-2/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3678 dc483132-0cff-0310-8789-dd5450dbe970
* Switch around client and server so the routine is more understandableTheodore Tso1994-06-021-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3675 dc483132-0cff-0310-8789-dd5450dbe970
* Do appropriate quoting if the server name contains non-ascii charactersTheodore Tso1994-06-021-22/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3674 dc483132-0cff-0310-8789-dd5450dbe970
* Always check the sender and receiver addresses. If the receiver is nullTheodore Tso1994-06-022-40/+47
| | | | | | use the local address. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3673 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_sim was using the wrong component of the server name to generateTheodore Tso1994-06-021-8/+13
| | | | | | the replay cache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3672 dc483132-0cff-0310-8789-dd5450dbe970