summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* 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
* * krlogin.c:Richard Basch1994-11-162-0/+12
| | | | | | | If the system includes a SA_RESTART signal flag, use it. We want to resume the read() system call after a SIGURG comes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4664 dc483132-0cff-0310-8789-dd5450dbe970
* * dumpv4.c: new file. New command dump_v4db which creates a v4Mark Eichin1994-11-165-3/+389
| | | | | | | | | | | | | | | | | | slave dump out of a v5 database, leaving out any keys which aren't using v4 salt, and any keys that aren't for the current realm. Reencrypts using v4 master key, synthesizes arbitrary master key version number. * configure.in: use WITH_KRB4 for dump support. * kdb5_ed_ct.ct: add new dump_v4 command. * Makefile.in: link in dumpv4. I've successfully used this to convert a full database and compared it with the original by hand -- the only differences were 1) leading zeros on the new database 2) k.m date didn't match 3) mkvno's didn't match (but were consistent) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4663 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_convert.c (enter_in_v5_db): use the correct instance forMark Eichin1994-11-162-1/+6
| | | | | | | | | the mod_name field. This makes the modifier field actually have a valid name in it, which makes it (1) useful (2) easier to turn back into a v4 field... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4662 dc483132-0cff-0310-8789-dd5450dbe970
* Move mk_cred and rd_cred to libkrb.aTheodore Tso1994-11-142-334/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4660 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