summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* gss_display_name() should return a name type OID, not a mechanism OIDTheodore Tso1995-01-102-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4799 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in:Theodore Tso1994-12-225-1/+130
| | | | | | | | | strcasecmp.c: Add strcasecmp replacement if necessary. daemon.c: memmove.c: Add #include for <sys/types.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4748 dc483132-0cff-0310-8789-dd5450dbe970
* Add test for uid_tTheodore Tso1994-12-222-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4747 dc483132-0cff-0310-8789-dd5450dbe970
* Change the type of krb5_context to include the pointerTheodore Tso1994-12-222-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4746 dc483132-0cff-0310-8789-dd5450dbe970
* New function which support krb5_init_os_context and krb5_free_os_contextTheodore Tso1994-12-201-0/+65
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4744 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for krb5_init_os_context and krb5_free_os_contextTheodore Tso1994-12-202-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4743 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
* Add new magic numbers for krb5_context and krb5_os_contextTheodore Tso1994-12-202-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4740 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed minor bug where the length of the returned domain was calculatedTheodore Tso1994-12-192-1/+6
| | | | | | incorrectly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4735 dc483132-0cff-0310-8789-dd5450dbe970
* If a null addresses is passed in to krb5_scc_store_addrs, don't core dumpTheodore Tso1994-12-132-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4733 dc483132-0cff-0310-8789-dd5450dbe970
* If a null addresses is passed in to krb5_fcc_store_addrs, don't core dumpTheodore Tso1994-12-132-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4732 dc483132-0cff-0310-8789-dd5450dbe970
* Add check for HAS_SETSID test for daemon.cTheodore Tso1994-12-132-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4731 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
* Fix obvious typoTheodore Tso1994-11-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4705 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number to keyblock structureTheodore Tso1994-11-192-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4702 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers to keyblock structureTheodore Tso1994-11-192-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4701 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers for keytab, principal, and keyblockTheodore Tso1994-11-182-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4698 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to return correct error code, instead of always returningTheodore Tso1994-11-182-1/+6
| | | | | | KRB5_CC_NOMEM. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4697 dc483132-0cff-0310-8789-dd5450dbe970
* Add new error code -- KV5M_KEYTAB_ENTRYTheodore Tso1994-11-182-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4694 dc483132-0cff-0310-8789-dd5450dbe970
* All files:Theodore Tso1994-11-189-208/+268
| | | | | | | | | | | | | | | Changes to implement SCC format version #3, which is architecture independent, and includes the key encryption type information. scc_gennew.c (krb5_scc_generate_new): Generate new ccaches using whatever version is marked as the default. scc_read.c (krb5_scc_read_keyblock): Insert keyblock magic number and initialize etype value. Also add magic numbers for the krb5_principal, krb5_data, krb5_address, and krb5_authdata structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4693 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unnecessary variableTheodore Tso1994-11-181-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4692 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean): remove $(BOGUS)Mark Eichin1994-11-182-2/+7
| | | | | | | (HDRS): use ASN1_HDRS, not ASN1_SRCS. (from epeisach) [from 0928] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4691 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: move WITH_CCOPTS, WITH_KRB5ROOTMark Eichin1994-11-182-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4690 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: move WITH_CCOPTSMark Eichin1994-11-182-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4689 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c (krb5_dbm_db_unlock): Use krb5_lock_file.Mark Eichin1994-11-182-58/+30
| | | | | | | | (krb5_dbm_db_lock): Same. (Changes from jtkohl@mit.edu.) the rest of [txn 497]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4674 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_decode_k.c (asn1_decode_principal_name,Theodore Tso1994-11-172-0/+33
| | | | | | | | | | | | | | | | | asn1_decode_checksum, asn1_decode_encrypted_data, asn1_decode_transited_encoding, asn1_decode_enc_kdc_rep_part, asn1_decode_ticket, asn1_decode_kdc_req, asn1_decode_kdc_req_body, asn1_decode_safe_body, asn1_decode_host_address, asn1_decode_kdc_rep, asn1_decode_authdata_elt, asn1_decode_krb_cred_info, asn1_decode_pa_data, asn1_decode_last_req_entry): Initialize magic number field in the relevant structures. asn1_decode_k.c (asn1_decode_encryption_key): Add appropriate magic number and encryption type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4672 dc483132-0cff-0310-8789-dd5450dbe970
* Set the keyblock's magic number and ecryption type information appropriatelyTheodore Tso1994-11-172-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4671 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to implement FCC format version #3, which is architectureTheodore Tso1994-11-179-171/+235
| | | | | | independent, and includes the key encryption type information. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4668 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
* Add new error code --- KRB5_CC_WRITE_ERRTheodore Tso1994-11-172-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4665 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
* Add support for krb5_address table; rename KV5M_AUTH_DATA to followTheodore Tso1994-11-122-1/+7
| | | | | | the convention properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4655 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: fix some typos for kv5m_err.etTom Yu1994-11-112-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4654 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
* Set the keyblock's magic number and encryption type information appropriatelyTheodore Tso1994-11-092-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4650 dc483132-0cff-0310-8789-dd5450dbe970
* Change internal calling signature to pass in the encryption block, soTheodore Tso1994-11-084-5/+22
| | | | | | | that the encryption type in the keyblock structure can be properly initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4649 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
* Missing comma on all of the error_code lines. (Oops!)Theodore Tso1994-11-051-34/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4629 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: stop building f_pcbc.c, since it belongs inMark Eichin1994-11-032-2/+7
| | | | | | libdes425, but leave it here for reference. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4627 dc483132-0cff-0310-8789-dd5450dbe970
* * pcbc_encrypt.c: moved from f_pcbc.c in lib/crypto/des, andMark Eichin1994-11-033-241/+239
| | | | | | | | | | | inlined proper des.h to avoid confusion in names. * Makefile.in: add -I to CFLAGS to get f_tables.h from lib/crypto/des as well. this shouldn't have been in lib/crypto/des in the first place, and the old version here was nonportable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4626 dc483132-0cff-0310-8789-dd5450dbe970
* Add the kv5m error tableTheodore Tso1994-11-035-3/+74
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4623 dc483132-0cff-0310-8789-dd5450dbe970
* Add WITH_CPPOPTS since we're not using CONFIG_RULES (yet)Theodore Tso1994-11-032-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4622 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (libkrb5.a): done needs a trailing semicolon if itMark Eichin1994-11-022-2/+7
| | | | | | isn't followed by a newline, as does fi, with certain shells. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4613 dc483132-0cff-0310-8789-dd5450dbe970