summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Workaround more Ultrix sh brain damageTheodore Tso1994-12-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4739 dc483132-0cff-0310-8789-dd5450dbe970
* Work around yet another really horrible Ultrix sh bug. The values ofTheodore Tso1994-12-202-1/+12
| | | | | | | | variables read in using the ${var='bar'} construction are displayed using the "set" command with the high bit set. (Someone should just haul off the Ultrix sh and have it shot). Fixed using tr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4738 dc483132-0cff-0310-8789-dd5450dbe970
* Use syslog instead of krb_logTheodore Tso1994-12-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4737 dc483132-0cff-0310-8789-dd5450dbe970
* Do the right thing if we are compiling without V4 support. (TheTheodore Tso1994-12-194-3/+27
| | | | | | dump_v4db command is disabled.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4736 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
* krcp.c, krlogin.c, krlogind.c (v5_des_write): Fix byte swapping codeTheodore Tso1994-12-194-20/+36
| | | | | | | | | (Missing shift instructions). krlogind.c: Fixed byte swapping code so that V4 des compatibility works on 64 bit architectures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4734 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
* do_tgs_req.c (prepare_error_tgs): Don't free the passed in ticket; itTheodore Tso1994-12-136-20/+43
| | | | | | | | | | | | | | | | | | | | will be freed as part of other structures. do_tgs_req.c (process_tgs_req): Set the encryption type in the reply structure, and set the eblock type accordingly. do_as_req.c (process_as_req): Set the encryption type in the reply_encpart structure. kdc_util.c (validate_as_request): policy.c (against_local_policy_as): Move requirement that an AS request must include the addresses field to the local policy routine. (Not required by RFC). main.c (setup_com_err): Initialize the kdc5 error table (the kdb5 error table is already initialized) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4730 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
* externs.h: If USE_TERMIO is defined and SYSV_TERMIO isn't, then alwaysTheodore Tso1994-12-133-2/+11
| | | | | | | | #define termio to termios. configure: Set K4LIBS correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4728 dc483132-0cff-0310-8789-dd5450dbe970
* gmtime expects a pointer to a time_t, not a long. On most systemsTheodore Tso1994-12-082-1/+7
| | | | | | these are the same, on others.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4727 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
* aclocal.m4, configure.in: Add appropriate help text for the --with-*Theodore Tso1994-11-304-9/+37
| | | | | | | | | and --enable-* options. ISODE_INCLUDES should define KRB5_USE_ISODE if necessary. acconfig.h: Add defines for KRB5_ATHENA_COMPAT and KRB5_KRB4_COMPAT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4723 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
* Add appropriate help text for --with-krb4 optionTheodore Tso1994-11-302-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4721 dc483132-0cff-0310-8789-dd5450dbe970
* osconf.h, config.h: Remove remnants of unifdef support forTheodore Tso1994-11-305-193/+24
| | | | | | | | | building osconf.h and config.h, left over from the imake build system. osconf.h: Add #ifdef for Athena configuration. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4720 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add support for --enable-athena and --with-krb4Theodore Tso1994-11-303-4/+19
| | | | | | | | | (to set KRB5_KRB4_COMPAT). Makefile.in: Remove remnants of unifdef support for building osconf.h and config.h, left over from the imake build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4719 dc483132-0cff-0310-8789-dd5450dbe970
* Move get_for_creds to krb5_get_for_creds in the Kerberos libraryTheodore Tso1994-11-302-202/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4718 dc483132-0cff-0310-8789-dd5450dbe970
* Move get_for_creds to krb5_get_for_creds in the krb5 libraryTheodore Tso1994-11-302-199/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4717 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
* Use the list of encryption types passed as part of the KDC request toTheodore Tso1994-11-213-17/+77
| | | | | | | | | | | determine which encryption to use for encrypting the ticket. The encryption must be one that is supported by the KDC, as well as being one which is marked as being supported by the server of the ticket. In a AS request, also use this encryption for encrypting the KDC response. In a TGS request, use the encryption type of the TGT authenticator to determine how to encrypt the KDC response. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4712 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-217-28/+55
| | | | | | | | | | | | | 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
* fixed bad prototype in changesMark Eichin1994-11-211-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4709 dc483132-0cff-0310-8789-dd5450dbe970
* library.tex (internalfunc): Define \internalfunc, which prints aTheodore Tso1994-11-213-5/+34
| | | | | | | | | | | | | | disclaimer in front of "internal functions". We should move them somewhere else, but for now, let's start marking those functions which we believe are internal. krb5.tex: Documented changed interfaces to krb5_encode_kdc_rep and krb5_encrypt_tkt_part. Document krb5_encode_kdc_rep, krb5_decode_kdc_rep, krb5_encrypt_tkt_part, krb5_decrypt_tkt_part, and krb5_send_tgs as all internal functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4708 dc483132-0cff-0310-8789-dd5450dbe970
* We don't need autoreconf.local anymore. That functionality has beenTheodore Tso1994-11-212-160/+1
| | | | | | folded into autoconf 2.1! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4707 dc483132-0cff-0310-8789-dd5450dbe970
* complete command suite now in with most functionalityTom Yu1994-11-215-69/+544
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4706 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
* Fix stupid typo..Theodore Tso1994-11-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4704 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers for keyblock structureTheodore Tso1994-11-192-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4703 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
* Initialize magic variable and encryption typeTheodore Tso1994-11-192-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4700 dc483132-0cff-0310-8789-dd5450dbe970
* Add new attribute which defines whether or not a server supports DES/MD5Theodore Tso1994-11-182-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4699 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
* update to autoconf 2.1Mark Eichin1994-11-1816-502/+513
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4696 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CHECK_WAIT_TYPE, CHECK_SIGNALS, CHECK_SETJMP,Mark Eichin1994-11-182-10/+19
| | | | | | | | | | KRB5_UTPID, KRB5_UTTYPE, KRB5_UTHOST, KRB5_UTEXIT): use AC_TRY_COMPILE instead of AC_TRY_LINK. (CHECK_FCNTL): check for 1+O_RDONLY so we aren't fooled into declaring it as a local variable. (DECLARE_SYS_ERRLIST): same thing for 1+sys_nerr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4695 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
* * configure.in: moved WITH_CCOPTSMark Eichin1994-11-182-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4688 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use WITH_CCOPTSMark Eichin1994-11-182-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4687 dc483132-0cff-0310-8789-dd5450dbe970