summaryrefslogtreecommitdiffstats
path: root/src/admin/edit/dumpv4.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing programs which are now in the new OV admin systemEzra Peisach1996-08-241-400/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8980 dc483132-0cff-0310-8789-dd5450dbe970
* Declare function as returning voidTheodore Tso1996-07-251-1/+1
| | | | 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-221-4/+6
| | | | | | | | | 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 kdb4 library usageEzra Peisach1996-06-081-12/+0
| | | | | | | | | | | * 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
* * kdb5_edit.c (extract_v4_srvtab): do not test to make sure weRichard Basch1996-03-201-79/+36
| | | | | | | | | | | | 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
* * dumpv4.c:Richard Basch1996-03-061-6/+63
| | | | | | | | | | | | | 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
* * dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-12-131-1/+1
| | | | | | Remove mkvno from krb5_db_entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7215 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-09-061-2/+2
| | | | | | 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-061-1/+33
| | | | | | references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6662 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
* cpw.c : New change password code for kdb5_edit.Chris Provenzano1995-08-031-73/+85
| | | | | | dumpv4.c : Get it to compile with new kdb format. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6398 dc483132-0cff-0310-8789-dd5450dbe970
* Add KDC profile and stash file supportPaul Park1995-07-171-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6304 dc483132-0cff-0310-8789-dd5450dbe970
* Add ability to get rid of -lkdb4 referencesPaul Park1995-07-121-0/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6285 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-091-3/+3
| | | | | | | | | now handled by CONFIG_RULES. dumpv4.c: Change name of controlling #ifdef to be KRB5_KRB4_COMPAT instead of KRB4. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6003 dc483132-0cff-0310-8789-dd5450dbe970
* Include k5-int.h before krb.h so that PROTOTYPE is not redefinedEzra Peisach1995-05-211-2/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5832 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> and <com_err.h> includesJohn Gilmore1995-02-281-12/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5028 dc483132-0cff-0310-8789-dd5450dbe970
* Add context changes to dumpv4.cTheodore Tso1995-01-191-15/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4826 dc483132-0cff-0310-8789-dd5450dbe970
* Do the right thing if we are compiling without V4 support. (TheTheodore Tso1994-12-191-0/+11
| | | | | | dump_v4db command is disabled.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4736 dc483132-0cff-0310-8789-dd5450dbe970
* gmtime expects a pointer to a time_t, not a long. On most systemsTheodore Tso1994-12-081-1/+1
| | | | | | these are the same, on others.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4727 dc483132-0cff-0310-8789-dd5450dbe970
* * dumpv4.c: new file. New command dump_v4db which creates a v4Mark Eichin1994-11-161-0/+366
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