summaryrefslogtreecommitdiffstats
path: root/src/admin/edit
Commit message (Collapse)AuthorAgeFilesLines
* Removing programs which are now in the new OV admin systemEzra Peisach1996-08-2415-6232/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8980 dc483132-0cff-0310-8789-dd5450dbe970
* * Linux shared lib fixSam Hartman1996-08-052-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8906 dc483132-0cff-0310-8789-dd5450dbe970
* Declare function as returning voidTheodore Tso1996-07-252-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8820 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-227-75/+80
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to SS_RULESTom Yu1996-06-142-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8362 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-101-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* * util.c (strstr): Replace crusty OS specific ifdef with configureEzra Peisach1996-06-103-2/+10
| | | | | | | | | generated one. * configure.in: Change AC_HAVE_FUNCS to AC_CHECK_FUNCS (newer naming convention). Check for strstr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8282 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove kdb4 library usageEzra Peisach1996-06-083-13/+7
| | | | | | | | | | | * dumpv4.c (handle_one_key): Remove the temporary --with-kdb4 support. The kdb4 library was only used for decrypting the master key. Last July, the kdb4 code was conditionalized and the relevant lines were put into this source tree.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8281 dc483132-0cff-0310-8789-dd5450dbe970
* * ss_wrapper.c (main): Make sci_idx a global. This makes certain CygnusKen Raeburn1996-05-033-1/+33
| | | | | | | | customizations simpler. * dump.c (restore_dump): If header indicates a beta-5 dump, process it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7886 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): Use the matching key_data's kvno;Richard Basch1996-04-112-1/+7
| | | | | | | don't assume that key_data[0]'s kvno is necessarily the matching key_data's kvno. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7792 dc483132-0cff-0310-8789-dd5450dbe970
* V4 srvtab extraction did not do proper principal translationRichard Basch1996-04-112-16/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7788 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): do not test to make sure weRichard Basch1996-03-203-86/+47
| | | | | | | | | | | | fetched a key of enctype 1 (des-cbc-crc), since we may have gotten another des key from the database, which is just as useful in a v4 srvtab * dumpv4.c (dump_v4_iterator): use krb5_524_conv_principal to do the v5 to v4 principal translation, instead of having yet another hard-coded table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7668 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX requires a file be opened read-write for lockingRichard Basch1996-03-061-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7597 dc483132-0cff-0310-8789-dd5450dbe970
* * dumpv4.c:Richard Basch1996-03-062-6/+78
| | | | | | | | | | | | | The V4 master key & schedule was never initialized, so the dump created by dump_v4db was garbage. Read the V4 master key from /.k or prompt for the V4 master key password. If there is no V4-salt key in the database, but there is a DES key, include it in the V4 dump, in case it is merely a random service key for which there is no associated password. Skip over K/M in the V5 database (use the entered V4 master key). Both krbtgt and afs keys often have domain-qualifed instances. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7596 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: new command line option -f stashfile.Mark Eichin1996-03-053-15/+33
| | | | | | | | * kdb5_edit.M: document stashfile option. (also fixed some indentation, diff -w shows no difference.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7593 dc483132-0cff-0310-8789-dd5450dbe970
* now the keys actually *work* when you load an old dump (a real one,Mark Eichin1996-03-052-3/+15
| | | | | | | | | | | not the fake one the test case creates.) * dump.c (process_k5beta_record): since V4 salt type has no data either, only set key_data_ver to 1 for data_type 0 with 0-length salt. Also, don't include alternate key if akey has all-zero type and length in both fields. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7592 dc483132-0cff-0310-8789-dd5450dbe970
* With this change, lddb -old actually *works* on old dumps..Mark Eichin1996-02-252-1/+46
| | | | | | | | * dump.c (process_k5beta_record): encrypted keys used to have 4 byte lengths in MSB order, need to convert to 2 byte LSB order lengths before storing. Handle primary key and alternate key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7534 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (kdb5_edit_Init): set manual_mkey for testing with -PMark Eichin1996-02-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7504 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (enter_master_key, set_dbname_help): If master keyEzra Peisach1996-02-142-11/+52
| | | | | | enctype is unknown, set to DEFAULT_KDC_ENCTYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7478 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): krb5_dbekd_decrypt_key_dataEzra Peisach1996-02-132-2/+7
| | | | | | | | | takes krb5_key_data *, not **. Prototype warnings realy do mean potential errors. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7476 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (load_db): dbrenerr_fmt prints "from" first, so pass itMark Eichin1996-01-302-1/+6
| | | | | | to fprintf correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7417 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (process_k5_record): t2..t9 is only 8 vars, not 9Mark Eichin1996-01-282-1/+5
| | | | | | make check is useful, gang... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7412 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed extraction of keytabs to extract all keysSam Hartman1996-01-262-6/+38
| | | | | | | not just the first one. Fixed v4 extraction to find the v4 key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7387 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove spurious @DEFS@Tom Yu1996-01-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7376 dc483132-0cff-0310-8789-dd5450dbe970
* Simplified to simply require the use of WITH_ANAME or USE_KDB5_LIBRARYRichard Basch1996-01-222-31/+2
| | | | | | to specify the need for dbm inclusion/testing/compilation flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7350 dc483132-0cff-0310-8789-dd5450dbe970
* Set the enctype to ENCTYPE_UNKNOWN when the enctype should be determined fromRichard Basch1996-01-111-2/+2
| | | | | | the stash file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7306 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-12-135-15/+13
| | | | | | Remove mkvno from krb5_db_entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7215 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: Use the master key enctype from the stash file if noneRichard Basch1995-12-121-11/+18
| | | | | | is specified (set the keyblock enctype to NULL). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7197 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.M: Document that modent existsEzra Peisach1995-12-103-0/+30
| | | | | | * kdb5_edit.c (modent): Add usage as suggested by jhawk@mit.edu. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7188 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c : Remove krb5_enctype from krb5_string_to_key() argsChris Provenzano1995-11-092-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7077 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-032-6/+3
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* When showing a principal with the "show" command, iterate through theRichard Basch1995-10-301-8/+27
| | | | | | keys, displaying the version number and type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7004 dc483132-0cff-0310-8789-dd5450dbe970
* Fix off by one in malloc for reading in nameEzra Peisach1995-10-272-1/+5
| | | | | | | Detected only under Linux, found with purify, except when file compiled -g with suncc.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7001 dc483132-0cff-0310-8789-dd5450dbe970
* Rather than displaying the master key version twice, display the actualRichard Basch1995-10-241-1/+1
| | | | | | | key version for the "Key version" field. (It only displays the version for the first key in the database.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6990 dc483132-0cff-0310-8789-dd5450dbe970
* Read the V4 Kerberos master key from /.k. Only prompt the user for theRichard Basch1995-10-241-2/+17
| | | | | | | V4 master key if the command-line option so indicates, or the key cannot be read from /.k. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6989 dc483132-0cff-0310-8789-dd5450dbe970
* extract_v4_srvtab: Version number is only one byte long (warlord)Ezra Peisach1995-10-092-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6950 dc483132-0cff-0310-8789-dd5450dbe970
* Move declaration of std_ks_tuple from kdb5_edit.h to cpw.c (extern part)Ezra Peisach1995-10-053-3/+9
| | | | | | as not all sources include adm.h for the necessary structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6926 dc483132-0cff-0310-8789-dd5450dbe970
* Use the kdc.conf file to determine the default list of keysalt tuplesTheodore Tso1995-10-044-18/+29
| | | | | | | to be used. This is stored in std_ks_tuple, and is used by cpw.c for random keys and when a list of keysalts is not specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6925 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_edit.c (show_principal): Show key version and last password changeEzra Peisach1995-09-183-3/+11
| | | | | | | cpw.c: Fix typo in below change in which list was terminated after third entry. (extra } removed) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6807 dc483132-0cff-0310-8789-dd5450dbe970
* Add DES_CBC_MD5 and DES_CBC_CRC with the V4 salt as default key/saltTheodore Tso1995-09-152-2/+16
| | | | | | | | tuples to be added. (Once proven's DES_* folding code is implemented, we can shorten this list.) Eventually, this list should be read in from kdc.conf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6793 dc483132-0cff-0310-8789-dd5450dbe970
* If V4 compatibility is not enabled, provide a dummy routine forEzra Peisach1995-09-082-1/+16
| | | | | | loading a v4 database. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6741 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-09-066-42/+46
| | | | | | s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6698 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : Remove krb5_enctypeChris Provenzano1995-09-066-53/+47
| | | | | | references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6662 dc483132-0cff-0310-8789-dd5450dbe970
* Add v4 dump load logic from kdb5_convertPaul Park1995-08-255-1/+903
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6592 dc483132-0cff-0310-8789-dd5450dbe970
* Remove duplicated logicPaul Park1995-08-251-50/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6591 dc483132-0cff-0310-8789-dd5450dbe970
* Update file listTheodore Tso1995-08-242-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6588 dc483132-0cff-0310-8789-dd5450dbe970
* Make new dump format text-based. Also add logic to read/write old formatPaul Park1995-08-212-250/+1593
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6557 dc483132-0cff-0310-8789-dd5450dbe970
* Add description of -s and -R. Update description of -e and -kPaul Park1995-08-211-9/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6556 dc483132-0cff-0310-8789-dd5450dbe970
* Fix script handlingPaul Park1995-08-182-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6549 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for -s scriptfile and fix gcc -Wall complaintsPaul Park1995-08-155-95/+176
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6521 dc483132-0cff-0310-8789-dd5450dbe970