summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * configure.in: add caching to perror check (from epeisach).Mark Eichin1994-11-182-2/+15
| | | | | | [from 0954] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4686 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use KRB5_POSIX_LOCKS, AC_EGREP_HEADER. (fromMark Eichin1994-11-183-13/+28
| | | | | | | | | | | | | | epeisach). [from 0961] (ET_HEADERS): new variable for the names of the headers that lib/krb5/error_tables builds and installs here (so that they get pushed out to the installed include directory.) (BUILT_HEADERS): locally built headers, for all, install, and clean. (clean): delete built and et headers. [inspired by 0937, but done more thoroughly.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4685 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): use $(INSTALL_DATA) instead of cp. ElideMark Eichin1994-11-183-2/+14
| | | | | | | | dependency in install rule so $(srcdir) works. * configure.in: use AC_PROG_INSTALL. [part from 0937, part by inspection] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4684 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use new macros KRB5_UTPID, KRB5_UTTYPE, andMark Eichin1994-11-182-15/+8
| | | | | | | KRB5_UTHOST (from epeisach). [from 0959] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4683 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use WITH_KRB4. (from epeisach)Mark Eichin1994-11-182-0/+7
| | | | | | [from 0955] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4682 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use WITH_KRB4, cache cc_t in termio check, cacheMark Eichin1994-11-183-6/+37
| | | | | | | | | | | | SETPGRP_TWOARG check. * Makefile.in (K4LIB): use @K4LIB@. (telnetd): use $(K4LIB). (from epeisach) [from 0955] * Makefile.in (install): install telnetd manpage (from Ted Lemon <mellon@ipd.wellsfargo.com>). [from 0937] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4681 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (LIBS): use WITH_KRB4, CHECK_SIGNALS, and cacheMark Eichin1994-11-183-9/+30
| | | | | | | | | | | | cc_t in termio.h check. (from epeisach) * Makefile.in (K4LIB): set to @K4LIB@ instead of explicit setting. (telnet): link with $(K4LIB). (from epeisach). [from 0955] * Makefile.in (install): install telnet man page. (from Ted Lemon <mellon@ipd.wellsfargo.com>). [from 0937] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4680 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: add WITH_CCOPTS so that subdirs workMark Eichin1994-11-182-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4679 dc483132-0cff-0310-8789-dd5450dbe970
* * pop_send.c (pop_send): Only update last_msg if executing a RETR.Mark Eichin1994-11-183-7/+15
| | | | | | | | | From John Brezak <brezak@apollo.hp.com>. [from 0927] * configure.in: use KRB5_POSIX_LOCKS (from epeisach). [from 0961] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4678 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: use new macros KRB5_UTPID, KRB5_UTTYPE, andMark Eichin1994-11-183-15/+20
| | | | | | | | | | | | KRB5_UTHOST (from epeisach). [from 0959] * Makefile.in (install): add install rules for krlogind.M, krshd.M, rlogin.M, rcp.M, rsh.M. (Section numbers are explicit, and this should probably be changed.) (from Ted Lemon <mellon@ipd.wellsfargo.com> [from 0937] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4677 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CopySrcHeader): add clean rule (from epeisach)Mark Eichin1994-11-182-34/+188
| | | | | | | | | | | | | | | | | | | | | | | | | [from 0928] * aclocal.m4 (CONFIG_RULES): handle pre.in, post.in, and pass the rest of the arguments that autoconf needs. (from epeisach.) [from 0952] * aclocal.m4 (ET_RULES): don't define SRCTOP, pre.in already takes care of it. (from epeisach.) [from 0953] (DECLARE_SYS_ERRLIST, CHECK_SIGPROCMASK, CHECK_FCNTL, CHECK_WAIT_TYPE, CHECK_SIGNALS, CHECK_SETJMP, HAVE_YYLINENO): add caching. [from 0956] (WITH_KRB5ROOT, WITH_KRB4, WITH_CC, WITH_CCOPTS, WITH_CPPOPTS): use AC_MSG_RESULT instead of echo. [from 0958] (KRB5_UTPID, KRB5_UTTYPE, KRB5_UTHOST, KRB5_UTEXT): new functions for appl/bsd and kpasswd common utmp code. [from 0959] (KRB5_POSIX_LOCKS): new functions for include/krb5 and appl/popper common code. [from 0961] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4676 dc483132-0cff-0310-8789-dd5450dbe970
* fix typoMark Eichin1994-11-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4675 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
* * kprop.c: Use NPROTOTYPE for declarations.Mark Eichin1994-11-183-71/+76
| | | | | | | | | | | | (close_database): New function. Cleans up locks properly. (main): call it. (open_database): Use krb5_lock_file instead of POSIX_FILE_LOCKS. * kpropd.c (doit): Use krb5_lock_file. (changes from jtkohl@mit.edu.) from [txn 0497] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4673 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
* Set the keyblock magic number and encryption typeTheodore Tso1994-11-172-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4670 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number fieldTheodore Tso1994-11-172-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4669 dc483132-0cff-0310-8789-dd5450dbe970