summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* configure.in:Richard Basch1994-12-271-32/+55
| | | | | | | Combined KRB5_UT* macros into CHECK_UTMP macro, and added more checks. Changed AC_COMPILE_CHECK macros to AC_MSG_CHECKING/AC_TRY_COMPILE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4754 dc483132-0cff-0310-8789-dd5450dbe970
* Combined KRB5_UTPID, KRB5_UTTYPE, and KRB5_UTHOST into CHECK_UTMP macro.Richard Basch1994-12-273-25/+14
| | | | | | Files affected: aclocal.m4, kadmin/kpasswd/configure.in, appl/bsd/configure.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4753 dc483132-0cff-0310-8789-dd5450dbe970
* Removed the hard-coded paths for the BSD rlogin/rcp/rsh programs.Richard Basch1994-12-261-0/+2
| | | | | | Let "configure" find the programs for us... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4752 dc483132-0cff-0310-8789-dd5450dbe970
* Removed the hard-coded paths for the BSD rlogin/rcp/rsh programs.Richard Basch1994-12-266-11/+45
| | | | | | Let "configure" find the programs for us... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4751 dc483132-0cff-0310-8789-dd5450dbe970
* Add a enc_part2 member to the krb5_cred structure which may point to theTheodore Tso1994-12-242-6/+12
| | | | | | unecrypted version, if it's available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4750 dc483132-0cff-0310-8789-dd5450dbe970
* fixes as per OV suggestionsTom Yu1994-12-237-54/+655
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4749 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-226-13/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4746 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typoTheodore Tso1994-12-211-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4745 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 typedefs, declarations for krb5_context and krb5_os_contextTheodore Tso1994-12-205-0/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4741 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
* 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
* 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